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: 60,410

  1. megafrave dice:

    Мега @^-^@ Альтернативные адреса 2025 — Список всех рабочих ссылок и зеркал Mega.
    Вход через любой браузер или Tor Browser.

    ? Важно: Не скачивайте Tor с подозрительных ресурсов!

    Если Mega не открывается

    Используйте одно из зеркал Mega из списка ниже.
    Удалите кеш веб-обозревателя, обновите соединение через VPN или Tor.
    Выберите другой сервер VPN или подключитесь через Tor.
    Подтвердите, что ваш провайдер не блокирует Onion-адреса.

    Ссылки одобрены официальными источниками Mega.

    Пошаговая установка и доступ к Mega

    Инсталляция Tor Browser
    Откройте ресурс Tor Project.
    Загрузите установочный файл, для вашей операционной системы.
    Настройте Tor Browser, следуя указаниям установщика.

    Запуск Tor Browser
    Запустите Tor после установки.
    Ожидайте соединения к сети Tor (подключение занимает время).

    Вход через рабочий адрес
    Скопируйте актуальную ссылку
    [url=https://www.tatibah.be/]мега даркет[/url]
    |

    Регистрация аккаунта
    На главной странице Mega обнаружьте кнопку “Регистрация”.
    Внесите данные в форму, заполнив поля с логином, паролем и email.
    Используйте сложный пароль и включите двухфакторную аутентификацию для повышения безопасности.

    Авторизация в профиле
    После регистрации войдите в аккаунт, используя регистрационные данные.
    Убедитесь, что вы используете только актуальные ссылки для доступа к Mega.

  2. 1xbet giri? yapam?yorum [url=http://1xbet-giris-6.com]http://1xbet-giris-6.com[/url] .

  3. hgh fragment 176-191 kaufen

    References:

    git.noxxxx.com

  4. 1win_kg_ynma dice:

    1win kg [url=1win5519.ru]1win5519.ru[/url]

  5. топ seo компаний [url=http://reiting-seo-kompaniy.ru/]топ seo компаний[/url] .

  6. bahis siteler 1xbet [url=https://1xbet-giris-4.com/]bahis siteler 1xbet[/url] .

  7. fantastic put up, very informative. I’m wondering why the
    opposite specialists of this sector don’t notice this.
    You should continue your writing. I am sure, you’ve a great readers’ base already!

  8. 1xbet turkiye [url=1xbet-giris-1.com]1xbet-giris-1.com[/url] .

  9. Davidjusty dice:

    Sildenafil-tabletter pris [url=http://mannensapotek.com/#]apotek online utan recept[/url] köp receptfria potensmedel online

  10. birxbet giri? [url=https://1xbet-giris-6.com]https://1xbet-giris-6.com[/url] .

  11. 1win_kg_ccpt dice:

    1win мобильная версия сайта [url=http://1win5518.ru/]1win мобильная версия сайта[/url]

  12. Diplomi_zhEa dice:

    купить диплом в сосновом бору [url=http://rudik-diplom6.ru]http://rudik-diplom6.ru[/url] .

  13. Когда вы или ваш близкий столкнулись с трудностями алкогольной зависимости, медицинская капельница может стать первым шагом к восстановлению. В владимире профессиональные услуги по детоксикации тела предлагают различные клиники для людей с зависимостью от алкоголя. Специалист-нарколог в владимире осуществит консультацию и подберет медикаментозное лечение запоя. Капельницы для снятия похмелья способствуют быстрому возвращению к норме пациента. Процесс восстановления после запоя включает в себя курс реабилитации от алкоголя и поддержку профессионалов. Получите медицинские услуги на сайте vivod-iz-zapoya-vladimir025.ru для получения профессиональной помощи.

  14. 1xbet giri? linki [url=https://1xbet-giris-5.com/]https://1xbet-giris-5.com/[/url] .

  15. Davidjusty dice:

    ordinare Viagra generico in modo sicuro [url=http://mediuomo.com/#]pillole per disfunzione erettile[/url] pillole per disfunzione erettile

  16. git.tbaer.de dice:

    hgh fragment 176 191 kaufen

    References:

    git.tbaer.de

  17. edmxqhtmh dice:

    For Draw-Based Lottery Games Played Online and Sports Betting Games Played Online, Bonus Funds are subject to the applicable Bonus Fund Terms. Pursuant to such terms, a Player may be required and or permitted to use Bonus Funds for the purchase of Draw-Based Lottery Games Played Online and or wager on Sports Betting Games Played Online, as applicable, prior to funding the purchase or wager from Unutilized Funds or, as applicable in the case of Draw-Based Lottery Games Played Online, through Direct Pay. “Pay-to-Play Game Rules” means the terms, conditions, explanations, rules and procedures (for example, how a Prize is won, the value and odds of winning Prizes for an individual Pay-to-Play Game, the Prize tiers within a Pay-to-Play Game) issued by OLG from time to time (in addition to this Agreement) which apply to a particular Pay-to-Play Game and which are designated by OLG as Pay-to-Play Game Rules. Subject to Section 3, the Pay-to-Play Game Rules are incorporated into and form part of this Agreement;
    https://k2consultants.lk/sugar-rush-gamble-is-it-worth-the-risk/
    From checking grammar to summarising complex legal texts, Artificial Intelligence (AI) tools like ChatGPT are increasingly being used to support students and professionals alike. But can they really be trusted when the stakes are high—particularly If you’ve always been looking for a video slot that will put you in a relaxing mood, then NetEnt’s Aloha! Cluster Pays is the game for you. The game will take you away on journey to an exotic island where relaxing and unwinding is the way of life. As you relax, you can as well win some cash prizes more often thanks to the cluster pays system. When it comes to the frequency of winning spins and the sizes of individual spins, I consider Aloha! Cluster Pays to have a low to medium volatility (variance). Although the game can hit quite big, the individual wins generally stay smaller and only get really big thanks to the Aloha’s special features.

  18. Randynuamy dice:

    Viagra generico online Italia: MediUomo – Viagra generico con pagamento sicuro

  19. 1xbet t?rkiye giri? [url=https://www.1xbet-giris-2.com]https://www.1xbet-giris-2.com[/url] .

  20. 1xbet giri? adresi [url=https://1xbet-giris-8.com/]1xbet giri? adresi[/url] .

  21. 1xbet t?rkiye giri? [url=https://www.1xbet-giris-1.com]https://www.1xbet-giris-1.com[/url] .

  22. birxbet giri? [url=https://www.1xbet-giris-5.com]https://www.1xbet-giris-5.com[/url] .

  23. Caren Decamp dice:

    winwithus – Found the community support section very helpful, gives a boost when needed.

  24. рейтинг сео [url=https://reiting-seo-kompaniy.ru/]рейтинг сео[/url] .

  25. anaqtfitx dice:

    Astronaut at 1win online casino has very high volatility. It’s like a rocket flight: either you manage to “jump off” in time and collect a nice jackpot, or the flight ends in an explosion and your bet goes into space. With high volatility, wins are infrequent. But when luck is on the Indian player’s side, the prizes can be impressive. Sam Thomas Davies Understanding the game’s RTP (Return to Player) and odds is fundamental for making informed betting decisions. While Astronaut outcomes are random, knowing how the multiplier probabilities and payout structure work helps you set realistic expectations and choose optimal cashout points. This insight into how the Astronaut game works allows you to balance risk and reward more effectively, rather than relying on guesswork. Member-only story
    http://aracatuba.odontoexcellence.com.br/?p=64720
    A shared communication system like ALOHA requires a method of handling collisions that occur when two or more systems attempt to transmit on the channel at the same time. In the ALOHA system, a node transmits whenever data is available to send. If another node transmits at the same time, a collision occurs, and the frames that were transmitted are lost. However, a node can listen to broadcasts on the medium, even its own, and determine whether the frames were transmitted. best regards. Throughput of Slotted ALOHA October 19, 2025 | Slot Aloha Description: This program simulates the SLOTTED-ALOHA technique for sending packets. Slot Aloha From welcome bonuses to loyalty rewards, players can enjoy extra cash to play with or even free tournament entries, increasing their chances of winning big To ensure a fair and secure gaming environment, reputable online poker sites implement strict security measures and use certified random number generators to guarantee the integrity of the games Online casino poker has become increasingly popular in recent years, providing players with a convenient way to enjoy their favorite card game from the comfort of their own homes Free Slot Machines Game

Responder a Randynuamy Cancelar respuesta