

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: 137,325
Hi các bác, ai đang tìm trang chơi xanh chín để chơi Casino đừng bỏ qua trang này nhé. Đang có khuyến mãi: https://homemaker.org.in/#. Về bờ thành công.
Modern online casinos offer a wide selection of games, from classic slots to innovative video games https://zero-100.ru/blogs/mir-azarta-v-odnom-meste-vozmoznosti-pin-up-casino-dla-novyh-i-opytnyh-igrokov/
The majority of us appreciate making several dollars through https://tohomeremodelers.com/on-the-web-casinos-vs-standard-casinos-2/
Chào cả nhà, bác nào muốn tìm sân chơi đẳng cấp để giải trí Nổ Hũ đừng bỏ qua chỗ này. Đang có khuyến mãi: Game bài đổi thưởng. Chúc các bác rực rỡ.
Greetings, I do think your site could possibly be having web browser compatibility issues. When I take a look at your website in Safari, it looks fine however, if opening in I.E., it has some overlapping issues. I just wanted to give you a quick heads up! Besides that, fantastic site!
Your method of telling all in this post is really pleasant, every one be capable of easily be aware of it, Thanks a lot.
dyson купить спб [url=https://pylesos-dn-10.ru/]dyson купить спб[/url] .
dyson магазин в спб [url=https://dn-pylesos-3.ru/]dn-pylesos-3.ru[/url] .
Hello mọi người, bác nào muốn tìm trang chơi xanh chín để giải trí Tài Xỉu thì tham khảo con hàng này. Nạp rút 1-1: [url=https://homemaker.org.in/#]sunwin[/url]. Chúc anh em may mắn.
Смотрите порно безопасно, выбирая проверенные веб-сайты для взрослых.
Используйте надежные порнохабы для конфиденциального развлечения.
Here is my website: ЛЕСБИЙСКИЕ ПОРНО ВИДЕО
купить пылесос дайсон в санкт [url=https://dn-pylesos-kupit-4.ru/]dn-pylesos-kupit-4.ru[/url] .
I am really impressed with your writing skills as well as with the layout on your blog. Is this a paid theme or did you modify it yourself? Anyway keep up the excellent quality writing, it is rare to see a great blog like this one today.
Modern online casinos offer a wide selection of games, from classic slots to innovative video games https://biz6.ru/2026/01/20/pin-up-casino-%d0%b2%d0%b8%d1%80%d1%82%d1%83%d0%b0%d0%bb%d1%8c%d0%bd%d1%8b%d0%b9-%d1%85%d1%80%d0%b0%d0%bc-%d0%b0%d0%b7%d0%b0%d1%80%d1%82%d0%b0-%d0%b4%d0%bb%d1%8f-%d1%81%d0%be%d0%b2%d1%80%d0%b5%d0%bc/
Thankfulness to my father who shared with me concerning this web site, this website is really amazing.
дайсон санкт петербург официальный [url=https://dn-pylesos-4.ru/]dn-pylesos-4.ru[/url] .
Hey There. I discovered your blog the usage of msn. This is a really neatly written article. I’ll be sure to bookmark it and come back to read extra of your helpful info. Thanks for the post. I’ll certainly comeback.
Good post however , I was wanting to know if you could write a
litte more on this topic? I’d be very thankful if you could elaborate a little bit further.
Cheers!
пылесос dyson купить [url=https://pylesos-dn-8.ru/]пылесос dyson купить[/url] .
I want to to thank you for this very good read!!
I definitely enjoyed every bit of it. I have got you book
marked to look at new things you post…
I’d like to thank you for the efforts you have put in penning this site. I am hoping to view the same high-grade blog posts from you in the future as well. In truth, your creative writing abilities has encouraged me to get my own, personal blog now 😉
Appreciation to my father who stated to me on the topic of this webpage, this weblog is really amazing.
galabet online casino, galabet online casino, memleketimizde en popüler
online kumarhanelerden biridir. Geliştirdiği oyun çeşitliliği, oyuncuları heyecanlandırmaktadır.
riobet официальный сайт
Good day I am so happy I found your web site, I really found you by error, while I was looking on Yahoo for something else, Anyways I am here now and would just like to say thanks for a marvelous post and a all round entertaining blog (I also love the theme/design), I don’t have time to go through it all at the moment but I have saved it and also included your RSS feeds, so when I have time I will be back to read much more, Please do keep up the superb b.