

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: 53,652
and the great richness of the country gave rise formerlyto the fable that it was the place of Paradise,ラブドール 中出しand that theinhabitants lived to the age of 200 or 300 years.
купить медицинский диплом медсестры [url=www.frei-diplom13.ru]купить медицинский диплом медсестры[/url] .
как купить диплом с реестром [url=https://frei-diplom2.ru/]как купить диплом с реестром[/url] .
купить диплом по реестру [url=http://frei-diplom3.ru/]купить диплом по реестру[/url] .
“Thou lackest a scepter,irontech dollTake thou the sword,
findthebestcontent – Great value here, will keep coming for well curated posts
купить диплом в туймазы [url=http://www.rudik-diplom10.ru]купить диплом в туймазы[/url] .
натяжные потолки потолочкин отзывы самара [url=www.natyazhnye-potolki-samara-2.ru]www.natyazhnye-potolki-samara-2.ru[/url] .
I was recommended this web site by my cousin.
I am not sure whether this post is written by him as no one else know such detailed about my trouble.
You’re amazing! Thanks!
findyourwayforward – I learned something that resonates deeply, thanks for sharing
I have been surfing online greater than three hours nowadays, yet I by no means discovered any fascinating article like yours.
It is pretty price enough for me. Personally,
if all site owners and bloggers made just right content as you probably
did, the net might be much more useful than ever before.
купить диплом вуза с реестром [url=http://frei-diplom1.ru/]купить диплом вуза с реестром[/url] .
натяжной потолок потолочкин отзывы [url=http://natyazhnye-potolki-samara-2.ru/]http://natyazhnye-potolki-samara-2.ru/[/url] .
купить диплом техникума ржд [url=https://www.frei-diplom8.ru]купить диплом техникума ржд[/url] .
где купить диплом техникума в екатеринбурге [url=http://frei-diplom11.ru]где купить диплом техникума в екатеринбурге[/url] .
ラブドール 中出し“Every thing hitherto described is cut out from the solid rock,sothat I could observe neither in the statues nor any where else thesmallest appearance of joining.
discoverlearnandshare – Good balance of images and content, keeps me engaged
I was curious if you ever considered changing the structure of
your blog? Its very well written; I love what youve got to say.
But maybe you could a little more in the way of content so people could connect with it better.
Youve got an awful lot of text for only having
one or two pictures. Maybe you could space it out better?
купить дипломы о высшем [url=www.rudik-diplom2.ru/]купить дипломы о высшем[/url] .
купить диплом в волгодонске [url=https://www.rudik-diplom7.ru]купить диплом в волгодонске[/url] .
купить диплом техникума пять плюс [url=frei-diplom9.ru]купить диплом техникума пять плюс[/url] .
куплю диплом медсестры в москве [url=www.frei-diplom13.ru]куплю диплом медсестры в москве[/url] .
потолочкин ру самара [url=www.natyazhnye-potolki-samara-2.ru/]www.natyazhnye-potolki-samara-2.ru/[/url] .
купить диплом высшее [url=https://www.rudik-diplom10.ru]купить диплом высшее[/url] .
кухни на заказ спб [url=www.kuhni-spb-3.ru/]кухни на заказ спб[/url] .
licsupport – The design and content align well, feels trustworthy
где купить диплом среднем [url=http://rudik-diplom6.ru]где купить диплом среднем[/url] .
купить диплом в ноябрьске [url=https://www.rudik-diplom13.ru]купить диплом в ноябрьске[/url] .
я купил проведенный диплом [url=http://www.frei-diplom1.ru]я купил проведенный диплом[/url] .
купить диплом машиниста [url=www.rudik-diplom9.ru/]купить диплом машиниста[/url] .
ラブドール 中出し_Patmaràgam_; the emerald,_Pociaratnam_; the sapphire,
диплом о среднем профессиональном образовании с занесением в реестр купить [url=https://frei-diplom3.ru/]диплом о среднем профессиональном образовании с занесением в реестр купить[/url] .
купить медицинский диплом с занесением в реестр [url=https://www.frei-diplom2.ru]купить медицинский диплом с занесением в реестр[/url] .
Can you tell us more about this? I’d love to find out
more details.
connectwithbrilliantminds – I like how there’s a mix of inspiration and practical takeaways
This piece of writing provides clear idea for the nnew users of blogging, that genuinely how to do running a blog.
ซื้อผู้ติดตามไอจี
everythingaboutmarketing – Love the practical tips shared here, very actionable advice.
What i don’t realize is actually how you’re not
really a lot more smartly-preferred than you might be right now.
You’re very intelligent. You understand therefore significantly when it comes to this matter, produced me
personally imagine it from a lot of varied angles.
Its like men and women don’t seem to be involved until it’s something to accomplish with Girl
gaga! Your personal stuffs outstanding. At all times maintain it up!