

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: 119,339
I’m really enjoying the design and layout of your site. It’s a very easy on the eyes which makes it much more pleasant for me to come
here and visit more often. Did you hire out a designer to create your theme?
Great work!
A fascinating discussion is worth comment. I do think that you need to publish more about this topic, it might not be a taboo matter but typically people don’t talk about such issues. To the next! Best wishes!!
Hey! I could have sworn I’ve been to this blog before but after
reading through some of the post I realized it’s new to me.
Anyhow, I’m definitely delighted I found it and I’ll be bookmarking and checking
back often!
Here is my blog :: buy xanax without prescrition
OMT’s flexible understanding devices individualize tһe trip, transforming math into ɑ cherished buddy
ɑnd motivating steady exam commitment.
Prepare fоr success іn upcoming tests ᴡith OMT
Math Tuition’s proprietary curriculum, developed tο cultivate critical thinking ɑnd seⅼf-confidence in every student.
Αs mathematics underpins Singapore’ѕ reputation for excellence іn international
benchmarks ⅼike PISA, math tuition іs essential tо unlocking a child’ѕ p᧐ssible аnd
protecting academic benefits іn thіѕ core subject.
Tuition stresses heuristic analytical аpproaches, essential fоr tackling PSLE’s
tough ԝord issues thɑt need multiple actions.
Linking mathematics ideas tο real-world circumstances tһrough tuition strengthens understanding, mаking O Level application-based inquiries extra approachable.
Ꮤith A Levels affеcting career courses іn STEM fields, math
tuition reinforces foundational abilities fоr future university
researches.
OMT’ѕ one-of-a-kind strategy incluԀes а
curriculum that enhances tһe MOE structure with joint elements,
urging peer conversations օn math ideas.
OMT’s online ѕystem promotes seⅼf-discipline lor, trick
to constant study аnd higһer examination resᥙlts.
Team math tuition in Singapore promotes peer understanding, inspiring pupils tο press
harder for superior exam гesults.
Feel free tⲟ surf to my web-site – maths tuition assignments singapore
купить диплом бакалавра с занесением [url=www.r-diploma29.ru/]купить диплом бакалавра с занесением[/url] .
мост бет скачать [url=www.mostbet2032.help]www.mostbet2032.help[/url]
Wonderful blog you have here but I was curious if you knew of any discussion boards that
cover the same topics discussed in this article?
I’d really like to be a part of community
where I can get feed-back from other knowledgeable individuals that share the same interest.
If you have any recommendations, please let me know.
Thank you!
скачать приложение мостбет [url=http://mostbet2032.help/]http://mostbet2032.help/[/url]
I like the valuable information you provide in your articles.
I’ll bookmark your weblog and check again here regularly.
I am quite sure I’ll learn plenty of new stuff right here!
Best of luck for the next!
купить икону матрозаказать кабриолет на свадьбу с водителем московская
I’m really impressed with your writing skills as well
as with the layout on your blog. Is this a paid theme or did you modify it yourself?
Anyway keep up the excellent quality writing, it is rare to see a nice
blog like this one nowadays.
https://rapidgator.net/file/08910c8dd258a8628c43bf757a390263/Code_promo_1xBet_VIP_2026___1XBUM_–_Bonus_exclusif_169000_XAF.pdf.html
An interesting discussion is definitely worth comment. I do believe that you need to write more about this issue, it might not be a taboo subject but typically people don’t discuss these subjects. To the next! All the best!!
мостбет казино зеркало [url=www.mostbet2032.help]www.mostbet2032.help[/url]
Every weekend i used to visit this web site, as
i want enjoyment, for the reason that this this site conations actually fastidious funny data too.
When some one searches for his vital thing, thus he/she wishes to be
available that in detail, thus that thing is maintained over here.
https://drc.uog.edu.et/aviator-oyna-v%c9%99-qazan-r%c9%99smi-sayti-aviator-azerbayca/
An intriguing discussion is worth comment. I do think that you ought to write more on this issue, it may not be a taboo subject but typically folks don’t speak about these subjects. To the next! Cheers!!
Aviator online — динамичная игра с коэффициентами в казино https://electrospeed.teamforum.ru/viewtopic.php?f=3&t=8069