

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: 14,969
At 360PropertyVideos, we help you show properties in the best way.
We make it easy for buyers and sellers to connect by
using photos and videos that stand out.
I’ll surely recommend this.
The thoroughness in this piece is remarkable.
You’ve clearly done your homework.
At this moment I am going away to do my breakfast, afterward having
my breakfast coming over again to read further news.
Thanks for the marvelous posting! I really enjoyed reading it, you may be a great author.
I will remember to bookmark your blog and may come back down the road.
I want to encourage you to ultimately continue your great work, have a nice afternoon!
The moon sheds her subtle impact on all with this, adding to the variables. The above image shows a secure protocol ( is being used with the fraudster. So like a buyer, you may need to identify an authentic online pharmacy that is certainly licensed and sells only Food and Drug Administration (FDA) approved medicines.
https://www.cafiac.com/?q=fr/idea/lotrel-shop-internet
I really valued the approach this was laid out.
This online pharmacy is basically very helpful for old ailing patients and physically disabled persons. Screaming, yelling, demanding things, or just being rude won’t help the situation. After you completed the account, you may now select a payment scheme.
http://en.sp-journal.ru/article/18886
I particularly liked the manner this was explained.
Heya outstanding website! Does running a blog like this require a lot of work?
I have very little understanding of computer
programming however I had been hoping to start my own blog
soon. Anyway, if you have any recommendations or techniques for new
blog owners please share. I understand this is off subject however I simply wanted to ask.
Thanks a lot!
I learned a lot from this.
I discovered useful points from this.
Zuerst war ich etwas skeptisch, als ich von versheeglobalrealtors.com gehört
habe. Inzwischen existieren ja eine riesige Auswahl Casinos,
also war ich erst mal vorsichtig. Aber das
Angebot ohne eigenes Risiko fand ich dann doch interessant, und ich wurde tatsächlich überrascht.
Sobald ich mich bei Spinmama eingeloggt habe wurde ein Bonus freigeschaltet, und das komplett ohne Einzahlung.
Die Plattform ist technisch sauber, egal ob am PC oder
mobil in der App. Richtig cool finde ich: Nicht nur
neue Spieler profitieren. Das ist definitiv ein Alleinstellungsmerkmal.
Ich kann’s ehrlich empfehlen. Wer ohne Risiko durchstarten will,
kommt an Spinmama nicht vorbei.
More articles like this would make the blogosphere richer.
We were going for the big city to view a doctor, therefore it made sense. The local temperature in the medicine producing country is one as well as the other country could be another, and also the avian temperature will be the other. Make certain you take the time to ask about a more affordable version in order that they will look at the list.
http://profile.homemaven.com/node/5027
I’ll surely be back for more.
This is the kind of post I value most.