

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,960
It’s very simple to find out any topic on net as compared to books, as I found this post at this website.
As the admin of this site is working, no doubt very soon it
will be famous, due to its quality contents.
Thank you very much for sharing, I learned a lot from your article. Very cool. Thanks.
в используемых первых партиях с реальными соперниками не допускайте типичных ошибок https://bellydancephotography.com/ покерного «чайника».
aşağıda/sayfada, bonus türlerini görebilirsiniz yapabilirsiniz/başarabilirsiniz https://shagnastysgrillandbar.com/best-links-for-gambling-telegram-happygrannypies-5-2/ Türkiye topraklarında|içinde kendileri {sunan siteler tarafından sunulan işte {neden/bu nedenle} {çok/çok} {yüksek|ulaşılamaz/en yüksek}.
I was suggested this web site by my cousin Im not sure whether this post is written by him as no one else know such detailed about my trouble You are incredible Thanks
with us available bank cards paypal, neteller, skrill, boa, wells fargo, https://the-hidden-wiki.top/?ref=Direct, bank cards states and Europe, fake for furnaces ATMs.
Windows 10 Pro lisansları hakkında daha fazla bilgi için EkstraLisans.com’u ziyaret edin ve avantajlardan yararlanmaya başlayın.
I must thank you for the efforts you have put in penning this
site. I am hoping to see the same high-grade content from you in the future as well.
In fact, your creative writing abilities has motivated me to get my own, personal website now
😉
I all the time used to study article in news papers but now as I am a
user of net so from now I am using net for posts,
thanks to web.
Undeniably believe that that you said. Your favourite reason seemed to be on the web the
simplest factor to take into account of. I say to you, I certainly get irked even as folks consider issues that they just do not understand about.
You controlled to hit the nail upon the top and outlined out the whole
thing without having side-effects , folks could take a signal.
Will probably be back to get more. Thank you
The day started quickly, with an unexpected defeat by https://https://gagdetfrontal.com//. on this path Veldhuis had several failures, including an unsuccessful blind against
Pretty great post. I just stumbled upon your blog and wanted
to say that I have really enjoyed browsing your
blog posts. In any case I will be subscribing on your rss feed and I’m hoping you write again soon!
I got this web site from my pal who informed me concerning this site
and now this time I am visiting this web
page and reading very informative posts at this time.
Joint Genesis Reviews, Pricing, and bonuses visit here: joint genesis
Joint Genesis Reviews, Pricing, and bonuses visit here: joint genesis
Joint Genesis Reviews, Pricing, and bonuses visit here: joint genesis
Bu soba, içindeki yakıtın yanmasıyla oluşan ısıyı doğrudan çevresine yayar ve aynı zamanda suyun ısınmasını sağlar.
Joint Genesis Reviews, Pricing, and bonuses visit here: joint genesis
Joint Genesis Reviews, Pricing, and bonuses visit here: joint genesis
Joint Genesis Reviews, Pricing, and bonuses visit here: joint genesis
Heya i am for the first time here. I came across this
board and I to find It truly useful & it helped me out a lot.
I am hoping to present something back and help others like you helped me.
Joint Genesis Reviews, Pricing, and bonuses visit here: joint genesis
Joint Genesis Reviews, Pricing, and bonuses visit here: joint genesis
Joint Genesis Reviews, Pricing, and bonuses visit here: joint genesis
Your point of view caught my eye and was very interesting. Thanks. I have a question for you. https://accounts.binance.com/sl/register?ref=PORL8W0Z
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me? https://www.binance.com/es-MX/register?ref=JHQQKNKN
sugar defender reviews: https://sugardefenderreviews.pages.dev
sugar defender reviews: https://sugardefenderreviews.pages.dev
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
sugar defender reviews: https://sugardefenderreviews.pages.dev
sugar defender reviews: https://sugardefenderreviews.pages.dev
sugar defender reviews: https://sugardefenderreviews.pages.dev
sugar defender reviews: https://sugardefenderreviews.pages.dev
sugar defender reviews: https://sugardefenderreviews.pages.dev
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Hi, I want to recommend you a website for fast and free video downloading in various formats including MP4, M4A, 3GP from various sources.
sugar defender reviews: https://sugardefenderreviews.pages.dev
systeme io: https://systemee.systeme.io/
systeme io: https://systemee.systeme.io
systeme io: https://systemee.systeme.io
systeme io: https://systemee.systeme.io
systeme io: https://systemee.systeme.io
systeme io: https://systemee.systeme.io
sugar defender reviews: https://systemee.systeme.io
systemen io: https://systemee.systeme.io
systemen io: https://systemee.systeme.io
systemen io: https://systemee.systeme.io
systemen io: https://systemee.systeme.io
systemen io: https://systemee.systeme.io