

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: 130,920
маркетинговые стратегии статьи [url=https://statyi-o-marketinge2.ru/]statyi-o-marketinge2.ru[/url] .
блог про seo [url=https://statyi-o-marketinge2.ru/]statyi-o-marketinge2.ru[/url] .
материалы по seo [url=https://statyi-o-marketinge2.ru/]statyi-o-marketinge2.ru[/url] .
I visit daily some blogs and websites to read content, except this weblog presents quality based content.
Way cool! Some very valid points! I appreciate you writing this write-up and also the rest of the website is extremely good.
I do not even understand how I stopped up here, however
I thought this publish used to be good. I do not recognize who
you might be however definitely you’re going to a well-known blogger when you are
not already. Cheers!
I personally find that i switched from another service because of the stable performance and trustworthy service.
Hey everyone, I wanted to share an excellent online drugstore where you can buy pills cheaply. If you need antibiotics, this site is very good. They ship globally and no script needed. Link here: [url=https://onlinepharm.jp.net/#]online pharmacy no prescription[/url]. Cya.
Hey there, I wanted to share a reliable website for purchasing medications cheaply. If you are looking for safe pharmacy delivery, OnlinePharm is worth a look. They ship globally plus huge selection. Visit here: [url=https://onlinepharm.jp.net/#]this site[/url]. Be well.
I was able to find good information from your blog posts.
Hi guys, Lately came across a reliable website to save on Rx. If you are tired of high prices and need meds from Mexico, this store is a game changer. No prescription needed and secure. Visit here: https://pharm.mex.com/#. Best regards.
Greetings, Lately came across an amazing source from India for affordable pills. If you want to buy medicines from India cheaply, this store is worth checking. It has fast shipping to USA. Take a look: [url=https://indiapharm.in.net/#]IndiaPharm[/url]. Good luck.
Hey there, I recently ran into a trusted website for affordable pills. For those seeking and need cheap antibiotics, Pharm Mex is a game changer. Great prices plus secure. Visit here: [url=https://pharm.mex.com/#]safe mexican pharmacy[/url]. Peace.
Hello there! Would you mind if I share your blog with my myspace group?
There’s a lot of people that I think would really enjoy your content.
Please let me know. Thanks
Hello! I’ve been following your website for some time now and finally got the bravery to go ahead and give you a shout out from Huffman Texas! Just wanted to tell you keep up the excellent job!
Morgan here — I’ve tried providing liquidity and the clear transparency impressed me. Great for cross-chain swaps with minimal slippage.
I personally find that i was skeptical, but after a few days of staking, the clear transparency convinced me.
Greetings, I just stumbled upon a useful online drugstore for affordable pills. If you want to buy ED meds at factory prices, IndiaPharm is very reliable. You get fast shipping guaranteed. Take a look: https://indiapharm.in.net/#. Good luck.
Wonderful web site. A lot of helpful information here. I’m sending it to several friends ans additionally sharing in delicious. And certainly, thank you on your sweat!
Hey there, Just now came across a trusted resource to buy medication. For those seeking and want cheap antibiotics, this site is highly recommended. Fast shipping and very reliable. Link is here: Pharm Mex Store. Best of luck.
I was skeptical, but after half a year of using the bridge, the stable performance convinced me. Perfect for both new and experienced traders.
Hello everyone, I recently discovered an awesome website for affordable pills. If you want to save money and need meds from Mexico, this site is highly recommended. No prescription needed and it is safe. Check it out: [url=https://pharm.mex.com/#]this site[/url]. Thanks!
Hello there, just became aware of your blog through Google, and found that it is really informative. I am gonna watch out for brussels. I’ll be grateful if you continue this in future. Many people will be benefited from your writing. Cheers!
A person necessarily lend a hand to make seriously posts I’d state.
This is the first time I frequented your web page and up to now?
I amazed with the research you made to make this actual publish extraordinary.
Great process!
My web blog – vitamintoto situs terpercaya
統一獅賽程、戰績、球員數據,一應俱全,讓您隨時掌握最愛球隊的最新動態。
1xbet registration promo code bangladesh
Hi there Dear, are you in fact visiting this web site regularly, if so then you will without doubt get good know-how.