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: 100,833

  1. Сегодня впервые решил попробовать настольные игры, обычно играю только в слоты.
    Оказалось очень увлекательно,
    особенно blackjack — комбинации складываются довольно часто, и есть шанс реально подняться

    лекс казино

  2. What’s up to all, how is all, I think every one is getting more from this
    site, and your views are fastidious in favor of new visitors.

  3. I know this if off topic but I’m looking into starting my own blog and was wondering what all is needed to
    get set up? 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.
    Cheers

  4. 按摩課程 dice:

    https://je-tall-marketing-827.syd1.digitaloceanspaces.com/research/je-marketing-(466).html
    Spring and summer time weddings name for delicate tones,
    floral motifs, and a romantic aptitude.

  5. olxtoto dice:

    Its such as you learn my mind! You appear to understand a lot
    about this, such as you wrote the e book in it or something.
    I believe that you can do with a few % to pressure the message house a little bit,
    however instead of that, that is wonderful blog.
    An excellent read. I will certainly be back.

  6. покупка курсовых работ [url=www.kupit-kursovuyu-22.ru/]www.kupit-kursovuyu-22.ru/[/url] .

  7. покупка курсовых работ [url=https://kupit-kursovuyu-24.ru]https://kupit-kursovuyu-24.ru[/url] .

  8. https://je-tal-marketing-946.lon1.digitaloceanspaces.com/research/je-marketing-(119).html
    Do you favor to wear light and airy colours or
    do you gravitate towards darker shades?

  9. Diplomi_uwSn dice:

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

  10. DouglasSweme dice:

    Dabet main access URL: Dabet Vietnam official entry – dabet

  11. Fun88Oxync dice:

    PLANBET Bangladesh main access page: updated PLANBET access link – PLANBET latest entry link

  12. курсовой проект купить цена [url=https://www.kupit-kursovuyu-25.ru]https://www.kupit-kursovuyu-25.ru[/url] .

  13. срочно курсовая работа [url=www.kupit-kursovuyu-30.ru]срочно курсовая работа[/url] .

  14. написание учебных работ [url=https://kupit-kursovuyu-29.ru]написание учебных работ[/url] .

  15. Hey! Someone in my Myspace group shared this website
    with us so I came to give it a look. I’m definitely enjoying the information.
    I’m book-marking and will be tweeting this to my followers!
    Exceptional blog and fantastic style and design.

  16. DonaldAcaft dice:

    https://nagad88.top/# Nagad88 ব্যবহারকারীদের জন্য বর্তমান লিংক

  17. курсовая заказ купить [url=http://kupit-kursovuyu-27.ru]курсовая заказ купить[/url] .

  18. Stunning quest there. What happened after? Take
    care!

  19. заказ курсовых работ [url=https://kupit-kursovuyu-30.ru/]заказ курсовых работ[/url] .

  20. DouglasSweme dice:

    Dabet updated working link: d?a ch? truy c?p Dabet m?i nh?t – Dabet Vietnam lien k?t dang s? d?ng

  21. помощь в написании курсовой работы онлайн [url=kupit-kursovuyu-23.ru]kupit-kursovuyu-23.ru[/url] .

  22. заказать курсовую срочно [url=https://kupit-kursovuyu-21.ru/]kupit-kursovuyu-21.ru[/url] .

  23. Howdy would you mind letting me know which web host you’re using?
    I’ve loaded your blog in 3 different internet browsers and I must say this blog loads a lot quicker then most.
    Can you recommend a good internet hosting provider at a fair price?
    Thanks a lot, I appreciate it!

  24. free porn_bmEl dice:

    Best Gay site porn [url=https://www.www.casinobernie.com/neue-online-casinos/]Best Gay site porn[/url] .

  25. курсовая работа на заказ цена [url=http://kupit-kursovuyu-29.ru]курсовая работа на заказ цена[/url] .

  26. DonaldAcaft dice:

    https://darazplay.blog/# DarazPlay Bangladesh official link

  27. Diplomi_nhSn dice:

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

  28. сколько стоит заказать курсовую работу [url=http://kupit-kursovuyu-30.ru/]сколько стоит заказать курсовую работу[/url] .

  29. курсовые купить [url=http://kupit-kursovuyu-26.ru]курсовые купить[/url] .

  30. DonaldAcaft dice:

    https://fun88.sale/# trang tham chiếu Fun88 Vietnam

  31. DonaldAcaft dice:

    http://nagad88.top/# Nagad88 Bangladesh official access

  32. заказать курсовую [url=https://kupit-kursovuyu-25.ru/]заказать курсовую[/url] .

  33. написание курсовой на заказ цена [url=https://kupit-kursovuyu-21.ru/]https://kupit-kursovuyu-21.ru/[/url] .

  34. заказать курсовую работу качественно [url=https://kupit-kursovuyu-30.ru/]заказать курсовую работу качественно[/url] .

  35. Angellaf dice:

    As of December 2025, you can find dozens of casinos where you can win big https://lunapart.kz/

  36. DonaldAcaft dice:

    https://planbet.sbs/# PLANBET Bangladesh main access page

  37. vag servis spb_sqmi dice:

    ремонт vag спб [url=http://mirtesen.ru/people/585327604/]ремонт vag спб[/url] .

  38. где можно заказать курсовую работу [url=https://kupit-kursovuyu-27.ru/]где можно заказать курсовую работу[/url] .

Responder a kypit kyrsovyu_ubKn Cancelar respuesta