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: 100,422

  1. покупка курсовой [url=https://www.kupit-kursovuyu-28.ru]покупка курсовой[/url] .

  2. Diplomi_eaKn dice:

    купить диплом стоимость [url=https://r-diploma6.ru]https://r-diploma6.ru[/url] .

  3. Diplomi_lvPt dice:

    диплом о высшем образовании купить в тюмени [url=https://r-diploma26.ru]диплом о высшем образовании купить в тюмени[/url] .

  4. заказать курсовую работу [url=www.kupit-kursovuyu-23.ru]заказать курсовую работу[/url] .

  5. заказать курсовую работу спб [url=https://kupit-kursovuyu-29.ru/]https://kupit-kursovuyu-29.ru/[/url] .

  6. Bryancof dice:

    nagad88 লগইন করুন [url=http://nagad88.top/#]nagad88[/url] Nagad88 আপডেটেড প্রবেশ ঠিকানা

  7. 推拿師 dice:

    https://je-tal-marketing-951.lon1.digitaloceanspaces.com/research/je-marketing-(128).html
    Straight-leg pants create a streamlined silhouette
    that subtly complements the velvet burnout-print prime and
    jacket.

  8. JuliusMap dice:

    https://fun88.sale/# Fun88 working link for Vietnam

  9. заказ курсовых работ [url=https://kupit-kursovuyu-30.ru/]заказ курсовых работ[/url] .

  10. 美人 せっくすandthough the big hospitals and the houses in Krems converted into militaryhospitals could no longer accommodate all the sick and yet thestand made at Krems and the victory over Mortier raised the spirits ofthe army considerably.Throughout the whole army and at headquartersmost joyful though erroneous rumors were rife of the imaginary approachof columns from Russia,

  11. t believe her! Do youremember how we and Nicholas,all three of us,女性 用 ラブドール

  12. free porn_ifEl dice:

    ?????????? [url=http://www.irinathediva.dk]??????????[/url] .

  13. As often happen the horses ofa convoy wagon became restive at the end of the bridge,and the wholecrowd had to wai“And why are they stopping? There,美人 せっくす

  14. помощь в написании курсовой [url=https://kupit-kursovuyu-27.ru]помощь в написании курсовой[/url] .

  15. ラブドール 激安but almost fell down with her burden.But the latter had alreadysucceeded in finding a towel,

  16. дипломные работы на заказ [url=https://kupit-kursovuyu-26.ru/]kupit-kursovuyu-26.ru[/url] .

  17. and to engage as many sailors as I thinknecessary among those who are accustomed to the whale-fishing.ロボット セックスI do notintend to sail until the month of June: and when shall I return? Ah,

  18. Bryancof dice:

    PLANBET বর্তমান প্রবেশ ঠিকানা [url=https://planbet.sbs/#]PLANBET বর্তমান প্রবেশ ঠিকানা[/url] PLANBET latest entry link

  19. Andrewsom dice:

    посмотреть в этом разделе [url=https://vodkabet-msk.com]водка бет[/url]

  20. ロボット セックス“I flew around like mad to get ready,and before forty-eight hours Iwas crossing the Channel to show myself to my employer and sign thecontract.

  21. где можно заказать курсовую [url=http://www.kupit-kursovuyu-21.ru]http://www.kupit-kursovuyu-21.ru[/url] .

  22. entreated him tospare her,confessing at the same time that she loved another,ロボット セックス

  23. курсовая заказать недорого [url=https://kupit-kursovuyu-28.ru/]kupit-kursovuyu-28.ru[/url] .

  24. was saved bya miracle–but his hands shook,ラブドール 激安too.

  25. “What a stupid thing ve done,等身 大 ラブドール“they have Soniaand I want it myself.

  26. заказать задание [url=http://kupit-kursovuyu-22.ru]http://kupit-kursovuyu-22.ru[/url] .

  27. Diplomi_onKt dice:

    в череповце купить диплом [url=https://r-diploma5.ru/]в череповце купить диплом[/url] .

  28. Bryancof dice:

    PLANBET এ ঢোকার আপডেটেড লিংক [url=http://planbet.sbs/#]PLANBET লগইন করার জন্য বর্তমান লিংক[/url] PLANBET latest entry link

  29. написание курсовой на заказ цена [url=www.kupit-kursovuyu-29.ru]написание курсовой на заказ цена[/url] .

  30. DouglasSweme dice:

    link Fun88 Vietnam dang ho?t d?ng: Fun88 working link for Vietnam – Fun88 Vietnam lien k?t truy c?p hi?n t?i

  31. Dennisslivy dice:

    Подробнее здесь [url=https://honey-money.io]honey money казино[/url]

  32. курсовая работа купить москва [url=https://kupit-kursovuyu-25.ru]https://kupit-kursovuyu-25.ru[/url] .

  33. написание студенческих работ на заказ [url=https://www.kupit-kursovuyu-24.ru]https://www.kupit-kursovuyu-24.ru[/url] .

  34. Diplomi_vrSn dice:

    диплом в перми купить [url=http://r-diploma1.ru/]диплом в перми купить[/url] .

  35. Jasonduh dice:

    Что подарить на 17 лет сыну и что подарить на выпускной из садика в Севастополе. Стеклянные елочные шары с логотипом и подарочные коробки оптом в дешево в Чебоксарах. Мини подарки на новый год коллегам и подарок другу на день рождения Спб в Кургане. Презент на день рождения и прикольные надписи на конверт с деньгами на день рождение в Костроме. Подарки оптом для сада и огорода и что подарить мужчине на пенсию [url=https://vk.com/stosuvenirov]подарок коллеги оптом[/url]

  36. Fun88Oxync dice:

    Nagad88 এ ঢোকার রেফারেন্স পেজ: Nagad88 কাজ করা লিংক Bangladesh – Nagad88 এ ঢোকার রেফারেন্স পেজ

  37. I had no difficulty infinding the Company,ロボット セックスs offices.

  38. DonaldAcaft dice:

    https://dabet.reviews/# Dabet Vietnam official entry

  39. Charlesval dice:

    посетить веб-сайт [url=https://sai-casino-3030.com]куш казино играть[/url]

  40. えろ 人形to names that signifie nothing,but are taken up,

  41. オナドールbut that he kept makingmistake though he saw for instance that a key was not the right oneand would not f still he tried to put it in.Suddenly he rememberedand realised that the big key with the deep notche which was hangingthere with the small keys could not possibly belong to the chest ofdrawers (on his last visit this had struck him),

  42. заказать дипломную работу в москве [url=https://www.kupit-kursovuyu-24.ru]https://www.kupit-kursovuyu-24.ru[/url] .

  43. Diplomi_jcKa dice:

    купить диплом медицинского колледжа отзывы [url=https://r-diploma23.ru]купить диплом медицинского колледжа отзывы[/url] .

Responder a kypit kyrsovyu_wnKn Cancelar respuesta