

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: 25,386
Good info. Lucky me I found your website by chance
(stumbleupon). I have book-marked it for later!
ремонт кофемашин сименс ремонт кофемашин цены
or—choked with a chicken-bone,or—or hung,ベビー ドール エロ
I’m not certain the place you are getting your information, but great topic.
I must spend some time finding out much more or figuring out more.
Thank you for great info I was in search of this info for my mission.
размещение 1с в облаке 1с облако вход
ремонт швейных машин недорого ремонт швейных машин
Currently it seems like Expression Engine is the best blogging platform out there right now.
(from what I’ve read) Is that what you’re using on your blog?
It’s very straightforward to find out any matter on net
as compared to books, as I found this post at this
site.
エロ コスチュームFor under such conditions,the school becomes itself a form of social life,
Hey I am so excited I found your blog page, I really found you by
accident, while I was searching on Bing for something else, Anyways I am here now and would just like to say many thanks for a incredible post and a all round entertaining blog (I also love the
theme/design), I don’t have time to browse it all at the moment but I have saved it and also included your RSS feeds, so when I have
time I will be back to read a lot more, Please do keep up the awesome work.
Reliable knowledge Cheers.
ProDentim is receiving a lot of positive feedback for
its unique approach to oral health by supporting the balance of
good bacteria in the mouth. Many users report fresher breath, healthier gums, and whiter teeth after regular
use. It’s an interesting choice for those wanting to improve dental wellness from
the inside out.
My programmer is trying to persuade me to move to .net from PHP.
I have always disliked the idea because of the costs. But he’s tryiong none the less.
I’ve been using Movable-type on several websites for
about a year and am anxious about switching to another platform.
I have heard fantastic things about blogengine.net.
Is there a way I can transfer all my wordpress content into it?
Any kind of help would be greatly appreciated!
1с облако подключить купить 1с облако
?Que piensan?
Gente, ?alguien sabe — donde retirar sin pasaporte? Estoy jugando aqui: [url=ebingo-casino.com]Registrate y juega[/url]
Verificacion sencilla
VPN no necesario, todo funciona
エロ コスチュームeven though theirsocial bearing may not be thought of at the time of performance.Forevery act,
ремонт швейных машин janome ремонт швейных машин
облако решений 1с 1с клауд облако
1с бухгалтерия облако цена https://1c-oblako-msk.ru
ремонт швейных машин dexp ремонт швейных машин brother
услуги ремонта швейных машин ремонт швейных машин чайка
ベビー ドール エロbut cultivated various arts and even sciences after a fashion of their own.It is related of them that they were acute in many respects,
MediDirect USA: MediDirect USA – online pharmacy vardenafil
My spouse and I stumbled over here by a different page and thought I might check things
out. I like what I see so now i am following you.
Look forward to exploring your web page for a second time.
upon the receipt ofany injury,with a present purpose of reveng1 Envy.海外 コスプレ えろ
Официальный Telegram канал 1win Casinо. Казинo и ставки от 1вин. Фриспины, актуальное зеркало официального сайта 1 win. Регистрируйся в ван вин, соверши вход в один вин, получай бонус используя промокод и начните играть на реальные деньги.
https://t.me/s/Official_1win_kanal/4421
Legs,コス エロand his fellow Hugh Tarpaulin,
Thanks for finally writing about > Infraestructura como código – Politraining < Liked it!