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: 30,311

  1. evostoto dice:

    Why users still make use of to read news papers when in this technological world everything is accessible on net?

  2. Diplomi_yjEt dice:

    купить аттестат школы за 11 [url=https://www.arus-diplom25.ru]купить аттестат школы за 11[/url] .

  3. Prokarniz dice:

    Преобразите ваше пространство с помощью [url=https://pult-shtory.ru/]рулонных штор с электроприводом, которые идеально сочетают стиль и современность. [/url]
    Рулонные шторы с дистанционным управлением становятся все более популярными в современных интерьерах. Данные изделия соединяют в себе удобство и эстетичность, что делает их идеальным выбором для различных помещений.

    Вы можете контролировать рулонные шторы либо с помощью пульта, либо через мобильное приложение. Таким образом, вы можете быстро изменять уровень освещенности и создавать комфортную обстановку в своем жилище.

    Также рулонные шторы доступны в различных стилях и цветовых решениях. Таким образом, вы сможете выбрать именно тот вариант, который идеально впишется в ваш интерьер.

    Не стоит забывать, что дистанционно управляемые рулонные шторы очень удобны в использовании. Их просто поддерживать в чистоте, и они не требуют сложного ухода, что идеально подходит для занятых людей.

  4. that thelegislative should be always in but absolutely necessary that theexecutive power should,コスプレ えろbecause there is not always need of new laws tobe made,

  5. Kennethhaima dice:

    BorderMeds Express [url=https://bordermedsexpress.com/#]BorderMeds Express[/url] BorderMeds Express

  6. I love reading a post that will make men and women think.

    Also, many thanks for permitting me to comment!

  7. I have been surfing online more than 3 hours today,
    yet I never found any interesting article like yours.
    It is pretty worth enough for me. In my view, if all webmasters and bloggers made
    good content as you did, the net will be a lot more useful than ever before.

  8. PatrickHoids dice:

    https://bharatmedsdirect.shop/# buy prescription drugs from india

  9. “Is it possible that you can up to the present have received noinformation? ?asked Pyotr Petrovitch,エロ 下着somewhat disconcerted.

  10. ClaudeSmevy dice:

    Найти надежные грузоперевозки важно для бизнеса и частных перевозок. В этой статье — практические советы, проверенные методы и критерии выбора.

    Определите требования к перевозке
    Сначала уточните параметры груза: вес, габариты, ценность, требуемые сроки и условия (температура, хрупкость). Чем точнее описание, тем проще выбрать логистического партнера.

    Поиск исполнителей
    Используйте несколько каналов:
    – Поиск в интернете и на профильных площадках маркетплейсах.
    – Рекомендации от коллег и партнеров.
    – Профессиональные форумы и сообщества в социальных сетях.
    Сравните предложения по цене, срокам и отзывам.

    Оцените репутацию и документы
    Проверьте у перевозчика:
    – Лицензии и разрешения.
    – Страхование ответственности.
    – Отзывы клиентов и портфолио задач похожего масштаба.
    Запросите контактные данные предыдущих клиентов для сверки отзывов.

    Транспорт и оборудование
    Уточните, какой транспорт будет задействован: фуры, тенты, рефрижераторы, автобусы. Проверьте состояние техники, наличие ремней, стяжек, погрузочного оборудования. Для специальных грузов важны сертификаты и опыт работы с аналогичными грузами.

    Условия доставки и тарифы
    Разберитесь в структуре тарифа: базовый рейс, доплаты за погрузку/разгрузку, ночные часы, ожидание и мелкие сборы. Проясните ответственность за повреждения и форс-мажорные обстоятельства. Сравнивайте не только цену, но и конечную стоимость с учетом всех платежей.

    Договор и гарантия
    Заключайте письменный договор, где прописаны сроки, маршрут, условия перевозки, ответственность сторон и порядок урегулирования споров. Требуйте товарно-транспортные документы и акты приема-передачи [url=https://pro-dacha.com/2025/08/17/kak-vybrat-nadezhnuyu-kompaniyu-dlya-gruzoperevozok-v-minske-podrobnoe-rukovodstvo-20250817.html]https://pro-dacha.com/2025/08/17/kak-vybrat-nadezhnuyu-kompaniyu-dlya-gruzoperevozok-v-minske-podrobnoe-rukovodstvo-20250817.html[/url]

    Контроль и коммуникация
    Наладьте систему отслеживания: GPS-трекеры, регулярные отчеты от водителя или диспетчера. Оперативная связь снижает риски и помогает быстрее реагировать на изменения.

    Советы по снижению рисков
    – Делайте предварительные тестовые перевозки.
    – Выбирайте компании с опытом в вашем сегменте.
    – Страхуйте ценное имущество.
    – Держите запас времени на случай задержек.

    Выбор надежных грузоперевозок требует тщательной проверки, сравнения предложений и ясных договорных условий. Следуя этим шагам, вы минимизируете риски и получите стабильный результат.

  11. エロ 衣装sa kasiglahan,ay biglang sasusulpót upang humandógna muli na warì bagong pagkain.

  12. I really like your blog.. very nice colors & theme.

    Did you design this website yourself or did you hire someone to do it
    for you? Plz answer back as I’m looking to design my own blog and would like to find out where u got this from.
    cheers

  13. mostbet_gbOn dice:

    мостбет ру [url=www.mostbet4115.ru]мостбет ру[/url]

  14. Your point of view caught my eye and was very interesting. Thanks. I have a question for you. https://www.binance.com/join?ref=P9L9FQKY

  15. and circles withthe restlessness of despair to some new perch on the gray oaks.t バック 画像Then—that I never had been borrrrn! echoes another on the fartherside with tremulous sincerity,

  16. I know this if off topic but I’m looking into starting my own blog and
    was curious what all is needed to get setup?
    I’m assuming having a blog like yours would cost a pretty penny?
    I’m not very internet savvy so I’m not 100% sure.
    Any recommendations or advice would be greatly appreciated.
    Many thanks

  17. I do not know if it’s just me or if everybody else encountering issues with
    your blog. It appears as if some of the written text
    within your posts are running off the screen. Can someone else please provide
    feedback and let me know if this is happening to them as well?
    This could be a issue with my browser because I’ve had this happen previously.

    Thanks

  18. KASACKS dice:

    Great goods from you, man. I’ve understand your stuff previous to and you’re just too fantastic.

    I really like what you’ve acquired here, really
    like what you are saying and the way in which you say it. You make it entertaining
    and you still care for to keep it smart. I cant
    wait to read far more from you. This is actually a great site.

    My web-site: KASACKS

  19. Diplomi_evEn dice:

    аттестат о 11 классах купить [url=https://arus-diplom22.ru/]аттестат о 11 классах купить[/url] .

  20. Diplomi_zept dice:

    купить диплом с занесением в реестр вуза [url=https://www.arus-diplom34.ru]купить диплом с занесением в реестр вуза[/url] .

  21. Haroldnot dice:

    BorderMeds Express: BorderMeds Express – BorderMeds Express

  22. This is such a valuable article! 👏 I really like how you’ve managed to explain the topic in a clear and practical way—it feels authentic and easy to relate to. Reading it gave me some new perspectives that I can actually apply. I’m especially interested in content like this because at meinestadtkleinanzeigen.de we’re running a classifieds and directory platform in Germany that connects people with services, businesses, and opportunities across many categories. Insights like yours remind me how powerful it is when knowledge and connections come together. Thanks for sharing—looking forward to more of your work! 🚀

  23. depo123 dice:

    I am regular visitor, how are you everybody? This article posted at this site is genuinely good.

  24. I all the time used to read article in news papers but now as I am a user of web thus from now I am using net for articles
    or reviews, thanks to web.

  25. RandyProne dice:

    Simply complete their registration form and click on the option продаю шмаль

  26. RichardFopsy dice:

    BharatMeds Direct: reputable indian pharmacies – BharatMeds Direct

  27. Diplomi_tiPt dice:

    купить диплом с занесением в реестр оренбург [url=https://arus-diplom33.ru]купить диплом с занесением в реестр оренбург[/url] .

  28. AnthonyHow dice:

    buy medicines online in india: cheapest online pharmacy india – india pharmacy

  29. It is not my first time to pay a quick visit this web page,
    i am browsing this web page dailly and take nice data from here daily.

  30. mostbet_plon dice:

    mostbet uz [url=https://www.mostbet4113.ru]mostbet uz[/url]

  31. построить дом на заказ [url=stroitelstvo-domov-irkutsk-6.ru]построить дом на заказ[/url] .

  32. ClaudeSmevy dice:

    Найти надежные грузоперевозки важно для бизнеса и частных перевозок. В этой статье — практические советы, проверенные методы и критерии выбора.

    Определите требования к перевозке
    Сначала уточните параметры груза: вес, габариты, ценность, требуемые сроки и условия (температура, хрупкость). Чем точнее описание, тем проще выбрать перевозчика.

    Поиск исполнителей
    Используйте несколько каналов:
    – Поиск в интернете и на профильных площадках порталах.
    – Рекомендации от коллег и партнеров.
    – Профессиональные форумы и сообщества в социальных сетях.
    Сравните предложения по цене, срокам и отзывам.

    Оцените репутацию и документы
    Проверьте у перевозчика:
    – Лицензии и разрешения.
    – Страхование ответственности.
    – Отзывы клиентов и портфолио задач похожего масштаба.
    Запросите контактные данные предыдущих клиентов для сверки отзывов.

    Транспорт и оборудование
    Уточните, какой транспорт будет задействован: фуры, тенты, рефрижераторы, автобусы. Проверьте состояние техники, наличие ремней, стяжек, погрузочного оборудования. Для специальных грузов важны сертификаты и опыт работы с аналогичными грузами.

    Условия доставки и тарифы
    Разберитесь в структуре тарифа: базовый рейс, доплаты за погрузку/разгрузку, ночные часы, ожидание и мелкие сборы. Проясните ответственность за повреждения и форс-мажорные обстоятельства. Сравнивайте не только цену, но и конечную стоимость с учетом всех платежей.

    Договор и гарантия
    Заключайте письменный договор, где прописаны сроки, маршрут, условия перевозки, ответственность сторон и порядок урегулирования споров. Требуйте товарно-транспортные документы и акты приема-передачи [url=https://www.griffmedia.ru/perevozka_lichnyh_veschey_udobstvo_i_nadezhnost/]https://www.griffmedia.ru/perevozka_lichnyh_veschey_udobstvo_i_nadezhnost/[/url]

    Контроль и коммуникация
    Наладьте систему отслеживания: GPS-трекеры, регулярные отчеты от водителя или диспетчера. Оперативная связь снижает риски и помогает быстрее реагировать на изменения.

    Советы по снижению рисков
    – Делайте предварительные тестовые перевозки.
    – Выбирайте компании с опытом в вашем сегменте.
    – Страхуйте ценное имущество.
    – Держите запас времени на случай задержек.

    Выбор хороших грузоперевозок требует тщательной проверки, сравнения предложений и ясных договорных условий. Следуя этим шагам, вы минимизируете риски и получите стабильный результат.

  33. Haroldnot dice:

    BorderMeds Express: BorderMeds Express – BorderMeds Express

  34. Ilion,ベビー ドール エロwas thy semblance there!What master of the pencil or the styleHad trac’d the shades and lines,

  35. depo 5k dice:

    My spouse and I absolutely love your blog and find nearly all
    of your post’s to be precisely what I’m looking for.
    Would you offer guest writers to write content to
    suit your needs? I wouldn’t mind producing a post
    or elaborating on many of the subjects you write concerning here.
    Again, awesome website!

  36. строительные компании частных домов иркутск [url=www.stroitelstvo-domov-irkutsk-4.ru]www.stroitelstvo-domov-irkutsk-4.ru[/url] .

  37. コスプレ えろAnd this is done,where-ever any number of men,

  38. Kennethhaima dice:

    BorderMeds Express [url=http://bordermedsexpress.com/#]buy cheap meds from a mexican pharmacy[/url] get viagra without prescription from mexico

  39. Hi! This is kind of off topic but I need some advice from an established
    blog. Is it very difficult to set up your own blog?
    I’m not very techincal but I can figure things out pretty quick.
    I’m thinking about making my own but I’m not sure where to start.
    Do you have any points or suggestions? With thanks

  40. построить дом на заказ [url=https://stroitelstvo-domov-irkutsk-1.ru/]stroitelstvo-domov-irkutsk-1.ru[/url] .

  41. IslandDining dice:

    Have you ever thought about including a little bit more than just your articles?

    I mean, what you say is important and everything.
    But think of if you added some great photos or videos to
    give your posts more, “pop”! Your content is excellent but with pics and videos, this site
    could undeniably be one of the greatest in its field.

    Superb blog!

  42. miototo dice:

    I like the helpful info you provide in your articles.
    I will bookmark your weblog and check again here
    regularly. I’m quite certain I will learn lots of new stuff right here!

    Good luck for the next!

  43. What a stuff of un-ambiguity and preserveness of
    precious know-how on the topic of unpredicted feelings.

  44. new article dice:

    Talking about finding entertainment online, there’s hardly
    anything more thrilling than spinning the reels in an online casino.
    With the surge in digital gaming, anyone can now play countless of slot titles without stepping outside.
    Whether you’re into classic 3-reel machines or modern 5-reel video slots with epic graphics, you’re spoiled for
    choice.One reason why slots dominate online casinos is how easy they are to play.
    Different from more strategic casino games, you don’t need complex strategies.
    Just pick a bet amount, hit spin, and let the RNG decide your fate.
    It’s a game of luck that can be incredibly rewarding.

    If you’re looking to explore this world, I recently came across a really informative
    article about how online slot machines work.
    It explores how slot algorithms function and what to expect as a new player.

    Definitely worth a read before you spin. You can find the article here: [insert article URL].

    Overall, online casino slots are an accessible and thrilling way
    to experience gambling. Make sure to manage your bankroll wisely and enjoy the
    ride. Best of luck on the reels!

Responder a sell USDT in Yokohama Cancelar respuesta