Infraestructura como código

Festival Politraining Industria 4.0

Infraestructura como código

En este nuevo artículo me gustaría explicar que es infraestructura
como código (IAC), pero primero definamos a que nos referimos cuando
hablamos sobre infraestructura.
Cuando hablamos de infraestructura nos referimos en este caso, a un
servidor(vps) , dominios, redes privadas. etc.

Definición

El concepto de infraestructura como código no es más que la forma de
automatización de nuestra infraestructura a través de código .

Puede que tu seas un freelance o trabajes en una compañía, en la que
constantemente se hace deploy de nuevas aplicaciones.
Imagina tener que estar creando un servidor(vps), agregando las llaves
ssh, creando un record A, load balancers, continuar con la instalación y
configuración de nginx ,mysql docker, php, etc. Todo esto cada vez que
tengas que hacer deploy de una nueva aplicación.
Este es un proceso en el que muchas veces se le dedica tiempo
innecesario.

Es por ello que muchas veces, es mejor encontrar o crear una solución para la automatización en este tipo de procesos.

Para poder trabajar o usar infraestructura como código, lo único que
tenemos que hacer es bien, crear nuestro propio script, o bien usar
alguna herramienta de un tercero.

Usualmente cuando trabajamos con infraestructura como código,
independiente de la herramienta que usamos, siempre trabajamos con algún
lenguaje para la descripción de la configuración, pudiendo ser json,
yaml o algún nuevo lenguaje propio del software (domain-specific
language ). dentro del archivo de configuración, es donde definiremos
todo los componentes necesarios para crear nuestra infraestructura,
variando de sintaxis entre los diferentes softwares que podemos usar.

Cabe mencionar que, usualmente este tipo de software nos permite,
configurar a nuestra infraestructura, de una manera muy detallada,
dependiendo del tipo de proveedor que elijamos , por ejemplo, poder
configurar redes privadas, sistema operativo, podemos agregar dominios,
subdominios , agregar nuestra claves ssh, elegir el datacenter etc. Algo
interesante es que, podemos agregar y ejecutar scripts dentro del vps
durante la construcción, esto para poder configurar dentro todo el
software.

Aunque de igual forma, tenemos otro concepto llamado configuración
como código (CaC)
Qué es exactamente el mismo concepto, pero este está orientado a la
configuración del software dentro de la infraestructura(vps), por
ejemplo la instalación y configuración de nginx, docker, ruby etc. Sin
embargo muchas veces los mismos proveedores (IaC) tienen la misma
funcionalidad o su funcionalidad es intercambiable.

Ventajas y desventajas.

Dentro de las ventajas como hemos mencionado es el de elaborar una
plantilla que podemos re-utilizar múltiples veces, eliminando la
necesidad de realizar configuraciones manuales. Esta sería, la principal
y más importante característica de este tipo de software.
Ya que con ello podemos hacer la replicación de la misma configuración,
para diferentes entornos, para testing, QA, producción, desarrollo, etc.

Otra ventaja que podemos encontrar es que usualmente este tipo de
software es del tipo agnóstico lo que quiere decir que no importa, el
proveedor en donde estés configurando nuestra infraestructura, pudiendo
ser digital ocean, amazon web services, azure, e inclusive virtualbox.

Una desventaja que podemos encontrar es quizá el tiempo que le
dedicamos en configurar nuestro archivo de configuración, así mismo, el
tener que modificar el archivo si es que agregamos una nueva tecnología o
configuración a nuestra infraestructura.

Lista de software para IaC y CaC

Debajo vemos una lista con varios de los proveedores de infraestructura y configuración como código más sobresalientes.
Cada uno de ellos comparten cierta similitud, en cuanto a configuración.

  • Terraform
  • Chef
  • Puppet
  • Ansible
  • SaltStack

Conclusión

La automatización es sin duda una de las mejores cosas que podemos
hacer para ahorrar tiempo y muchas veces recursos.
El uso de IaC, dentro de una empresa o de manera independiente trae
muchas ventajas a largo plazo. Este concepto de IaC no es para nada
nuevo, es un concepto de muchos años. De hecho muchos autores. hacen
referencia a que este concepto fue la base de la cual ha surgido toda
esta tendencia del devops.
Espero que este pequeño artículo te haya servido, o te haya incentivado a
investigar más sobre el tema, y tal vez a aprender una nueva
tecnología.

