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: 75,640

  1. was the most disagreeable period of his wholelife,because the manner in which he had entered into the servicesubjected him to the particular observation and notice of the Frenchofficers,最 高級 ラブドール

  2. and youngyounger than Deborah,as shestood trembling and shivering by her.リアルラブドール

  3. slot dice:

    Gurutoto atau guru toto adalah situs slot dan togel online terpercaya dengan fitur login link alternatif yang terdaftar resmi aman dan terpercaya.

  4. mostbet kg [url=http://mostbet12039.ru]http://mostbet12039.ru[/url]

  5. RobertHauck dice:

    canadian pharmacy online: affordable medications from Canada – canadian pharmacy

  6. agen slot dice:

    Having read this I thought it was rather enlightening.

    I appreciate you taking the time and effort to put this article together.
    I once again find myself personally spending a lot of time
    both reading and posting comments. But so what,
    it was still worth it!

  7. мост бет бетгеймс [url=https://www.mostbet12039.ru]https://www.mostbet12039.ru[/url]

  8. Jerryevile dice:

    safe Canadian pharmacies for Americans [url=https://doctornorthrx.com/#]DoctorNorthRx[/url] Doctor North Rx

  9. they had from time to timeas the years went by withdrawn and replaced themselve Were they orwere they no she sometimes wondered,フィギュア オナホcontemplating them between thecourses of her solitary meal the same goldfish that had that day beenthere when Carlylehow well she remembered itangrily strode up to themin the middle of some argument with her father that had grown heated,

  10. tocultivate.えろ 人形I begin it sooner than I intended,

  11. ロボット エロfor his mind was as it were clouded at moments andhe was almost unconscious of his body…. An instant later he heard thelatch unfastened.CHAPTER VIIThe door was as before opened a tiny crack,

  12. kl9966.com dice:

    Hello! I could have sworn I’ve been to this site before but after looking
    at a few of the articles I realized it’s new to me. Anyhow, I’m definitely pleased I stumbled upon it
    and I’ll be book-marking it and checking back frequently!

  13. andnow,ラブドール 販売as he stood gazing at the shadow of his own loveliness,

  14. 高級 ラブドールs mllon Eh? ?“Mllons! ?sad Valancy fantly.She wshed she could st downsomewhereshe wshed she could have a chance to thnkshe wshed sheand the Blue Castle could snk to the bottom of Mstaws and vanshfrom human sght forevermore.

  15. せっくす どー るas a pattern and reproach.He remained unaltered by all their effortsand expostulations,

  16. m98bet dice:

    Amazing! Its in fact remarkable article, I have got much clear idea on the
    topic of from this post.

  17. Casos reales, soluciones reales para mujeres que aman demasiado https://lasmujeresqueamandemasiadopdf.cyou/ Descarga gratis el manual que ha salvado millones de relaciones y vidas.

  18. Robin Norwood revela por qué te atraen hombres que te hacen sufrir https://lasmujeresqueamandemasiadopdf.cyou/ Descarga gratis y descubre cómo romper este ciclo. Más de 3M de copias vendidas.

  19. Curtissweta dice:

    Doctor North Rx: canada pharmacy world – trusted Canadian generics

  20. Larrypit dice:

    Dr Meds Advisor [url=https://drmedsadvisor.xyz/#]certified Mexican pharmacy discounts[/url] verified Mexican pharmacies USA delivery

  21. Curtissweta dice:

    mexico pharmacy: Dr Meds Advisor – mexican pharmacy

  22. Curtissweta dice:

    trusted Mexican drugstores online: mexican pharmacy – trusted Mexican drugstores online

  23. RobertHauck dice:

    DrIndiaMeds: trusted medical sources from India – doctor recommended Indian pharmacy

  24. ,tis enough tomake any Christian vomit both gut and gall, ?and indeed by the wryfaces he made while he ran to the door, his stomach seemed ready tojustify this last assertion.The abbe,ラブドール 最 高級

  25. мостбет кз скачать [url=http://mostbet12039.ru/]http://mostbet12039.ru/[/url]

Responder a Curtissweta Cancelar respuesta