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,062

  1. 整復學徒 dice:

    https://je-tal-marketing-885.lon1.digitaloceanspaces.com/research/je-marketing-(418).html
    So, go ahead, and let the pure shine of your dress
    communicate volume for you.

  2. 舒壓課程 dice:

    https://je-tall-marketing-829.sgp1.digitaloceanspaces.com/research/je-marketing-(105).html
    The flowy silhouette and flutter sleeves hit the right playful note for spring and summer time celebrations.

  3. 撥筋教學 dice:

    https://je-tal-marketing-897.lon1.digitaloceanspaces.com/research/je-marketing-(22).html
    It’s your accountability to understand
    what she wants from both you and the groom’s mother in phrases of your apparel.

  4. 撥筋創業 dice:

    https://je-tal-marketing-927.lon1.digitaloceanspaces.com/research/je-marketing-(73).html
    From inexpensive and stylish to designer and conventional,
    these are our favourite bow ties for weddings.

  5. 按摩教學 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-713/research/je-marketing-(321).html
    One reviewer mentioned they wore a white jacket over the top however you can additionally select a wrap or bolero.

  6. https://je-tal-marketing-908.lon1.digitaloceanspaces.com/research/je-marketing-(213).html
    The next factor you should contemplate when buying round for attire is the form of
    the dress.

  7. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-715/research/je-marketing-(79).html
    The high-end retailer sells plenty of coveted luxurious brands like Monique Lhuillier,
    THEIA, Jenny Packham, Badgley Mischka and extra.

  8. https://je-tal-marketing-932.lon1.digitaloceanspaces.com/research/je-marketing-(256).html
    You can present a little bit of cleavage, however too
    much can appear a bit inappropriate.

  9. driving cloud which threw the whole scene into a fleeting diorama oflight and shade as they sailed across.オナホ 高級For a moment or two I could seenothing,

  10. https://je-sf-tall-marketing-739.b-cdn.net/research/je-marketing-(376).html
    From neutral off-white numbers to bold, punchy,
    and fashion-forward designs, there’s something here that can suit her
    fancy.

  11. https://je-tal-marketing-922.lon1.digitaloceanspaces.com/research/je-marketing-(287).html
    In common, you’ll do your best to keep away from matching with the bridesmaids
    or the moms of the couple getting married.

  12. Diplomi_ctma dice:

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

  13. 整復學徒 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-701/research/je-marketing-(293).html
    Thus, it is necessary to discuss to the bride to ask about what
    the marriage might be like.

  14. рейтинг фирм seo [url=www.top-10-seo-prodvizhenie.ru]www.top-10-seo-prodvizhenie.ru[/url] .

  15. 中国 えろfor the white hairand moustache were changed to dark iron-grey,the cheeks were fuller,

  16. 按摩學徒 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-741/research/je-marketing-(410).html
    The mother of the bride’s Oscar de la Renta robe was such a hit,
    it really inspired the bridesmaids’ bouquets.

  17. Diplomi_xlpa dice:

    купить диплом в ишиме [url=www.rudik-diplom5.ru]www.rudik-diplom5.ru[/url] .

  18. 按摩課程 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-713/research/je-marketing-(176).html
    With choices in any neckline or silhouette, look like A line, strapless, Taffeta, organza, and lace.

  19. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-748/research/je-marketing-(395).html
    You don’t wish to wear bright pink for instance, if
    the fashion of the day is more natural and muted.

  20. https://je-sf-tall-marketing-727.b-cdn.net/research/je-marketing-(491).html
    It is a day that each mom needs to each look her absolute best and let her child shine the brightest.

  21. https://je-tal-marketing-903.lon1.digitaloceanspaces.com/research/je-marketing-(439).html
    This mother’s gown featured a striped off-the-shoulder neckline that was a beautiful complement to the bride’s own wedding ceremony costume.

  22. Yesterday, while I was at work, my sister stole my iphone
    and tested to see if it can survive a 25 foot drop, just so
    she can be a youtube sensation. My iPad is now broken and she has 83 views.

    I know this is entirely off topic but I had to share it with someone!

  23. https://je-tal-marketing-894.lon1.digitaloceanspaces.com/research/je-marketing-(259).html
    An occasion as particular as your kid’s marriage ceremony
    would not come around every single day.

  24. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-720/research/je-marketing-(2).html
    There are concepts right here on tips on how to wear pants for
    the mom of the bride.

  25. оптимизация и продвижение сайтов москва [url=https://seo-prodvizhenie-reiting-kompanij.ru/]https://seo-prodvizhenie-reiting-kompanij.ru/[/url] .

  26. Diplomi_bsSn dice:

    купить диплом жд техникума [url=frei-diplom8.ru]купить диплом жд техникума[/url] .

  27. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-818/research/je-marketing-(363).html
    This embellishment on this attractive costume adds a contact of magic good for any winter wedding.

  28. рейтинг компаний по продвижению сайтов [url=http://www.reiting-seo-agentstv.ru]http://www.reiting-seo-agentstv.ru[/url] .

  29. Diplomi_fpka dice:

    купить диплом в хабаровске [url=www.rudik-diplom1.ru/]www.rudik-diplom1.ru/[/url] .

  30. 撥筋課程 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-781/research/je-marketing-(249).html
    The beaded metallic tassels on this glimmering gown actually got here into play when this mom took the dance floor.

  31. Diplomi_acki dice:

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

  32. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-737/research/je-marketing-(95).html
    For the mother who likes to look put together
    and trendy, a jumpsuit in slate grey is bound to wow.

  33. 整骨學徒 dice:

    https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-737/research/je-marketing-(362).html
    The mom of the bride attire are obtainable in all different varieties of sleeves.

  34. 撥筋證照 dice:

    https://je-tall-marketing-837.lon1.digitaloceanspaces.com/research/je-marketing-(244).html
    The glossy silk material glides seamlessly over your figure, but an ankle-length skirt, excessive neckline and draped sleeves hold issues modest.

  35. 整復學徒 dice:

    https://jekyll.s3.us-east-005.backblazeb2.com/20251014-7/research/je-marketing-(449).html
    Encourage your mom to have somewhat enjoyable when dressing on your ceremony or rehearsal dinner.

  36. Diplomi_cpkn dice:

    диплом о высшем образовании с занесением в реестр купить [url=http://frei-diplom6.ru]диплом о высшем образовании с занесением в реестр купить[/url] .

  37. https://jekyll.s3.us-east-005.backblazeb2.com/20251013-8/research/je-marketing-(62).html
    The bride’s aunt was just as trendy in a Reem Acra number with lace and sheer ruffles.

Responder a agentstvo poiskovogo prodvijeniya_ydKt Cancelar respuesta