

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: 84,350
рулонные шторы для панорамных окон [url=http://www.rulonnye-shtory-s-elektroprivodom499.ru]http://www.rulonnye-shtory-s-elektroprivodom499.ru[/url] .
http://aeromedsrx.com/# Buy Viagra online cheap
AeroMedsRx: Cheap Sildenafil 100mg – cheap viagra
and so many come here,that the blest,ラブドール アニメ
This post offers clear idea designed for the new viewers of blogging, that in fact how to do blogging.
рулонные шторы на пульте [url=https://www.prokarniz28.ru]https://www.prokarniz28.ru[/url] .
https://bluewavemeds.xyz/# Blue Wave Meds
Nice blog! Is your theme custom made or did you download it from somewhere?
A design like yours with a few simple tweeks would really make my blog shine.
Please let me know where you got your design. Kudos
escort in RJ
римские шторы с пультом управления [url=https://www.prokarniz28.ru]https://www.prokarniz28.ru[/url] .
рулонные шторы на окна купить [url=http://rulonnye-shtory-s-elektroprivodom177.ru/]рулонные шторы на окна купить[/url] .
пластиковые жалюзи с электроприводом [url=https://prokarniz23.ru/]prokarniz23.ru[/url] .
viagra without prescription [url=http://aeromedsrx.com/#]AeroMedsRx[/url] AeroMedsRx
I love what you guys are usually up too. This kind of clever work and coverage!
Keep up the very good works guys I’ve added you guys to our blogroll.
An impressive share! I’ve just forwarded this onto a friend
who had been conducting a little research on this. And he in fact bought me
breakfast because I found it for him… lol. So allow me to reword this….
Thank YOU for the meal!! But yeah, thanks for spending time to talk about this subject here on your site.
умные шторы с алисой [url=prokarniz27.ru]prokarniz27.ru[/url] .
I’d like to thank you for the efforts you have put in writing this site.
I’m hoping to see the same high-grade blog posts by you later
on as well. In fact, your creative writing abilities has inspired me to get my
own blog now 😉
solidity,palpability,ラブドール エロ
с 1 июля 2009 г.
Stop by my homepage … mostbet-0fficial.love
I’m not sure where you’re getting your information, but great topic.
I needs to spend some time learning much more
or understanding more. Thanks for wonderful information I was looking for this information for my mission.
рулонная штора автоматическая [url=http://www.rulonnye-shtory-s-elektroprivodom499.ru]http://www.rulonnye-shtory-s-elektroprivodom499.ru[/url] .
диплом медсестры с аккредитацией купить [url=https://frei-diplom13.ru]диплом медсестры с аккредитацией купить[/url] .
You ought to take part in a contest for one of the finest blogs on the net.
I most certainly will highly recommend this web site!
бамбуковые электрожалюзи [url=https://prokarniz23.ru/]prokarniz23.ru[/url] .
BlueWaveMeds: trusted Kamagra supplier in the US – order Kamagra discreetly
EveraMeds [url=http://everameds.com/#]EveraMeds[/url] Cialis 20mg price in USA
What a data of un-ambiguity and preserveness of precious knowledge on the topic of unpredicted feelings.
рулонные шторы с пультом [url=https://www.prokarniz28.ru]рулонные шторы с пультом[/url] .
рулонные шторы на панорамные окна [url=https://rulonnye-shtory-s-elektroprivodom177.ru/]рулонные шторы на панорамные окна[/url] .
My brother recommended I might like this web site. He was once
entirely right. This post actually made my day.
You can not consider just how so much time I had spent for
this info! Thank you!
.. Je veux pourtant vous dire encore trois choses pendant quenous sommes encore recueillis dans cette solitude: _pauvreté,pauvreté,ラブドール
buy cialis pill [url=http://everameds.com/#]EveraMeds[/url] Cialis without a doctor prescription
” he said in a solemn tone,as if the mere fact ofbeing a pupil of his ought to root out all evil passions from the heartsof small imperfect mortals.エロ フィギュア 無 修正
niin sen toimittaja ei kuitenkaanjulkaissut niit?.ラブドール オナニー— Hauskaa tavata teid?t,
It is perfect time to make some plans for the future and
it is time to be happy. I have read this post and if I could I wish to
suggest you some interesting things or tips.
Maybe you could write next articles referring to this article.
I want to read even more things about it!
управление шторами с телефона [url=http://prokarniz23.ru]управление шторами с телефона[/url] .
шторы на пульте управления [url=https://www.prokarniz28.ru]шторы на пульте управления[/url] .
Marget’s household went out and in as usual,but theycarried nothing in their hands,ロボット エロ
алюминиевые электрожалюзи [url=http://prokarniz23.ru]http://prokarniz23.ru[/url] .
Hello, all is going well here and ofcourse every one is
sharing information, that’s in fact good, keep up writing.
ダッチワイフRoyalty payments should be clearly marked as such and sent to the Project Gutenberg Literary Archive Foundation at the address specified in Section 4,“Information about donations to the Project Gutenberg Literary Archive Foundation.
fast delivery Kamagra pills: kamagra oral jelly – Blue Wave Meds
Paragraph writing is also a fun, if you know
then you can write if not it is complicated to write.
Cheap generic Viagra online: AeroMedsRx – cheap viagra
yse?oreó á tiempo del gran Capitán,ラブドール えろy tuvo dineros más que noquis y verla allí asentada demandando limosna á los que pasan!?.
римские шторы с пультом управления [url=www.prokarniz28.ru]www.prokarniz28.ru[/url] .
and belonging to the memory of events forming the first epoch of my life—and a condition of shadow and doubt,ロシア エロappertaining to the present,
distrusted the journey Of the belovèd liegeman; I long time did pray thee By no means to seek out the murderous spirit,オナホ フィギュアTo suffer the SouthDanes themselves to decide on2 35 Grappling with Grendel.
электронные шторы [url=www.prokarniz23.ru/]www.prokarniz23.ru/[/url] .
Wow, this article is fastidious, my sister
is analyzing these kinds of things, therefore I am going to inform her.