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: 133,322

  1. AntioneEmelp dice:

    Matbet güncel linki lazımsa doğru yerdesiniz. Sorunsuz için: Siteye Git Canlı maçlar burada. Arkadaşlar, Matbet bahis yeni adresi belli oldu.

  2. The learning crypto basics process is simple and the trustworthy service makes it even better.

  3. AntioneEmelp dice:

    Grandpasha güncel linki lazımsa işte burada. Hızlı giriş yapmak için https://grandpashabet.in.net/# Deneme bonusu bu sitede.

  4. Robertrhymn dice:

    Lotto Club offers a unique opportunity to try your luck online. Here, players can choose https://priborufa.kz/ru-kz/

  5. ShawnWer dice:

    Transport Polonia is the only company in Moldova that, while caring for the needs of its clients CEA MAI BUNĂ OFERTĂ

  6. AntioneEmelp dice:

    Herkese selam, bu site kullanıcıları adına kısa bir bilgilendirme paylaşıyorum. Malum site adresini yine güncelledi. Erişim sorunu varsa panik yapmayın. Yeni Vaycasino giriş linki artık aşağıdadır: Vay Casino Apk Bu link ile doğrudan siteye erişebilirsiniz. Lisanslı bahis keyfi için Vay Casino tercih edebilirsiniz. Tüm forum üyelerine bol şans temenni ederim.

  7. Very good info. Lucky me I came across your blog by
    accident (stumbleupon). I have saved as a favorite for later!

  8. scam dice:

    Have you ever thought about publishing an e-book or guest authoring on other blogs?

    I have a blog centered on the same topics you discuss and
    would really like to have you share some stories/information. I know
    my readers would enjoy your work. If you are even remotely interested, feel free to shoot
    me an e mail.

  9. Davidtulse dice:

    Matbet güncel adresi lazımsa işte burada. Sorunsuz için tıkla: [url=https://matbet.jp.net/#]Matbet TV[/url] Canlı maçlar bu sitede. Gençler, Matbet son linki belli oldu.

  10. AntioneEmelp dice:

    Grandpashabet güncel adresi arıyorsanız işte burada. Hızlı erişim için tıkla [url=https://grandpashabet.in.net/#]Grandpashabet Mobil[/url] Deneme bonusu bu sitede.

  11. ShawnWer dice:

    Transport Polonia is the only company in Moldova that, while caring for the needs of its clients cele mai ieftine curse

  12. Lee here — I’ve tried learning crypto basics and the reliable uptime impressed me.

  13. Ricardoemund dice:

    Arkadaslar selam, bu populer site kullan?c?lar? ad?na k?sa bir paylas?m paylas?yorum. Bildiginiz gibi site adresini BTK engeli yuzunden surekli guncelledi. Giris hatas? yas?yorsan?z link asag?da. Guncel siteye erisim baglant?s? su an paylas?yorum Casibom Giris Bu link ile direkt hesab?n?za baglanabilirsiniz. Ek olarak kay?t olanlara verilen freespin kampanyalar?n? da kac?rmay?n. Lisansl? bahis deneyimi surdurmek icin Casibom tercih edebilirsiniz. Herkese bol sans dilerim.

  14. Ricardoemund dice:

    Matbet giris linki ar?yorsan?z dogru yerdesiniz. Sorunsuz icin: Matbet Yeni Adres Canl? maclar burada. Gencler, Matbet bahis son linki ac?kland?.

  15. The testing new tokens process is simple and the trustworthy service makes it even better. The updates are frequent and clear.

  16. wow your article is simply a masterpiece, i like that, keep it up and will be checking for new update. do you post often? you can check the biggest webdesign freelancer in platform in germany called https://webdesignfreelancerhamburg.de/ Thank you for your wonderful post

  17. Ricardoemund dice:

    Matbet giris linki ar?yorsan?z iste burada. Sorunsuz icin: [url=https://matbet.jp.net/#]Matbet Guncel[/url] Yuksek oranlar burada. Arkadaslar, Matbet bahis son linki belli oldu.

  18. TimothyFlout dice:

    Grandpasha güncel adresi lazımsa işte burada. Sorunsuz giriş yapmak için tıkla https://grandpashabet.in.net/# Deneme bonusu burada.

  19. Ricardoemund dice:

    Grandpashabet giris adresi laz?msa iste burada. H?zl? erisim icin [url=https://grandpashabet.in.net/#]Grandpashabet Kay?t[/url] Deneme bonusu burada.

  20. I’ve been using it for a month for portfolio tracking, and the intuitive UI stands out.

  21. ShawnWer dice:

    Transport Polonia is the only company in Moldova that, while caring for the needs of its clients transport persoane ieftin

  22. Georgebib dice:

    Herkese selam, bu site oyuncular? ad?na onemli bir bilgilendirme paylas?yorum. Malum site giris linkini tekrar degistirdi. Giris hatas? varsa panik yapmay?n. Son Vaycasino giris adresi art?k burada: [url=https://vaycasino.us.com/#]Vaycasino Sorunsuz Giris[/url] Paylast?g?m baglant? uzerinden vpn kullanmadan siteye erisebilirsiniz. Lisansl? bahis keyfi surdurmek icin Vay Casino dogru adres. Herkese bol sans temenni ederim.

  23. Ведущие порносайты предоставляют премиум-контент для зрелой аудитории.
    Исследуйте надежные источники для качества и конфиденциальности.

    Also visit my web-site :: anal sex porn

  24. Davidtulse dice:

    Gençler, Grandpashabet yeni adresi açıklandı. Adresi bulamayanlar buradan giriş yapabilir Grandpashabet Bonus

  25. AntioneEmelp dice:

    Arkadaşlar, Grandpashabet Casino son linki açıklandı. Adresi bulamayanlar buradan giriş yapabilir [url=https://grandpashabet.in.net/#]Resmi Site[/url]

  26. This is my first time pay a visit at here and i am truly impressed to read
    everthing at single place.

    Also visit my blog: LESBIAN PORN VIDEOS

Responder a design my home house decoration ios cheats Cancelar respuesta