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: 57,131

  1. Diplomi_ssma dice:

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

  2. situs slot dice:

    Amazing things here. I’m very happy to peer your post. Thank you so much and I am having a look forward to contact you.
    Will you please drop me a e-mail?

  3. Diplomi_pfPl dice:

    купить диплом в мичуринске [url=rudik-diplom7.ru]rudik-diplom7.ru[/url] .

  4. Diplomi_saki dice:

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

  5. проектная организация для перепланировки квартиры [url=http://proekt-pereplanirovki-kvartiry11.ru]http://proekt-pereplanirovki-kvartiry11.ru[/url] .

  6. dqltyilmx dice:

    Many players in India question whether the Astronaut game legal or illegal in India, as well as how safe it is to play. These concerns arise due to the presence of fraudulent versions and the complex legal landscape surrounding online gaming across different Indian states. Understanding the authenticity and legality of the game is crucial for players to protect their interests and avoid scams. Check In notifies someone when you arrive at a destination. If you’re going for a run after dark, you can start a Check In for the duration of your workout to automatically notify a friend when you’re done. Yes, the game referred to as “the money-winning plane game” is indeed Aviator. The concept revolves around timing your cash-out as the plane flies, aiming for the highest possible multiplier.
    https://jfidinstituteofdesign.com/2025/10/16/gonzos-quest-review-a-journey-through-netents-classic-slot-for-canadian-players/
    5. Where can I play Astronaut Money Game? You can play the game at various online casinos that cater to players in India and offer the game in English. Always read the game’s info panel. It should show payout rules, maximum multiplier, RTP, and any special features like auto bet, stop-loss, or take‑profit. The game doesn’t feature classic bonus rounds, but it offers unique features like bonus codes for extra free bets and a “Take Half” option, providing players with more control, protection, and strategy during gameplay. If you’re looking for a game that’s fun for the older space nerds in your life, The Crew: Quest for Planet Nine is the perfect option. This is a co-operative strategy game where each player is on a team of astronauts traveling through the solar system in search of the mysterious Planet Nine. With cards and tokens, players need to complete 50 different missions on their journey, getting more and more difficult as the game progresses.

  7. best sounding clock radio [url=www.alarm-radio-clocks.com/]www.alarm-radio-clocks.com/[/url] .

  8. culitflnz dice:

    To start receiving emails and promotions hit the link in the email we sent you to confirm your email addressNo email? Check your spam folder In addition to the images of various jewels, making it suitable for a wide range of players. What bonuses can I activate while playing Monopoly Live slot game, Life of Brian. If choosing the Fairy Feature, and Who Wants to Be a Millionaire. In many tournaments like the Masters, as well as slots with classic themes such as Jewels of Atlantis. RTP stands for Return to Player, indicating the percentage of wagered money a slot pays back to players over time. For Astronaut, the RTP is 96%. Yes. Spaceman is mobile friendly. It is available to play via any Android or iOS device. Astronaut don’t have wilds like classic slots have. Rather carries golden shields providing protection that’s still possible for any player to keep the course of climbing the prize ladder with a red crystal. This marks playing conditions with risk-reward strategies for the players.
    https://cmtmfoundations.org/2025/10/16/twin-spin-video-slot-a-british-players-perspective/
    Watch Now This tutorial has a related video course created by the Real Python team. Watch it together with the written tutorial to deepen your understanding: Using Pygame to Build an Asteroids Game in Python We’ll now be adding objects to our game. To begin with, let’s add a decent background and our Spaceship to the game. Reassembly manages to capture the essence of a dangerous but fascinating space frontier by its ambient music, beautiful vector-based graphics, procedurally generated universes, and addictive fleet customization. In the end, it’s a great experience for fans of exploration, ship building, and space-based games! I’ve decided to make the final price of the Space Game Starter Kit $77. I think you’ll find this well worth the money – between the source code and tutorials, it should save you many hours of development on your own game.

  9. Raymondseazy dice:

    tadalafil senza ricetta: tadalafil senza ricetta – comprare farmaci online all’estero

  10. лечение зависимостей в москве [url=http://www.narkologicheskaya-klinika-20.ru]http://www.narkologicheskaya-klinika-20.ru[/url] .

  11. Diplomi_rcSn dice:

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

  12. Raymondseazy dice:

    cialis kaufen ohne rezept: cialis 20mg preis – cialis kaufen

  13. 1win_uz_qfol dice:

    1win yangi domen [url=https://www.1win5509.ru]https://www.1win5509.ru[/url]

  14. Ona Cole dice:

    My brother recommended I might like this web site He was totally right This post actually made my day You cannt imagine just how much time I had spent for this information Thanks

  15. I consulted my friend Dick Ivy,オナホ フィギュアwho undertook to gratify it the very next day,

Responder a Josephthemi Cancelar respuesta