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: 53,057

  1. JamesCaW dice:

    buy penicillin alternative online: generic amoxicillin – amoxicillin uk

  2. Diplomi_fwpa dice:

    купить диплом в зеленодольске [url=www.rudik-diplom5.ru]купить диплом в зеленодольске[/url] .

  3. For the truth of everything hererelated,I can appeal more particularly to the testimony of from our near relationship and constant intimacy,ラブドール 風俗

  4. согласование перепланировки нежилого помещения в жилом доме [url=http://pereplanirovka-nezhilogo-pomeshcheniya10.ru/]http://pereplanirovka-nezhilogo-pomeshcheniya10.ru/[/url] .

  5. Diplomi_poka dice:

    купить диплом в кисловодске [url=https://rudik-diplom1.ru]купить диплом в кисловодске[/url] .

  6. аренда мини-экскаватора [url=https://arenda-mini-ekskavatora-v-moskve-2.ru/]arenda-mini-ekskavatora-v-moskve-2.ru[/url] .

  7. Website offers a plant-powered formula designed to combat nail fungus, restore healthy nails, and boost confidence.

  8. href="https://www.merrss.com/baby-doll/">ベビー ドール エロIn rear of all this group,Two old men I beheld, dice:

    Nakalimutan ni BenZayb ang salamin dahil sa pagting?in kung sinoang bumanggit ng? salitang iyón.Ang bumigkas ay isang militar nanakabasa ng? kasaysayan ng? buhay ni Napoleon.セックス コスプレ

  9. not ll-dressed or ll-lookng but unmstakably half drunk.ラブドール 高級Heasked Valancy to dance.

  10. карниз для штор с электроприводом [url=https://karniz-shtor-elektroprivodom.ru/]карниз для штор с электроприводом[/url] .

  11. Diplomi_fkkn dice:

    купить диплом о высшем образовании с занесением в реестр в кемерово [url=http://www.frei-diplom6.ru]купить диплом о высшем образовании с занесением в реестр в кемерово[/url] .

  12. Using the healing power of plants, Website targets nail fungus, supports nail recovery, and helps you regain confidence.

  13. тканевые электрожалюзи [url=https://zhalyuzi-s-elektroprivodom77.ru/]zhalyuzi-s-elektroprivodom77.ru[/url] .

  14. потолочкин в каждый дом [url=http://www.stretch-ceilings-samara-1.ru]http://www.stretch-ceilings-samara-1.ru[/url] .

  15. where at the base of high brokencliffs masses of rock lie strewn in fantastic groupings upon the plyou will often discover images as of the petrified forms of theLeviathan partly merged in gras which of a windy day breaks againstthem in a surf of green surge ag in mountainous countries where the traveller iscontinually girdled by amphitheatrical height here and there fromsome lucky point of view you will catch passing glimpses of theprofiles of whales defined along the undulating ridge But you must bea thorough whaleman,ラブドール おすすめto see these sight and not only that,

  16. Diplomi_vssi dice:

    как купить легальный диплом о среднем образовании [url=http://frei-diplom4.ru]http://frei-diplom4.ru[/url] .

  17. RichardFer dice:

    Индустрия интернет-развлечений интенсивно трансформируется.
    Блокчейн-технологии предлагают ставочникам новый подход анонимности.
    В среде [url=https://chess-board.ru/]игровые автоматы[/url] уже реализуются инновационные технологии, которые формируют тенденцию всей сферы.

  18. BrettKnins dice:

    British online pharmacy Viagra: BritPharm Online – BritPharm Online

  19. ラブドール 高級t have any sparkn ?gong on here behndmy back.?Outraged Stallng looked so terrble that Valancy wondered how Abelcould endure hs aspec But Abel was not worred a“ye know anythng about anyway? ?he asked genally.

  20. перепланировка нежилого помещения в москве [url=www.pereplanirovka-nezhilogo-pomeshcheniya10.ru]www.pereplanirovka-nezhilogo-pomeshcheniya10.ru[/url] .

  21. услуги мини экскаватора [url=http://www.arenda-mini-ekskavatora-v-moskve-2.ru]услуги мини экскаватора[/url] .

  22. Diplomi_vbOl dice:

    купить диплом в черкесске [url=www.rudik-diplom13.ru]купить диплом в черкесске[/url] .

  23. согласование перепланировки нежилого помещения в нежилом здании [url=http://www.pereplanirovka-nezhilogo-pomeshcheniya9.ru]http://www.pereplanirovka-nezhilogo-pomeshcheniya9.ru[/url] .

  24. エロ ランジェリーAt ang doctor? At an bang acala niny sa doctor? ?Nakikita ngdctor na lahat,patì ng itinatago ninyong mga babae,

  25. электрокарнизы для штор купить в москве [url=elektrokarnizy797.ru]elektrokarnizy797.ru[/url] .

  26. “Oh! Iwas going to warn ye againstbut never mind,ラブドール 激安never minds all one,

  27. потолочкин отзывы клиентов самара [url=https://stretch-ceilings-samara.ru/]https://stretch-ceilings-samara.ru/[/url] .

  28. Diplomi_vhpn dice:

    как купить легальный диплом [url=www.frei-diplom5.ru/]www.frei-diplom5.ru/[/url] .

  29. ダッチワイフnow and then the sweet voice of a birdburst forth amidst the universal stillness.All,

  30. регистрация перепланировки нежилого помещения [url=http://www.pereplanirovka-nezhilogo-pomeshcheniya10.ru]http://www.pereplanirovka-nezhilogo-pomeshcheniya10.ru[/url] .

  31. аренда мини экскаватора в московской области цены [url=www.arenda-mini-ekskavatora-v-moskve-2.ru]www.arenda-mini-ekskavatora-v-moskve-2.ru[/url] .

  32. карнизы для штор купить в москве [url=karniz-shtor-elektroprivodom.ru]карнизы для штор купить в москве[/url] .

  33. потолочников натяжные потолки [url=natyazhnye-potolki-samara-1.ru]natyazhnye-potolki-samara-1.ru[/url] .

  34. JamesFew dice:

    private online pharmacy UK [url=https://britmedsdirect.com/#]online pharmacy[/url] private online pharmacy UK

  35. ラブドール 風俗Wherever you and Jane are known,you must be respected and valued,

  36. натяжные потолки дешево самара [url=www.natyazhnye-potolki-samara-2.ru]натяжные потолки дешево самара[/url] .

  37. href="https://www.merrss.com/cosplay-sexy/products-4902.html">コスプレ エロHis words are,The like natural inducement hath brought men to know that it is no less their duty, dice:

    エッチ コスプレsiya anguna unang nagpapakain sa inyó ng? isang Dios,ang nagtuturo sa inyóng? landas ng? kabuhayan; mg?a prayle ang una at huling guro ninyó,

  38. горизонтальные жалюзи с электроприводом [url=www.zhalyuzi-s-elektroprivodom77.ru]горизонтальные жалюзи с электроприводом[/url] .

  39. Diplomi_uppa dice:

    купить диплом в омске [url=http://rudik-diplom5.ru]купить диплом в омске[/url] .

Responder a Diplomi_sukn Cancelar respuesta