

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: 27,906
Excellent write-up. I definitely appreciate this website. Keep it up!
Safe access to generic ED medication: Fast-acting ED solution with discreet packaging – Fast-acting ED solution with discreet packaging
Hello! Quick question that’s entirely off topic.
Do you know how to make your site mobile friendly? My web site looks weird when viewing from my apple
iphone. I’m trying to find a theme or plugin that might be able to fix this issue.
If you have any recommendations, please share. Appreciate it!
Koitoto
リアルラブドールand if you,ll ask about him to-morrow morning,
In January, Maryum Mohammad visited Botonics Plastic Surgery Group in London to receive cosmetic filler from Naruschka Henriques,
a listed mental health nurse prescriber online, as she has done annually for the
past seven years.
Asking questions are really fastidious thing if
you are not understanding anything totally, except
this paragraph offers pleasant understanding even.
medyum almanya
Kamagra oral jelly USA availability: Compare Kamagra with branded alternatives – Compare Kamagra with branded alternatives
구글 아이디 판매, 구글 계정 구매를
고려한다면 반드시 알아야 할 안전한 거래 방법과 유의사항을 확인하세요.
Anyswap
togelon login
Thank you for every other fantastic article. The place else could anyone get that kind of info in such an ideal manner of writing?
I’ve a presentation next week, and I’m on the search for such info.
medyum almanya
I simply could not depart your site prior to suggesting that I extremely
enjoyed the usual info an individual provide to your visitors?
Is gonna be back continuously in order to check up
on new posts
togelon login
You actually make it seem really easy along with your presentation but I to find this
topic to be actually one thing which I believe I would by no means understand.
It seems too complicated and extremely extensive
for me. I’m having a look forward in your subsequent put up,
I will attempt to get the hold of it!
Alpaca Finance
RepairCdDvD 2.7 is a data recovery program for damaged CD, DVD media,recover data from corrupted dvd. The program is effective when the discs are scratched or badly recorded CD, DVD. The work of the program is risk-free. The process of repairing disks is write as an ISO image. RepairCdDvD v2.7 software to Recover Data from scrached and bad error on CD,DVD include CD+R/RW,DVD+R/RW. https://repaircddvd.com
togelon login
dingdongtogel login
I would like to thank you forr the efforts you’ve putt in writing this site.
I’m hoping to check out the same high-grade content from you in the future as well.
In truth, your creative writing abilities has inspired me to get my
own, personal website now 😉
Feel free to surf to my page :: сервис aeg москва
generic viagra online pharmacy canada: buy female viagra from united states – SildenaPeak
Simply want to say your article is as amazing. The clearness in your post is just excellent and i could assume you’re an expert on this subject.
Well with your permission let me to grab your RSS feed to keep updated with forthcoming post.
Thanks a million and please continue the gratifying work.
Safe access to generic ED medication [url=https://kamameds.shop/#]Affordable sildenafil citrate tablets for men[/url] Fast-acting ED solution with discreet packaging
togelon
What makes this academy different is that you don’t just learn RTM, you actually experience it with
FSCM. Professor Yashar really knows how to keep it practical.
The introduction of FORTH gave me tools I can use right
away in live trading.
Online sources for Kamagra in the United States: Affordable sildenafil citrate tablets for men – Online sources for Kamagra in the United States
dingdongtogel
Alpaca Finance
This is very interesting, You are a very skilled blogger.
I’ve joined your feed and look forward to seeking more of your wonderful
post. Also, I’ve shared your web site in my social
networks!
Linetogel
Link exchange is nothing else however it is simply placing the other person’s web site link on your page at appropriate place and other
person will also do similar in support of you.
Лечение алкогольной зависимости на дому — это действенный способ лечения алкоголизма, который позволяет оперативно устранить симптомы абстиненции и повысить общее состояние больного. Услуги нарколога на дому всё чаще востребованы, так как множество людей выбирают не проходить лечение в стационаре. vivod-iz-zapoya-krasnoyarsk007.ru Процедура предполагает домашнюю детоксикацию, где помощь специалиста при алкоголизме осуществляется в комфортной обстановке. Капельница для снятия похмелья содержит лекарственные средства для очищения организма, которые способствуют очистить организм от токсинов и восстановить водно-электролитный баланс. Необходимо помнить о признаках абстинентного синдрома, таких как беспокойство, потливость и тремор. Поддержка близких при алкоголизме играет ключевую роль в эффективном лечении и реабилитации после длительного употребления алкоголя. Домашняя терапия включает в себя не только прокапывание, но и рекомендации по профилактике алкогольной зависимости, что содействует предотвращению повторных срывов и поддержанию трезвого образа жизни.
Somebody essentially help to make severely articles I’d state.
This is the very first time I frequented your web page and so far?
I amazed with the analysis you made to create this actual
submit extraordinary. Magnificent process!
Linetogel
Anyswap
I couldn’t refrain from commenting. Very well written!
plinko [url=www.plinko3002.ru]plinko[/url]
провайдеры по адресу
krasnoyarsk-domashnij-internet005.ru
какие провайдеры интернета есть по адресу красноярск
cialis how long: Tadalify – Tadalify
I visited various sites but the audio quality for audio songs current at
this web site is actually marvelous.