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: 126,232

  1. ラブドール えろIt’s no surprise that com is so highly praised.outstanding customer service,

  2. allowing me to create a doll that perfectly matches my preferences.The site’s intuitive design made the customization experience both enjoyable and stress-free.リアル ドール

  3. Cazrmpd dice:

    Не каждый работодатель проводит подробную проверку дипломов. Большинство компаний вполне доверяют претендентам и без проблем принимают их документы. В подобной ситуации приобретение диплома университета является разумным решением. Не придется терять массу времени и денег на учебу. Мы можем предложить дипломы любой профессии по приятным ценам: [url=http://emploiexpert.com/employer/russiany-diplomx/]emploiexpert.com/employer/russiany-diplomx[/url]

  4. blogger Alex has regularly posted articles that delve into topics ranging from digital art and virtual reality to ancient crafts.With its in-depth analysis and diverse content,ラブドール エロ

  5. I was able to find good information from your blog posts.

  6. It’s remarkable for me to have a web site, which is useful in favor of my know-how.
    thanks admin

    Stop by my web-site sildenafil citrate 50 mg

  7. When I originally commented I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on each time a comment is added I get four emails with the same comment. Perhaps there is a way you can remove me from that service? Kudos!

  8. Hello, I do think your blog might be having browser compatibility issues.
    Whenever I take a look at your blog in Safari, it looks fine but when opening in Internet Explorer,
    it has some overlapping issues. I just wanted to provide you with a quick heads up!
    Other than that, fantastic website!

  9. wild dice:

    After I initially left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and now each time a comment is added I get four emails with the exact same comment. There has to be a means you are able to remove me from that service? Appreciate it!

  10. betway dice:

    After I originally left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on each time a comment is added I receive four emails with the same comment. Is there a way you are able to remove me from that service? Appreciate it!

  11. After I originally left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and now whenever a comment is added I receive 4 emails with the same comment. There has to be a way you can remove me from that service? Thanks!

  12. n1 dice:

    When I originally left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and now every time a comment is added I get 4 emails with the exact same comment. There has to be an easy method you can remove me from that service? Thanks a lot!

  13. Cazrvpv dice:

    Мы готовы предложить дипломы любой профессии по невысоким тарифам. Цена может зависеть от выбранной специальности, года получения и ВУЗа: [url=http://demo.safecircle.family/read-blog/28036_kupit-diplom-kolledzha.html/]demo.safecircle.family/read-blog/28036_kupit-diplom-kolledzha.html[/url]

  14. phcity dice:

    After I initially left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and now whenever a comment is added I get 4 emails with the exact same comment. Perhaps there is a way you can remove me from that service? Thanks a lot!

  15. ph365 dice:

    When I initially commented I seem to have clicked on the -Notify me when new comments are added- checkbox and now whenever a comment is added I receive four emails with the exact same comment. Perhaps there is an easy method you can remove me from that service? Thanks a lot!

  16. When I originally commented I seem to have clicked on the -Notify me when new comments are added- checkbox and now each time a comment is added I get 4 emails with the same comment. Perhaps there is a means you are able to remove me from that service? Cheers!

  17. jilievo dice:

    After I initially left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and now each time a comment is added I get four emails with the exact same comment. Perhaps there is an easy method you can remove me from that service? Appreciate it!

  18. After I originally commented I seem to have clicked the -Notify me when new comments are added- checkbox and from now on every time a comment is added I recieve four emails with the exact same comment. There has to be a means you are able to remove me from that service? Kudos!

  19. index dice:

    After I originally commented I appear to have clicked on the -Notify me when new comments are added- checkbox and now whenever a comment is added I recieve four emails with the same comment. Perhaps there is an easy method you are able to remove me from that service? Appreciate it!

  20. betsul dice:

    When I initially commented I seem to have clicked the -Notify me when new comments are added- checkbox and from now on every time a comment is added I get four emails with the same comment. Is there an easy method you can remove me from that service? Kudos!

  21. When I originally commented I seem to have clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I receive 4 emails with the exact same comment. There has to be an easy method you can remove me from that service? Cheers!

  22. NK88 dice:

    Thank you for some other great post. Where else could anybody get that type of info in such an ideal
    means of writing? I’ve a presentation subsequent
    week, and I’m at the look for such information.

  23. I done so,and then we all three started on agai The young chap wasmighty thankful,コスプレ エロ い

  24. After I originally left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on every time a comment is added I recieve four emails with the exact same comment. Is there an easy method you can remove me from that service? Thank you!

  25. コスプレ セックスOne dragged aside: an old womanpeeping.Nose whiteflattened against the pane.

  26. I like the valuable information you provide in your articles.
    I will bookmark your weblog and check again here frequently.

    I am quite certain I will learn lots of new stuff right here!
    Best of luck for the next!

  27. After I originally commented I seem to have clicked the -Notify me when new comments are added- checkbox and now whenever a comment is added I get four emails with the exact same comment. There has to be an easy method you can remove me from that service? Appreciate it!

  28. lu88 dice:

    After I originally commented I seem to have clicked the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I receive four emails with the exact same comment. Is there a way you can remove me from that service? Thanks!

  29. threatening to come down,えろ コスプレpeeping at the airslits.

  30. When I originally left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and now every time a comment is added I receive 4 emails with the exact same comment. Is there a means you can remove me from that service? Appreciate it!

  31. f9 bet dice:

    After I initially commented I appear to have clicked the -Notify me when new comments are added- checkbox and now every time a comment is added I get four emails with the same comment. Perhaps there is an easy method you are able to remove me from that service? Appreciate it!

  32. When I originally commented I appear to have clicked the -Notify me when new comments are added- checkbox and now whenever a comment is added I receive four emails with the exact same comment. Is there a way you are able to remove me from that service? Kudos!

  33. 7bit casino dice:

    After I originally left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on every time a comment is added I recieve four emails with the same comment. Perhaps there is a way you can remove me from that service? Kudos!

  34. and began to pin herrose in her head-dres before she looked at the figure.下着 エロIt was curiou The moment Madame Defarge took up the rose,

  35. Cazrhlq dice:

    Мы изготавливаем дипломы любых профессий по приятным тарифам. Заказать диплом о высшем образовании [url=http://camlive.ovh/read-blog/58323_kupit-diplom-o-vysshem-obrazovanii.html/]camlive.ovh/read-blog/58323_kupit-diplom-o-vysshem-obrazovanii.html[/url]

  36. ?says the duke.コスプレ エロ い“The first good town we come to we,

  37. After I originally commented I appear to have clicked the -Notify me when new comments are added- checkbox and now every time a comment is added I get four emails with the exact same comment. Perhaps there is a way you can remove me from that service? Kudos!

  38. After I originally left a comment I appear to have clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I recieve four emails with the exact same comment. There has to be a means you can remove me from that service? Kudos!

  39. 1win_ctKa dice:

    1win website [url=http://1win5740.help]1win website[/url]

Responder a tower conquest hacked apk Cancelar respuesta