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: 69,816

  1. HaroldPsype dice:

    irishpharmafinder: online pharmacy – buy medicine online legally Ireland

  2. топ сетевых компаний россии [url=www.reiting-seo-agentstv.ru]www.reiting-seo-agentstv.ru[/url] .

  3. JohnnyHaf dice:

    Aussie Meds Hub Australia: Aussie Meds Hub Australia – verified pharmacy coupon sites Australia

  4. bandar togel dice:

    Hi there, everything is going perfectly here and ofcourse every one is sharing
    facts, that’s really fine, keep up writing.

  5. HaroldVap dice:

    https://ukmedsguide.shop/# non-prescription medicines UK

  6. HaroldPsype dice:

    best Irish pharmacy websites: top-rated pharmacies in Ireland – trusted online pharmacy Ireland

  7. crypto dice:

    Hello there, I discovered your website by the use of Google while
    searching for a similar topic, your web site got here up,
    it looks good. I have bookmarked it in my google bookmarks.

    Hello there, simply changed into alert to your weblog through Google, and found that it is truly informative.
    I am gonna be careful for brussels. I’ll be grateful if you continue this
    in future. Many other people will probably be benefited out of your writing.

    Cheers!

  8. мостбет кз скачать [url=www.mostbet12034.ru]www.mostbet12034.ru[/url]

  9. HaroldPsype dice:

    pharmacy delivery Ireland: trusted online pharmacy Ireland – online pharmacy ireland

  10. Edmundrhify dice:

    Irish online pharmacy reviews

  11. HaroldPsype dice:

    Aussie Meds Hub Australia: pharmacy online – pharmacy discount codes AU

  12. There was a timid and suppressed womanin attendance (wife of the man down-stairs),エロ い コスプレwho had retreated intoa corner.

  13. コスプレ エロ いso I didt want the plan to begin workingtill pretty late to-night.I says:“Miss ll tell you what ll do,

  14. mostbet skacat [url=https://mostbet12033.ru/]https://mostbet12033.ru/[/url]

  15. Edmundrhify dice:

    top-rated pharmacies in Ireland

  16. HaroldPsype dice:

    Irish Pharma Finder: affordable medication Ireland – trusted online pharmacy Ireland

  17. скачать официальное приложение мостбет [url=https://mostbet12034.ru]скачать официальное приложение мостбет[/url]

  18. рейтинг seo компаний [url=https://www.reiting-seo-agentstv.ru]рейтинг seo компаний[/url] .

  19. na santong tunay.?Paririto ac bucas bago ac umalis.下着 エッチ

  20. mostbet скачать на андроид официального сайта [url=https://mostbet12034.ru]https://mostbet12034.ru[/url]

  21. HaroldPsype dice:

    Irish Pharma Finder: best Irish pharmacy websites – online pharmacy

  22. matadorbet dice:

    Fırat Engin bahis siteleri, Casino Siteleri Nargül Engin,
    Slot Siteleri Hüseyin Engin, Deneme Bonusu Veren Siteler Ahmet Engin, Mehdi Deneme Bonusu, Mehdi Deneme
    bonusu veren siteler

  23. JohnnyHaf dice:

    verified pharmacy coupon sites Australia: verified online chemists in Australia – pharmacy online

  24. RevaNail dice:

    By combining nature’s most effective ingredients, Website treats nail fungus, supports nail health, and restores confidence in your hands and feet.

  25. HaroldPsype dice:

    online pharmacy reviews and ratings: promo codes for online drugstores – online pharmacy

  26. топ сео компаний [url=reiting-seo-agentstv.ru]reiting-seo-agentstv.ru[/url] .

  27. RevaNail dice:

    This natural formula is designed to combat fungal infections, promote healthier nails, and restore confidence, all in a few simple steps.

  28. HaroldPsype dice:

    online pharmacy ireland: irishpharmafinder – buy medicine online legally Ireland

  29. продвижение сайтов в топ 10 москва [url=http://reiting-kompanii-po-prodvizheniyu-sajtov.ru]продвижение сайтов в топ 10 москва[/url] .

  30. мостбет сайт вход [url=https://www.mostbet12033.ru]https://www.mostbet12033.ru[/url]

  31. Edmundrhify dice:

    Irish online pharmacy reviews

  32. Hermanvow dice:

    UK online pharmacies list [url=http://ukmedsguide.com/#]safe place to order meds UK[/url] non-prescription medicines UK

  33. Diplomi_btma dice:

    где купить диплом техникума каким [url=https://frei-diplom10.ru]где купить диплом техникума каким[/url] .

  34. Diplomi_ufei dice:

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

  35. I am truly pleased to glance at this blog posts which consists of
    tons of useful data, thanks for providing
    such statistics.

  36. топ сетевых компаний россии [url=http://www.reiting-seo-agentstv.ru]http://www.reiting-seo-agentstv.ru[/url] .

  37. Edmundrhify dice:

    trusted online pharmacy Ireland

  38. Hermanvow dice:

    verified online chemists in Australia [url=https://aussiemedshubau.shop/#]online pharmacy australia[/url] Aussie Meds Hub

  39. コスプレ エロ 画像with women screamingbefore it,and men clutching each other and clutching children out ofits way.

  40. сео продвижение компания [url=reiting-seo-agentstv.ru]сео продвижение компания[/url] .

  41. top 10 seo [url=https://reiting-seo-agentstv.ru/]reiting-seo-agentstv.ru[/url] .

  42. JohnnyHaf dice:

    cheap medicines online UK: non-prescription medicines UK – UK online pharmacies list

  43. JohnnyHaf dice:

    cheap medicines online UK: best UK pharmacy websites – affordable medications UK

  44. russian seo [url=http://reiting-seo-agentstv.ru]http://reiting-seo-agentstv.ru[/url] .

  45. mostbet. [url=https://mostbet12034.ru/]mostbet.[/url]

  46. скачать мостбет на андроид бесплатно [url=https://mostbet12034.ru/]https://mostbet12034.ru/[/url]

  47. рейтинг компаний по продвижению сайтов [url=www.reiting-seo-agentstv.ru/]www.reiting-seo-agentstv.ru/[/url] .

Responder a mostbet_kg_niol Cancelar respuesta