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: 120,749

  1. everbet dice:

    As far as we know, {none of the relevant blacklisted {club|casino} mentions everbet.

  2. Cazrtas dice:

    Заказать диплом университета по доступной стоимости возможно, обратившись к проверенной специализированной фирме: [url=http://publikacii.listbb.ru/viewtopic.php?f=3&t=3515/]publikacii.listbb.ru/viewtopic.php?f=3&t=3515[/url]

  3. дайсон официальный сайт фен цена [url=https://dn-fen-kupit.ru/]dn-fen-kupit.ru[/url] .

  4. Diplomi_eoSn dice:

    диплом медсестры с аккредитацией купить [url=frei-diplom13.ru]диплом медсестры с аккредитацией купить[/url] .

  5. купить дайсон стайлер для волос официальный сайт цена с насадкам… [url=https://dn-fen-kupit.ru/]dn-fen-kupit.ru[/url] .

  6. Hello there I am so excited I found your blog page, I really found you by accident, while I was researching on Yahoo for something else, Anyways I am here now and would just like to
    say thanks for a marvelous post and a all round exciting blog
    (I also love the theme/design), I don’t have time to browse it
    all at the moment but I have book-marked
    it and also included your RSS feeds, so when I have time I
    will be back to read more, Please do keep up the superb work.

  7. Alan dice:

    View Blog – I appreciate the real-world relevance you added here.

  8. A fascinating discussion is worth comment. I believe that you need to publish more about this subject matter, it may not be a taboo matter but usually folks don’t speak about such issues. To the next! All the best!!

  9. стайлер для волос дайсон с насадками официальный сайт купить цен… [url=https://dn-fen-kupit.ru/]стайлер для волос дайсон с насадками официальный сайт купить цен…[/url] .

  10. дайсон официальный сайт стайлер для волос с насадками купить цен… [url=https://dn-fen-kupit.ru/]дайсон официальный сайт стайлер для волос с насадками купить цен…[/url] .

  11. Confidence,for they proceed from theconscience of Power.オナドール

  12. Diplomi_ffSn dice:

    можно купить диплом медсестры [url=www.frei-diplom13.ru]можно купить диплом медсестры[/url] .

  13. fi88 dice:

    An intriguing discussion is definitely worth comment. There’s no doubt that that you ought to publish more about this subject matter, it might not be a taboo matter but usually folks don’t talk about these issues. To the next! Best wishes!!

  14. looking very highly displeased.リアルラブドール“‘Tell your mother I have flogged Peter,

  15. dyson v12 пылесос [url=https://pylesos-dn-1.ru/]dyson v12 пылесос[/url] .

  16. стайлер купить дайсон официальный сайт [url=https://stajler-dsn.ru/]stajler-dsn.ru[/url] .

  17. дайсон фен оригинал купить [url=https://stajler-dsn.ru/]дайсон фен оригинал купить[/url] .

  18. купить пылесос dyson v15 москва [url=https://pylesos-dn-1.ru/]pylesos-dn-1.ru[/url] .

  19. купить дайсон фен в москве у официального дилера [url=https://stajler-dsn.ru/]stajler-dsn.ru[/url] .

  20. пылесосы дайсон официальный [url=https://pylesos-dn-1.ru/]пылесосы дайсон официальный[/url] .

  21. купить фен дайсон официальный [url=https://stajler-dsn.ru/]stajler-dsn.ru[/url] .

  22. KO66 dice:

    Appreciate the recommendation. Will try it out.

  23. Diplomi_xgSn dice:

    где купить дипломы медсестры [url=https://www.frei-diplom13.ru]где купить дипломы медсестры[/url] .

  24. купить оригинальный пылесос дайсон [url=https://pylesos-dn-1.ru/]pylesos-dn-1.ru[/url] .

  25. 12bet dice:

    A motivating discussion is definitely worth comment. There’s no doubt that that you ought to write more about this issue, it may not be a taboo subject but typically folks don’t speak about such topics. To the next! Best wishes!!

  26. کلینیک فوق تخصصی روشنک با بیش از
    یک دهه تجربه در درمان بیماری‌های نشیمنگاهی مانند بواسیر، شقاق،
    فیستول و کیست مویی، با بهره‌گیری از روش‌های نوین و پیشرفته مانند درمان با لیزر، بهترین خدمات
    تخصصی را به بیماران ارائه می‌دهد.
    این مرکز با تیمی مجرب و تجهیزات مدرن، علاوه
    بر درمان موثر، آموزش‌های پیشگیری و مشاوره‌های تخصصی را نیز در
    اختیار مراجعین قرار می‌دهد تا
    سلامت و کیفیت زندگی آن‌ها بهبود یابد.
    برای کسب اطلاعات بیشتر و دریافت
    مشاوره رایگان، به وب‌سایت کلینیک
    روشنک مراجعه کنید و از خدمات
    تخصصی ما بهره‌مند شوید.

  27. Article writing is also a fun, if you know after that you can write if not it is complicated to write.

    Here is my site; таможенный брокер Москва консультация

  28. blue bet app dice:

    An intriguing discussion is worth comment. I believe that you ought to write more on this subject, it might not be a taboo subject but generally people do not talk about such subjects. To the next! Many thanks!!

Responder a moto simulator hacked apk Cancelar respuesta