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: 108,893

  1. 舒壓課程 dice:

    https://classic-blog.udn.com/67d59935/184468612
    Floral prints and delicate colors play nicely with decor that is sure
    to embrace the blooms of the spring and summer time months.

  2. https://je-tal-marketing-927.lon1.digitaloceanspaces.com/research/je-marketing-(449).html
    Here’s a tea-length mother-of-the-bride dress you can simply pull out of your wardrobe time and time once more.

  3. 撥筋證照 dice:

    https://portfolio-rexhyny.format.com/blog/467135
    This gown comes full with slits within the sleeves to keep her cool at an outside wedding
    ceremony this summer.

  4. JosephDug dice:

    top 10 pharmacies in india: Umass India Pharm – indian pharmacy online

  5. Kennethpem dice:

    canadian pharmacy world: legit canadian online pharmacy – cheapest pharmacy canada

  6. 撥筋教學 dice:

    https://fr-korea-4.tor1.digitaloceanspaces.com/research/beauty-(1715).html
    From modest attire to one thing with a bit extra aptitude The Dress Outlet prides itself on having an intensive gallery of Mother of the
    Bride Dresses.

  7. 學按摩 dice:

    https://fr-cabinet-2.syd1.digitaloceanspaces.com/research/Stuck-in-paris-(708).html
    The bride’s mother clearly had the colour palette in thoughts
    when she selected this jade lace dress.

  8. 推拿師 dice:

    https://fr-korea-9.blr1.digitaloceanspaces.com/research/beauty-(4393).html
    Floral prints and gentle colours play nicely with decor that is positive to embrace the blooms
    of the spring and summer season months.

  9. Hello, i think that i saw you visited my website thus i came to “return the
    favor”.I’m attempting to find things to improve my website!I suppose its
    ok to use some of your ideas!!

  10. 整復學徒 dice:

    https://fr-tour-8.sgp1.digitaloceanspaces.com/research/star-(3761).html
    They additionally create an elongating, slimming impact as they draw the attention up and down rather than across.

  11. 推拿師 dice:

    https://fr-accounting-12.sfo3.digitaloceanspaces.com/research/business-world-(628).html
    This mother of the bride wore a white tunic and skirt for a
    boho-chic ensemble.

  12. Diplomi_mvOa dice:

    аттестат 11 класс купить [url=http://r-diploma2.ru/]аттестат 11 класс купить[/url] .

  13. https://je-tall-marketing-868.tor1.digitaloceanspaces.com/research/je-marketing-(290).html
    Stylish blue navy gown with floral sample lace and great silk lining, three-quarter sleeve.

  14. naruto88 dice:

    It’s not my first time to pay a visit this web page, i am
    browsing this website dailly and obtain good data from here every day.

  15. https://fr-cabinet-4.tor1.digitaloceanspaces.com/research/Stuck-in-paris-(1662).html
    Plus, a blouson sleeve and a ruched neckline add to this silhouette’s romantic vibe.

  16. Diplomi_xuMa dice:

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

  17. Diplomi_misl dice:

    купить диплом о высшем образовании в тольятти [url=https://www.r-diploma9.ru]купить диплом о высшем образовании в тольятти[/url] .

  18. https://je-tal-marketing-974.lon1.digitaloceanspaces.com/research/je-marketing-(394).html
    If the wedding is outdoor or on the seaside, then there will more than likely be more leeway depending on the temperature and setting.

  19. CraigWed dice:

    best india pharmacy [url=http://umassindiapharm.com/#]Umass India Pharm[/url] india online pharmacy

  20. Wow that was strange. I just wrote an really long comment but
    after I clicked submit my comment didn’t appear. Grrrr…
    well I’m not writing all that over again. Anyhow, just wanted to say superb blog!

  21. 舒壓課程 dice:

    https://jekyll.s3.us-east-005.backblazeb2.com/20250904-4/research/je-marketing-(95).html
    Here’s one other one of the best mother-of-the-bride dresses you can buy on-line.

  22. https://fr-size-9.blr1.digitaloceanspaces.com/research/%EF%B8%8F-small-(4056).html
    Talk about shade, sample, style, and degree of formality so your
    attire really feel harmonious.

  23. pg toto slot dice:

    Magnificent beat ! I wish to apprentice while
    you amend your website, how can i subscribe for a blog site?
    The account helped me a acceptable deal. I had been a little bit acquainted of this your
    broadcast provided bright clear concept

  24. https://fr-friends-10.nyc3.digitaloceanspaces.com/research/nothing-at-all-(4735).html
    Not sure where to start along with your seek for that picture-perfect mother-of-the-bride dress?

  25. 學按摩 dice:

    https://je-tal-marketing-970.lon1.digitaloceanspaces.com/research/je-marketing-(314).html
    Weddings may be very totally different right now, depending on where you reside.

  26. https://market-research-asia-20251121-2.tor1.digitaloceanspaces.com/research/research-for-asia-study-(896).html
    A matching white choker topped off this mother-of-the-bride’s look, which was also complemented by
    a chic low bun.

  27. 撥筋課程 dice:

    https://fr-friends-3.sfo3.digitaloceanspaces.com/research/nothing-at-all-(1179).html
    The web site’s subtle gowns make for glorious evening
    wear that’ll serve you lengthy after the wedding day.

  28. 經絡課程 dice:

    https://je-tal-marketing-936.lon1.digitaloceanspaces.com/research/je-marketing-(162).html
    Gone are the days when mothers of the bride were expected to put on matronly dresses in washed-out shades of pastels or beige.

  29. https://fr-asia-2.sfo3.digitaloceanspaces.com/research/asia-business-(551).html
    Let the answers to some of our most frequently requested questions guide you in the proper direction.

  30. 整復師 dice:

    https://fr-box-9.blr1.digitaloceanspaces.com/research/paris-(4461).html
    Following these easy tips are certain to make the process go smoothly and effectively.

  31. 經絡課程 dice:

    https://fr-box-3.atl1.digitaloceanspaces.com/research/paris-(1136).html
    As the mother of the bride, your function comes with
    massive obligations.

  32. 推拿師 dice:

    https://je-tal-marketing-936.lon1.digitaloceanspaces.com/research/je-marketing-(428).html
    This glittery lace-knit two-piece features a sleeveless cocktail costume and coordinating longline jacket.

  33. 成人材料 可在各种成人娱乐网站上获取,供娱乐用途。始终选择 可靠的成人网站 以确保安全体验。

    My blog post: edegra sildenafil 100 mg para que sirve

  34. https://fr-size-10.syd1.digitaloceanspaces.com/research/%EF%B8%8F-small-(4986).html
    Always think about the sorts of sleeves and straps you will have on your costume.

  35. https://jekyll.s3.us-east-005.backblazeb2.com/20250904-8/research/je-marketing-(171).html
    The course of of choosing apparel for the mom of the
    groom and mom of the bride could be very comparable.

  36. 撥筋課程 dice:

    https://fr-box-1.nyc3.digitaloceanspaces.com/research/paris-(379).html
    Follow the styling lead and pair yours with silver sandals and a
    berry lip.

  37. https://fr-well-9.blr1.digitaloceanspaces.com/research/%EF%B8%8F-france-(4500).html
    A stylishly simple occasion dress printed with romantic florals,
    good for the mother of the bride.

  38. https://fr-seafood-8.fra1.digitaloceanspaces.com/research/yearbook-(3843).html
    This gown is out there in sizes 2 – 22 to suit a selection of physique types.

  39. https://je-tall-marketing-868.tor1.digitaloceanspaces.com/research/je-marketing-(478).html
    As a mom, watching your son or daughter get married shall be one of the most joyful
    experiences in your life.

  40. 2hKtuQRc6 dice:

    553121 173564Some truly exceptional articles on this internet internet site , regards for contribution. 750184

  41. https://fr-accounting-11.nyc3.digitaloceanspaces.com/research/business-world-(458).html
    This surprisingly reasonably priced mother-of-the-bride gown is perfect for a formal fall or winter
    wedding ceremony.

  42. https://je-tall-marketing-857.lon1.digitaloceanspaces.com/research/je-marketing-(472).html
    Current well-liked developments characteristic lace,
    prints, fashionable empire waistlines and jackets.

Responder a edegra sildenafil 100 mg para que sirve Cancelar respuesta