

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: 22,082
I loved as much as you’ll receive carried out right
here. The sketch is attractive, your authored subject matter stylish.
nonetheless, you command get bought an nervousness over that you wish be delivering the following.
unwell unquestionably come further formerly again as exactly the same nearly a
lot often inside case you shield this increase.
Marvelous, what a web site it is! This website provides helpful facts to us, keep it up.
My relatives every time say that I am killing my time here at web,
except I know I am getting know-how daily by reading thes good posts.
It’s going to be end of mine day, but before end I am
reading this fantastic article to improve my knowledge.
It’s awesome tօ pay a visit tһis web рage and reading thе
views оf all friends on the topic of thiѕ
article, ѡhile I am alѕo eager of ցetting experience.
my site; Jackpot bet online
Attractive component to content. I simply stumbled upon your
website and in accession capital to assert that I acquire actually enjoyed account your weblog posts.
Any way I’ll be subscribing on your feeds and even I achievement
you access constantly fast.
Innovative AI platform http://lumiabitai.com for crypto trading — passive income without stress. Machine learning algorithms analyze the market and manage transactions. Simple registration, clear interface, stable profit.
Great weblog here! Additionally your site quite a bit up very fast!
What host are you the use of? Can I get your associate hyperlink to your host?
I desire my website loaded up as quickly as yours lol
Innovative AI platform https://lumiabitai.com/ for crypto trading — passive income without stress. Machine learning algorithms analyze the market and manage transactions. Simple registration, clear interface, stable profit.
I’ve been looking for something like this.
AI platform https://bullbittrade.com/ for passive crypto trading. Robots trade 24/7, you earn. Without deep knowledge, without constant control. High speed, security and automatic strategy.
Усильте позиции сайта быстро
и эффективно!
Закажите прогон Хрумером и ГСА по супернизкой цене — гарантия роста трафика и улучшения SEO-показателей вашего ресурса.
Только проверенные базы и индивидуальный подход к каждому проекту.
Увеличьте посещаемость и прибыль прямо сейчас!
больще ифрЗДЕСЬ
фільми онлайн без реклами HD фільми українською онлайн
Yoᥙ havе made somе good pointѕ there. I ⅼooked on the net for mоre info about the issue and found most
individuals will ɡo along ѡith your views оn tһіs
website.
mү web site :: chinas disfrazadas
Wow! This blog looks just like my old one! It’s on a entirely different topic but it has pretty much the same layout and design. Excellent choice
of colors!
Brilliant article!
Private Blog Site Networks (PBNs) remain one of one of the
most disputed yet powerful tools in search engine optimization. When made use
of correctly, they can considerably increase search rankings by giving top notch
back links. Incorrect usage can lead to penalties from Google.
This overview describes the significance of PBNs in SEO, their advantages, risks,
and finest techniques for risk-free and effective implementation.
I’ve been looking for something like this.
AI platform https://bullbittrade.com for passive crypto trading. Robots trade 24/7, you earn. Without deep knowledge, without constant control. High speed, security and automatic strategy.
фільм українські серії топ фільмів 2025 онлайн
Wonderful site. Plenty of helpful info here. I am sending it to several pals ans also
sharing in delicious. And certainly, thank you on your sweat!
Your blog always inspires me.
Hey there! Do you know if they make any plugins to help with Search Engine Optimization? I’m trying to get my blog to rank for some targeted keywords but I’m not
seeing very good success. If you know of any please share.
Many thanks!
Frax Swap
фільми як 2025 фільми з українським дубляжем онлайн
토닥이 여성전용마사지는 오직 여성만을 위한 전국
출장 전문 마사지 서비스입니다.
대한민국 최초의 여성 전용 마사지 플랫폼으로서 수많은
여성 고객에게 사랑받고
Spot on with this write-up, I absolutely think this website needs
much more attention. I’ll probably be returning to read through more, thanks for the information!
Your style is very unique in comparison to other folks I have read stuff from.
I appreciate you for posting when you’ve got the opportunity, Guess I’ll just bookmark this web site.
Hello! I know this is kinda off topic however I’d figured
I’d ask. Would you be interested in exchanging links or
maybe guest writing a blog post or vice-versa?
My website goes over a lot of the same subjects as yours and I
believe we could greatly benefit from each other. If you
are interested feel free to send me an e-mail. I look forward to hearing from you!
Terrific blog by the way!
This is gold, thank you!
Bookmarking this for later.