Comments: 59,768

  1. 經絡課程 dice:

    https://je-tal-marketing-900.lon1.digitaloceanspaces.com/research/je-marketing-(78).html
    Make a stunning impression in this floral printed ball robe that includes wrap-around ties that spotlight your waist and handy hidden pockets.

  2. 撥筋證照 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-732/research/je-marketing-(414).html
    Oleg Cassini, solely at David’s Bridal Polyester, spandex
    Back zipper; totally lined Hand wash Imported.

  3. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-713/research/je-marketing-(35).html
    Inspired by daring flowers, a blooming print pops off each inch of this strapless ball robe, from the illusion plunge corset
    bodice to the complete, sweeping skirt.

  4. 按摩課程 dice:

    https://je-tal-marketing-926.lon1.digitaloceanspaces.com/research/je-marketing-(98).html
    This mom of the bride donned an attractive mild
    gray robe with an phantasm neckline brimming
    with lovely beaded detailing.

  5. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-700/research/je-marketing-(332).html
    We’ve rounded up a number of the fairly Mother-of-the-Bride clothes to wear for spring
    weddings.

  6. Diplomi_kcma dice:

    купить диплом техникума с реестром [url=http://frei-diplom3.ru/]купить диплом техникума с реестром[/url] .

  7. 舒壓課程 dice:

    https://jekyll.s3.us-east-005.backblazeb2.com/20251015-2/research/je-marketing-(52).html
    The dresses on this class function attire with components such as beautiful embroidery and floral accents.

  8. https://je-sf-tall-marketing-739.b-cdn.net/research/je-marketing-(57).html
    Shimmering metallic tones are perfect for a fall or winter marriage ceremony.

  9. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-721/research/je-marketing-(77).html
    Look for attire in champagne, navy and even black (yes, it is completely trendy to wear black to a wedding!) for a
    refined colour palette.

  10. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-710/research/je-marketing-(264).html
    Opt for non-creasing, moveable materials similar to
    scuba or lace, teamed with stylish but practical shoes for that added touch of glamour.

  11. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-730/research/je-marketing-(220).html
    Jewel tones are a perfect palette for mothers of the bride and
    grooms year-round.

  12. 撥筋課程 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-728/research/je-marketing-(158).html
    A lovely formal dress with cap sleeves and floral embroidery that trails from the excessive neckline to the floor-grazing hem.

  13. 經絡課程 dice:

    https://je-tal-marketing-909.lon1.digitaloceanspaces.com/research/je-marketing-(425).html
    When first beginning to plan your mother of the bride outfit, look to
    the marriage location itself for inspiration.

  14. Michaelidels dice:

    https://medivertraut.com/# sichere Online-Apotheke Deutschland

  15. https://je-tal-marketing-906.lon1.digitaloceanspaces.com/research/je-marketing-(35).html
    Embroidery artfully placed in vertical lines elongates a lady’s silhouette, making
    mothers look taller, longer, and leaner.

  16. Williamuncob dice:

    licensed online pharmacy UK: Sildenafil 50mg – Brit Meds Uk

  17. https://je-tal-marketing-901.lon1.digitaloceanspaces.com/research/je-marketing-(189).html
    There is not any set do’s and don’ts when it comes to
    color, only to avoid white.

  18. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-729/research/je-marketing-(132).html
    The beaded flowers down one facet add a tactile touch of luxury to the column dress .

  19. 撥筋課程 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-816/research/je-marketing-(159).html
    Avoid flashy shades like bright pink, pink or yellow as the dress could stand out an excessive quantity of.

  20. Diplomi_hnpa dice:

    купить диплом стоматолога [url=http://www.rudik-diplom5.ru]купить диплом стоматолога[/url] .

  21. Williamuncob dice:

    Blue Peak Meds: how generic Viagra works in the body – BluePeakMeds

  22. 推拿師 dice:

    https://je-sf-tall-marketing-736.b-cdn.net/research/je-marketing-(144).html
    Modest meets insanely fashionable on this silky
    Amsale robe that includes a column silhouette and off-the-shoulder neckline.

  23. https://je-tal-marketing-925.lon1.digitaloceanspaces.com/research/je-marketing-(270).html
    Avoid flashy shades like shiny red, pink or yellow as the dress may
    stand out an excessive quantity of.

  24. AnthonyCen dice:

    Brit Meds Uk: Viagra online UK – trusted British pharmacy

  25. https://je-tall-marketing-839.lon1.digitaloceanspaces.com/research/je-marketing-(410).html
    Beach weddings are extra laid-back and casual than other forms of nuptials—and a formal costume would feel misplaced.

  26. https://je-tal-marketing-926.lon1.digitaloceanspaces.com/research/je-marketing-(417).html
    Shop beautiful wedding ceremony dresses for the mother-of-the-bride in normal, plus
    and petite sizes at Adrianna Papell.

  27. https://jekyll.s3.us-east-005.backblazeb2.com/20251013-3/research/je-marketing-(2).html
    Look for cinched-in jackets that won’t solely hide her wobbly
    bits, but in addition help her change her look from day to nighttime.

  28. 撥筋創業 dice:

    https://je-tal-marketing-899.lon1.digitaloceanspaces.com/research/je-marketing-(415).html
    Celebrate their big day in style with our Mother of
    the Bride or Groom outfits.

  29. топ 10 сео продвижение [url=https://www.reiting-kompanii-po-prodvizheniyu-sajtov.ru]топ 10 сео продвижение[/url] .

  30. 舒壓課程 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-700/research/je-marketing-(237).html
    Oleg Cassini, exclusively at David’s Bridal Polyester, spandex Back zipper; absolutely lined Hand wash Imported.

  31. It’s an amazing piece of writing in favor of all
    the online people; they will obtain advantage from it I am sure.

  32. Diplomi_ptSn dice:

    купить диплом московского торгово экономического техникума [url=www.frei-diplom8.ru]купить диплом московского торгово экономического техникума[/url] .

  33. 學按摩 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-737/research/je-marketing-(383).html
    Stylish blue navy gown with floral pattern lace and great silk
    lining, three-quarter sleeve.

  34. продвижение сайтов по россии [url=http://reiting-seo-agentstv.ru/]http://reiting-seo-agentstv.ru/[/url] .

  35. 撥筋課程 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-808/research/je-marketing-(55).html
    For a seaside wedding I would put on one thing a
    bit extra flowy just like the flowery and ruffly dresses above.

  36. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-716/research/je-marketing-(60).html
    You might imagine it’s customary for the mom of the bride to put on an over-sized hat, however that’s simply
    not the case for 2022.

  37. Diplomi_bski dice:

    купить диплом колледжа старого [url=http://frei-diplom9.ru]http://frei-diplom9.ru[/url] .

  38. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-793/research/je-marketing-(206).html
    So, go forward, and let the natural shine of your gown converse quantity for you.

  39. therefore,you can stay and go with us wherever ourill luck takes us.ラブドール えろ

Responder a Diplomi_bski Cancelar respuesta