

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: 96,115
Av Tadalafil: tadalafil pills 20mg – Av Tadalafil
buy tadalafil online usa: Av Tadalafil – Av Tadalafil
lucky jet скачать на айфон играть luckyjetslot [url=https://1win12043.ru]https://1win12043.ru[/url]
Isang halang nanatatakpan ng? tersiopelong itim ang siyang humahatì ng? dalawanghatìng magkasinglaki sa loob na iyon; ang isa’y puno ng? mg?aluklukang laan sa mg?a manonood,at ang i ay kinalalagyan ng?isang tuntung?an na ang alpombra ay pariparisukat.ボディ スーツ エロ
Hi, I check your blogs regularly. Your humoristic style is awesome, keep up the good work!
UofmSildenafil [url=https://uofmsildenafil.xyz/#]sildenafil 100mg discount[/url] sildenafil online usa
PennIvermectin [url=https://pennivermectin.com/#]tractor supply ivermectin injectable[/url] PennIvermectin
https://avtadalafil.com/# Av Tadalafil
посетить веб-сайт [url=https://www.neurokc.com/]Mega darknet[/url]
MassAntibiotics: Mass Antibiotics – Mass Antibiotics
This was really informative. https://qpo82r8.top/page/2/
Uofm Sildenafil: Uofm Sildenafil – UofmSildenafil
I would like to thank you for the efforts you have put in penning this site.
I really hope to view the same high-grade content by you in the future as well.
In truth, your creative writing abilities has inspired me to get my own, personal blog now 😉
Приобрести диплом университета мы поможем. Купить диплом о высшем образовании Саратов – [url=http://diplomybox.com/kupit-diplom-o-vysshem-obrazovanii-saratov/]diplomybox.com/kupit-diplom-o-vysshem-obrazovanii-saratov[/url]
Hi there, I log on to your blogs like every week. Your humoristic style is awesome, keep up the good work!
Your writing style is so engagingI couldnt stop reading until the end. The information is valuable without feeling overwhelming at all.
AvTadalafil: Av Tadalafil – Av Tadalafil
A person essentially assist to make seriously articles I’d state.
This is the first time I frequented your web page and up to
now? I amazed with the analysis you made to make
this particular post incredible. Magnificent activity!
https://massantibiotics.com/# zithromax antibiotic without prescription
аттестат о среднем общем образовании купить [url=https://www.r-diploma3.ru]аттестат о среднем общем образовании купить[/url] .
Mass Antibiotics: MassAntibiotics – Mass Antibiotics
ivermectin 3: PennIvermectin – generic ivermectin cream
Great read with such practical insightsyour tips are actionable and exactly what I needed. Ill definitely be applying these to my own projects soon.
stromectol tablet 3 mg: ivermectin pills – Penn Ivermectin
https://pennivermectin.com/# ivermectin human
Hi there, I check your new stuff daily. Your writing style is awesome, keep it up!
Thanks for your personal marvelous posting! I certainly enjoyed reading it, you’re a great author.I will make
certain to bookmark your blog and definitely will come back later on. I
want to encourage yourself to continue your great writing,
have a nice morning!
https://massantibiotics.com/# buy cheap amoxicillin online
Very great post. I just stumbled upon your weblog and wanted to mention that I have truly enjoyed surfing around your weblog posts.
In any case I will be subscribing to your feed and I
hope you write again very soon!
Penn Ivermectin: PennIvermectin – PennIvermectin
I read this post fully on the topic of the difference of most up-to-date and earlier technologies, it’s awesome article.
buy cheap doxycycline: MassAntibiotics – Over the counter antibiotics for infection
stromectol usa: ivermectin solution for birds – PennIvermectin
Incredible quest there. What occurred after? Good luck!
When someone writes an paragraph he/she keeps the idea of
a user in his/her brain that how a user can understand it.
Thus that’s why this article is perfect. Thanks!
What a information of un-ambiguity and preserveness of valuable know-how regarding unpredicted emotions.
Thanks a lot for sharing this with all of us you
actually realize what you’re speaking about! Bookmarked. Please additionally consult with my web site =).
We could have a link trade arrangement between us
ivermectin 3 mg dose: PennIvermectin – Penn Ivermectin
I am regular reader, how are you everybody? This
post posted at this web site is in fact fastidious.
UofmSildenafil [url=https://uofmsildenafil.xyz/#]order sildenafil online without prescription[/url] cheap sildenafil 100mg
win ставки [url=https://www.1win12043.ru]https://www.1win12043.ru[/url]
https://pennivermectin.xyz/# how to treat heartworms with ivermectin