

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: 113,217
https://nyupharm.xyz/# canada discount pharmacy
In dubioque fuit sub utrorum regna cadendum Omnibus humanis esset,terraque marique.人形 エロ
https://pentvars.edu.gh/the-new-covid-19-viral-strain-what-we-need-to-know-mr-arthur-mensah-dr-mrs-abigail-kyei/
https://nyupharm.xyz/# canadian pharmacy ed medications
I have fun with, result in I found just what I used to
be looking for. You have ended my four day lengthy hunt!
God Bless you man. Have a nice day. Bye
The wife of the countryman,ロボット エロthough she may work harder and grow oldearlier,
This is a topic which is near to my heart… Take care! Exactly where are your contact details
though?
We’re a group of volunteers and starting a new scheme in our community.
Your web site offered us with valuable information to work on. You have done a formidable job and our entire community
will be thankful to you.
オナドールhe was alarmed at finding few people there and so being moreconspicuou and he had thought of turning back.Though he was almostfalling from fatigue,
[url=https://natashki.com/]Natashki.com: A World of Bright Encounters. No Fakes, No Limits. All in One Place. Join for Free. >>>[/url]
h
There’s certainly a great deal to learn about this issue.
I like all of the points you’ve made.
http://unmpharm.com/# п»їmexican pharmacy
Thus awaking from the long night of what seemed,but was not,ロシア エロ
https://kingshouse.gov.jm/governor-generals-statement-on-the-passing-of-ambassador-the-honourable-anthony-johnson-oj/
I like the valuable info you provide in your articles.
I’ll bookmark your blog and check again here regularly. I
am quite certain I’ll learn a lot of new stuff right here!
Good luck for the next!
world pharmacy india: Umass India Pharm – Umass India Pharm
canadian online pharmacy reviews [url=https://nyupharm.xyz/#]canada drugs online review[/url] canadian pharmacy india
http://unmpharm.com/# modafinil mexico online
перевод деловой переписки в бюро [url=https://dzen.ru/a/aUF9L-xpMETlRIxo/]dzen.ru/a/aUF9L-xpMETlRIxo[/url] .
переводы с испанского языка [url=https://dzen.ru/a/aUWp3zsYcxGIPJhQ/]dzen.ru/a/aUWp3zsYcxGIPJhQ[/url] .
What’s up, all the time i used to check weblog posts here in the early hours in the dawn, since i like to learn more and more.
My brother suggested I might like this website. He was totally right.
This post truly made my day. You can not imagine just how much time I had spent for this info!
Thanks!
Hi to every one, the contents existing at this website are
actually awesome for people knowledge, well, keep up the good work fellows.
I like it whenever people get together and share
opinions. Great blog, keep it up!
вывод. из. запоя. на. дому. москва. [url=https://vyvod-iz-zapoya-4.ru/]vyvod-iz-zapoya-4.ru[/url] .
вывод из запоя московская область [url=https://vyvod-iz-zapoya-5.ru/]вывод из запоя московская область[/url] .
Hi there! This is kind of off topic but I need some advice from an established blog.
Is it tough to set up your own blog? I’m not very techincal but I can figure things out pretty quick.
I’m thinking about making my own but I’m not sure where to start.
Do you have any ideas or suggestions? Thanks
перевод с английского цена [url=https://dzen.ru/a/aUBBvahMInGNj8BL/]dzen.ru/a/aUBBvahMInGNj8BL[/url] .
I all the time used to read article in news papers but now as I
am a user of internet therefore from now I am using net for posts, thanks to web.
Can you tell us more about this? I’d like to find
out some additional information.
A scarlet halo begins to glow; and into it the Devil rises,veryMephistophelean,ラブドール アニメ
Hello would you mind letting me know which webhost you’re working with?
I’ve loaded your blog in 3 completely different web browsers and I must say this
blog loads a lot faster then most. Can you suggest a good internet
hosting provider at a honest price? Kudos, I appreciate it!
Заказать диплом любого ВУЗа поспособствуем. Купить диплом магистра в Томске – [url=http://diplomybox.com/kupit-diplom-magistra-v-tomske/]diplomybox.com/kupit-diplom-magistra-v-tomske[/url]
When the purchase is at last made,セックス ドールthere is still some time to be spent by the customer in waiting untilthe clerk has made an abstruse calculation upon his _soroban_,
best india pharmacy [url=https://umassindiapharm.xyz/#]Umass India Pharm[/url] Umass India Pharm
Generally I do not learn post on blogs, but I wish to say that
this write-up very pressured me to take a look at and
do it! Your writing style has been surprised me.
Thanks, very nice article.
Useful info. Fortunate me I discovered your site accidentally, and I am
shocked why this accident didn’t took place in advance!
I bookmarked it.
Hey! I know this is kinda off topic however I’d
figured I’d ask. Would you be interested in trading links or maybe guest writing a
blog article or vice-versa? My blog discusses a
lot of the same subjects as yours and I
believe we could greatly benefit from each other. If you might be interested feel free to shoot me
an e-mail. I look forward to hearing from you! Superb blog by the way!
Withal,ラブドール エロa manto be rather pitied when he is not to be feared; for there is somethingpathetic about him at times,
Hi, i feel that i noticed you visited my blog so i came to return the prefer?.I’m trying to
in finding issues to enhance my web site!I assume its good enough to use some of your ideas!!
перевод договора перевод и право [url=https://telegra.ph/Srochnyj-perevod-dogovora-kak-ulozhitsya-v-24-chasa-bez-poteri-kachestva-12-15]telegra.ph/Srochnyj-perevod-dogovora-kak-ulozhitsya-v-24-chasa-bez-poteri-kachestva-12-15[/url] .
http://unmpharm.com/# Unm Pharm
whoah this weblog is wonderful i really like studying your articles.
Stay up the good work! You recognize, lots of
persons are looking around for this information, you can help them greatly.
into some ordinary and nameless grave.As this awful conviction forced itself,ロシア エロ
Howdy! This is kind of off topic but I need some help from an established blog.
Is it very hard to set up your own blog? I’m not very techincal but I can figure things
out pretty fast. I’m thinking about setting up
my own but I’m not sure where to start. Do you have any tips or
suggestions? Thanks
Hi, i feel that i saw you visited my site so i came
to return the want?.I’m attempting to to find things to improve my
web site!I assume its good enough to make use of some of your ideas!!
although both his parents,ラブドール エロare of Presburg descent.
This platform exceeded my expectations with clear transparency and reliable uptime.
The writing and reading at the beginning,aretaught simultaneously,ロボット エロ
Hello! Do you know if they make any plugins
to protect against hackers? I’m kinda paranoid about losing
everything I’ve worked hard on. Any recommendations?