Infraestructura como código

Festival Politraining Industria 4.0

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: 81,653

  1. ラブドール エロBut so blind is the experience ofman that what I conceived to be the best assistants to my plan may haveentirely destroyed it.You,

  2. and soon dining atLongbourn,エロ リアルand the conclusion of all was the comfortable declaration,

  3. “YeI thought I did see four or five me but it was too dim to be sure.ラブドール 激安?“Very dim,

  4. A motivating discussion is worth comment. I believe that you
    should write more about this subject matter, it may not
    be a taboo subject but usually folks don’t talk about these subjects.
    To the next! Cheers!!

  5. I shall be with you on yourwedding-night.ラブドール えろ?I started forward and exclaimed,

  6. TristanFag dice:

    trusted Kamagra supplier in the US [url=https://bluewavemeds.com/#]fast delivery Kamagra pills[/url] order Kamagra discreetly

  7. whether that primary body of the world,ラブドール オナニーbetween the spiritualupper waters and the inferior corporeal waters,

  8. as he had not been forsome time past.The room was immediately crowded,フィギュア 無 修正

  9. battery aviator game apk [url=http://www.aviator-game-winner.com]battery aviator game apk[/url] .

  10. It’s remarkable in support of me to have a web page, which is valuable designed for my know-how.
    thanks admin

    My web blog … تزریق سرم در منزل شرق تهران

  11. ラブドール おすすめprecisely,that food consist At time when closely pursue he willdisgorge what are supposed to be the detached arms of the squi someof them thus exhibited exceeding twenty and thirty feet in length.

  12. Good day! I could have sworn I’ve been to this site before but after reading through
    some of the post I realized it’s new to me. Anyways, I’m definitely delighted I found it and I’ll be bookmarking and checking back frequently!

  13. ” she announced.“I don’t thinkmuch of the master,エロ フィギュア 無 修正

  14. Ahab had purposely sailed upon the present voyage with the oneonly and all-engrossing object of hunting the White Whal Had any oneof his old acquaintances on shore but half dreamed of what was lurkingin him how soon would their aghast and righteous souls havewrenched the ship from such a fiendish man! They were bent onprofitable cruise the profit to be counted down in dollars from themint.He was intent on an audaciou immitigable,オナホ フィギュア

  15. Terrific work! That is the type of information that are meant to
    be shared across the net. Disgrace on Google for
    not positioning this post upper! Come on over and seek
    advice from my web site . Thank you =)

  16. He steered away from but the savage craft bore down on him,ラブドール おすすめand soon the voice ofSteelkilt hailed him to heave to,

  17. plane crash earning app [url=https://www.aviator-game-predict.com]https://www.aviator-game-predict.com[/url] .

  18. opposinghis filed teeth to the Indian,オナホ フィギュアs: crosswise to them,

  19. TristanFag dice:

    AeroMedsRx [url=https://aeromedsrx.xyz/#]Sildenafil Citrate Tablets 100mg[/url] AeroMedsRx

  20. when by this collision forced to turn towards home,オナホ フィギュアand for longmonths of days and week Ahab and anguish lay stretched together inone hammock,

  21. Вип эскорт в Санкт-Петербурге для самых требовательных эскорт услуги питер

  22. TristanFag dice:

    EveraMeds [url=https://everameds.xyz/#]EveraMeds[/url] Generic Cialis price

  23. Old thngs had passed away,ラブドール 高級everythng had become new.

  24. ラブドール オナニーin the name of a righteous man.So verilyshall the one receive the reward of a prophet,

  25. Davidkib dice:

    AeroMedsRx: Cheap Viagra 100mg – AeroMedsRx

  26. Kennethlek dice:

    kamagra: kamagra – trusted Kamagra supplier in the US

  27. карниз с приводом [url=http://elektrokarniz-dlya-shtor11.ru/]http://elektrokarniz-dlya-shtor11.ru/[/url] .

  28. Davidkib dice:

    kamagra: Blue Wave Meds – order Kamagra discreetly

  29. Kennethlek dice:

    Sildenafil 100mg price: AeroMedsRx – AeroMedsRx

  30. sex dollthat like the vessels of military marine the shipsof the American Whale Fleet have each a private signal,all whichsignals being collected in a book with the names of the respectivevessels attached,

Responder a ラブドール Cancelar respuesta