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: 126,840

  1. 20bet dice:

    When I initially left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and now each time a comment is added I recieve four emails with the exact same comment. Is there an easy method you can remove me from that service? Many thanks!

  2. Saved as a favorite, I really like your blog!

    my blog post – brutal porn movies

  3. Thanks , I have recently been searching for information about this topic for ages and yours is the best I have found out so far. But, what concerning the bottom line? Are you sure about the supply?

  4. After I originally commented I seem to have clicked the -Notify me when new comments are added- checkbox and now every time a comment is added I recieve four emails with the exact same comment. There has to be an easy method you can remove me from that service? Appreciate it!

  5. Robertrhymn dice:

    The Loto Club website guarantees the fairness and transparency of all games лото клуб онлайн

  6. 8800 bet dice:

    After I originally commented I seem to have clicked the -Notify me when new comments are added- checkbox and now whenever a comment is added I receive 4 emails with the exact same comment. There has to be an easy method you are able to remove me from that service? Thanks!

  7. lincoln dice:

    After I originally left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and now each time a comment is added I get four emails with the exact same comment. Is there a means you are able to remove me from that service? Many thanks!

  8. Wow, that’s what I was searching for, what a stuff!
    present here at this web site, thanks admin of this web page.

  9. 1win официальный сайт, 1win предлагает игрокам широкий выбор азартных игр
    а также ставки на спорт.

    Feel free to visit my blog … https://1win-4ovk7.buzz/

  10. Sazrgod dice:

    Мы изготавливаем дипломы любых профессий по доступным тарифам.– [url=http://angelladydety.getbb.ru/posting.php?mode=post&f=46&sid=c4cf3f4cc1e633c55e1e0a9055cb4b34/]angelladydety.getbb.ru/posting.php?mode=post&f=46&sid=c4cf3f4cc1e633c55e1e0a9055cb4b34[/url]

  11. winph99 dice:

    When I initially left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I recieve 4 emails with the same comment. Perhaps there is an easy method you can remove me from that service? Kudos!

  12. After I originally left a comment I appear to have clicked the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I receive 4 emails with the exact same comment. There has to be a way you are able to remove me from that service? Appreciate it!

  13. pokerstars dice:

    When I initially left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and now whenever a comment is added I receive four emails with the same comment. There has to be a means you are able to remove me from that service? Appreciate it!

  14. мостбет казино зеркало, мостбет зеркало – это отличное решение для игроков, которые хотят обойти блокировки.

  15. 1win зеркало сайта, 1win помогает игрокам получить доступ к платформе,
    даже если основной ресурс заблокирован.

    Also visit my site :: 1win-eqqbr.buzz

  16. يلا dice:

    When I originally left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and now each time a comment is added I receive four emails with the exact same comment. There has to be a way you can remove me from that service? Thanks!

  17. After I initially commented I seem to have clicked the -Notify me when new comments are added- checkbox and now every time a comment is added I receive 4 emails with the exact same comment. Is there an easy method you can remove me from that service? Many thanks!

  18. bet69 dice:

    When I originally left a comment I appear to have clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I get four emails with the exact same comment. There has to be a way you can remove me from that service? Cheers!

  19. dobrowin app dice:

    When I initially left a comment I appear to have clicked the -Notify me when new comments are added- checkbox and now whenever a comment is added I get 4 emails with the same comment. Perhaps there is a way you are able to remove me from that service? Thank you!

  20. Cazrlck dice:

    Приобрести диплом университета по невысокой стоимости возможно, обращаясь к надежной специализированной фирме. Чтобы проверить компанию до заказа пользуйтесь отзывами на форумах. Таким образом можно заказать диплом из любого ВУЗа РФ [url=http://iitagne.org/2025/12/kupit-diplom-kolledzha-89/]iitagne.org/2025/12/kupit-diplom-kolledzha-89[/url]

  21. having closed thedoor behind him and satisfied himself that there was nobody else in theroom,ドール エロaddressed Pierre.

  22. brdice dice:

    When I initially left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and now whenever a comment is added I receive 4 emails with the exact same comment. Perhaps there is a way you are able to remove me from that service? Thank you!

  23. After I originally left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and now every time a comment is added I receive four emails with the exact same comment. There has to be a way you are able to remove me from that service? Kudos!

  24. OMT’s supportive responses loops motivate development fгame of mind, assisting students adore mathematics
    аnd really feel inspired f᧐r examinations.

    Register tоԀay in OMT’s standalone e-learning programs ɑnd watch
    ʏoսr grades soar tһrough unlimited access to premium, syllabus-aligned ϲontent.

    Wіth mathematics incorporated flawlessly іnto Singapore’s class settings tօ benefit ƅoth
    instructors ɑnd trainees, devoted math
    tuition enhances tһesе gains Ьy providing customized support for sustained accomplishment.

    Math tuition іn primary school school bridges spaces іn class knowing, making ѕure trainees grasp complex topics ѕuch ɑs geometry and information analysis before thе PSLE.

    Identifying and correcting details weak ρoints, liқe in chance
    or coordinate geometry, makeѕ secondary tuition indispensable f᧐r O Level quality.

    Tuition іn junior college math outfits trainees ԝith analytical techniques аnd chance models imрortant
    fߋr translating data-driven inquiries іn A Level documents.

    OMT differentiates іtself with a custom syllabus tһat enhances MOE’ѕ by incorporating interesting, real-life circumstances tο increase trainee passion аnd retention.

    Aesthetic heⅼp lіke representations assist visualize troubles lor, improving understanding аnd exam efficiency.

    Tuition centers mɑke uѕe of ingenious devices ⅼike aesthetic aids,
    boosting understanding fߋr much betteг retention in Singapore
    mathematics exams.

    Ꮋere is my webpage: how to become a math tutor

  25. Cazrssa dice:

    Приобрести диплом университета по невысокой стоимости возможно, обратившись к проверенной специализированной компании: [url=http://rpinside.5nx.ru/posting.php?mode=post&f=13&sid=3510e98edb6459441adc18732daf43cd/]rpinside.5nx.ru/posting.php?mode=post&f=13&sid=3510e98edb6459441adc18732daf43cd[/url]

  26. When I initially commented I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on every time a comment is added I recieve four emails with the exact same comment. Perhaps there is an easy method you can remove me from that service? Thanks!

  27. 31 bet dice:

    When I initially left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and from now on every time a comment is added I get 4 emails with the same comment. There has to be an easy method you are able to remove me from that service? Thank you!

  28. 玩運彩 dice:

    中職戰績粉絲必備的官方認證資訊平台,24小時不間斷提供官方中職戰績新聞、球員數據分析,以及專業的比賽預測。

  29. Thanks for any other great post. Where else could
    anybody get that kind of information in such a perfect way of writing?
    I have a presentation subsequent week, and I’m at the look for such information.

    my blog: редакционные ссылки

  30. Finding the ideal secure trading environment is essential for investors.
    A Trusted Trading Platform, ironwealtharc.com reviews provides
    cutting-edge features and high-quality customer support, ensuring a hassle-free experience for all.

  31. When I initially left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and from now on each time a comment is added I get four emails with the exact same comment. Perhaps there is a way you are able to remove me from that service? Kudos!

  32. 168vip dice:

    When I originally left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I get 4 emails with the same comment. Perhaps there is a means you are able to remove me from that service? Cheers!

  33. When I originally left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and now whenever a comment is added I receive four emails with the exact same comment. Perhaps there is a means you can remove me from that service? Cheers!

  34. Diplomi_jzPl dice:

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

  35. Adult entertainment can be accessed through secure and reputable websites.
    Explore trusted platforms VIAGRA FOR YOU quality content.

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

    Философия: Создание поддерживающего
    и человечного пространства,
    где забота о ментальном здоровье становится нормой
    Work-life balance как найти баланс между работой и жизнью

  37. Cazrlxo dice:

    [b]Диплом для вас[/b]. Мы изготавливаем дипломы психологов, юристов, экономистов и любых других профессий по доступным ценам: [url=http://nhadatdaibang.com/estate_agent/laurindal91537/]nhadatdaibang.com/estate_agent/laurindal91537[/url]

  38. After I originally left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I get four emails with the exact same comment. Perhaps there is a way you are able to remove me from that service? Appreciate it!

  39. netbet dice:

    When I originally left a comment I appear to have clicked the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I get 4 emails with the exact same comment. Is there a means you are able to remove me from that service? Cheers!

  40. купить софосбувир ледипасвир, https://realistzoosafety.forum24.ru/?1-11-0-00002445-000-0-0-1762363012 можно в интернете, но
    важно выбирать надежные источники или.

  41. nail care dice:

    Currently it appears like Expression Engine is the best blogging
    platform available right now. (from what I’ve read) Is that what you’re using on your blog?

  42. one day? 45 You will not euer haue this tribute pay Your ?cepter o ?the ?word? E Tye vp your wi Doe,せっくす 美人and prouoke me not– Will helpe,

  43. I like the valuable info you provide in your articles.
    I’ll bookmark your blog and check again here frequently.
    I am quite sure I’ll learn many new stuff right here!
    Best of luck for the next!

  44. When I originally left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I get four emails with the exact same comment. There has to be a means you are able to remove me from that service? Appreciate it!

Responder a pacific spins Cancelar respuesta