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: 109,345

  1. CraigWed dice:

    amoxicillin mexico online pharmacy [url=https://unmpharm.xyz/#]safe mexican online pharmacy[/url] real mexican pharmacy USA shipping

  2. JosephDug dice:

    canada rx pharmacy: Nyu Pharm – is canadian pharmacy legit

  3. Diplomi_pbSn dice:

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

  4. JosephDug dice:

    canadian pharmacy reviews: canadian pharmacy world reviews – canadian pharmacy antibiotics

  5. https://fr-world-7.fra1.digitaloceanspaces.com/research/cake-(3255).html
    Opt for a well-cut, flowing sundress in a breathable fabric—and pair with dressy sandals to pull the look collectively (while still
    feeling comfy on the sand!).

  6. I am genuinely delighted to read this blog posts which contains lots of
    valuable facts, thanks for providing such statistics.

  7. https://fr-friends-5.lon1.digitaloceanspaces.com/research/nothing-at-all-(2414).html
    To encourage your mom’s personal decide, we’ve rounded up a group
    of robes that real mothers wore on the massive
    day.

  8. Kennethpem dice:

    Umass India Pharm: online pharmacy india – Umass India Pharm

  9. https://je-tal-marketing-943.lon1.digitaloceanspaces.com/research/je-marketing-(346).html
    Dillards is a great place to examine out if you’re
    looking for one thing higher finish.

  10. Kennethpem dice:

    Unm Pharm: Unm Pharm – mexican pharmaceuticals online

  11. https://fr-tour-2.sfo3.digitaloceanspaces.com/research/star-(884).html
    Spring mother of the bride clothes are going to depend on how scorching
    or cold your springs are.

  12. JosephDug dice:

    pharmacy website india: Umass India Pharm – Umass India Pharm

  13. https://fr-box-3.atl1.digitaloceanspaces.com/research/paris-(1348).html
    Look for cinched-in jackets that will not
    solely hide her wobbly bits, but additionally assist her change her look from day
    to night.

  14. https://fr-tour-1.nyc3.digitaloceanspaces.com/research/star-(189).html
    Another gown with ruching for you as I suppose ruched kinds
    are so flattering.

  15. Hello, i feel that i saw you visited my website so i came
    to return the want?.I’m attempting to to find issues to enhance
    my web site!I suppose its ok to use some of your concepts!!

    Here is my blog post; продвижение сайтов цены оптимизация сайта

  16. Diplomi_ioKn dice:

    аттестат 9 класса купить [url=https://r-diploma6.ru]аттестат 9 класса купить[/url] .

  17. https://fr-korea-6.ams3.digitaloceanspaces.com/research/beauty-(2656).html
    If you’re a Nordstrom regular, you may be pleased to know the beloved retailer has an extensive collection of mother-of-the-bride dresses.

  18. Diplomi_lcSn dice:

    кто нибудь работает медсестрой по купленному диплому [url=www.frei-diplom13.ru]www.frei-diplom13.ru[/url] .

  19. 按摩教學 dice:

    https://je-tall-marketing-852.ams3.digitaloceanspaces.com/research/je-marketing-(411).html
    The neckline of the dress will affect every little
    thing from the form of the costume to which areas of your
    body are highlighted.

  20. https://fr-world-1.nyc3.digitaloceanspaces.com/research/cake-(304).html
    While you don’t wish to appear to be a bridesmaid , it is savvy to tie in your look with the
    texture and colour palette of the wedding.

  21. DelmarerypE dice:

    https://unmpharm.xyz/# mexican online pharmacies prescription drugs

  22. 撥筋證照 dice:

    https://je-tal-marketing-925.lon1.digitaloceanspaces.com/research/je-marketing-(201).html
    This outfit’s intricate corded embroidery and understated black skirt are
    a match made in heaven—just like your daughter and their
    soon-to-be partner.

  23. https://www.chinavisapass.com/news/2025/11/03/boginhall-35-2/
    Dillards is a superb place to check out if you’re looking for one
    thing greater end.

  24. https://fr-morning-7.blr1.digitaloceanspaces.com/research/goodnight-(3314).html
    You can simply cut a touch by marrying your elegant mother of the bride gown in lace cloth with pearl
    jewelry and statement heels.

  25. https://fr-friends-9.ams3.digitaloceanspaces.com/research/nothing-at-all-(4466).html
    As the groom’s mom, you’ll need to let the mom of the bride take the lead during the gown buying course
    of.

  26. Kennethpem dice:

    buying from online mexican pharmacy: Unm Pharm – buying prescription drugs in mexico online

  27. 整復學徒 dice:

    https://fr-size-2.sfo3.digitaloceanspaces.com/research/%EF%B8%8F-small-(537).html
    The site’s subtle robes make for excellent night put on that’ll serve you lengthy after the wedding day.

  28. If some one wants to be updated with most
    up-to-date technologies afterward he must be pay a quick
    visit this website and be up to date all the time.

  29. JosephDug dice:

    Umass India Pharm: Umass India Pharm – Umass India Pharm

  30. 整復師 dice:

    https://classic-blog.udn.com/beb47c3f/184412852
    The mother of the bride’s Oscar de la Renta robe was such a hit, it truly inspired the bridesmaids’ bouquets.

  31. Kennethpem dice:

    is canadian pharmacy legit: Nyu Pharm – canadian pharmacy meds review

  32. 學按摩 dice:

    https://fr-cabinet-5.lon1.digitaloceanspaces.com/research/Stuck-in-paris-(2333).html
    This dress is on the market in sizes 2 – 22 to suit
    a wide range of body styles.

  33. https://fr-korea-7.fra1.digitaloceanspaces.com/research/beauty-(3287).html
    For warm-weather weddings and intimate affairs outside, style your bridal party—and
    most significantly, your mother—to the theme.

  34. Diplomi_gbSn dice:

    купить диплом медсестры [url=www.frei-diplom13.ru/]купить диплом медсестры[/url] .

  35. article dice:

    I’ve been reading about Paybis for a while now, and
    I’m still trying to form a clear opinion about whether it
    truly deserves all the attention it gets, but it’s definitely an interesting name within the cryptocurrency space, especially when it comes to combining crypto markets with fiat
    currencies. From what I understand so far, Paybis presents itself
    as one of the biggest cryptocurrency platforms that also supports traditional fiat money, which is something many exchanges either limit or complicate.

    What initially caught my interest was the way Paybis seems to bridge the
    gap between traditional finance and the crypto world. Many platforms
    focus strictly on crypto-to-crypto trades, but Paybis appears to allow
    users to sell digital currencies using bank transfers. I’m not claiming this process
    is flawless, but it does seem aimed at people just entering crypto rather than only advanced traders.

    Another aspect worth mentioning is the range of cryptocurrencies supported.
    Paybis doesn’t appear to limit itself to the most popular assets.

    Instead, it offers access to multiple altcoins, which might appeal
    to users who are diversifying. That said,
    I still wonder about things like update frequency, so it’s probably
    something potential users should investigate further.

    Security and compliance are also frequently mentioned in relation to Paybis.
    The platform emphasizes regulatory compliance, which could
    be seen as reassuring for some users, though others might find it inconvenient.
    I’m honestly unsure where I stand on that,
    but it does suggest that Paybis is trying to
    operate as a legitimate crypto and fiat marketplace.

    When it comes to fees and exchange rates, opinions seem varied.
    Some sources claim that Paybis is transparent with pricing, while others mention that costs may depend
    on payment methods. This isn’t uncommon in the crypto
    industry, but it does mean users should probably read the details carefully before making decisions.

    Overall, I wouldn’t say Paybis is perfect, but it does appear to
    be a platform that’s worth learning more about.
    For anyone who is trying to understand how crypto and fiat markets interact, spending some time reading more about Paybis could be useful.

    I’m still undecided myself, but it’s complex enough to justify further exploration.

  36. 學按摩 dice:

    https://fr-friends-6.sgp1.digitaloceanspaces.com/research/nothing-at-all-(2667).html
    Everyone is aware of you are the bride, so don’t be concerned
    about your mother carrying white or a full skirt alongside you.

  37. https://portfolio-atcanch.format.com/blog/468038
    Discover the best marriage ceremony guest outfits for men and women for all seasons.

  38. 學按摩 dice:

    https://fr-friends-4.tor1.digitaloceanspaces.com/research/nothing-at-all-(1576).html
    Carrie Crowell had come across the silk costume that her mother, nation singer Rosanne Cash, wore at her 1995 marriage ceremony to Carrie’s stepfather.

  39. olxtoto dice:

    Thanks for your personal marvelous posting! I definitely enjoyed reading it, you may be a great author.I will make certain to bookmark your blog and
    definitely will come back very soon. I want to encourage
    yourself to continue your great posts, have a nice weekend!

Responder a 學按摩 Cancelar respuesta