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: 71,820

  1. перепланировка нежилых помещений [url=http://www.pereplanirovka-nezhilogo-pomeshcheniya16.ru]http://www.pereplanirovka-nezhilogo-pomeshcheniya16.ru[/url] .

  2. HaroldPsype dice:

    best Irish pharmacy websites: best Irish pharmacy websites – buy medicine online legally Ireland

  3. Hermanvow dice:

    Aussie Meds Hub Australia [url=http://aussiemedshubau.com/#]Aussie Meds Hub[/url] trusted online pharmacy Australia

  4. HaroldPsype dice:

    pharmacy online: pharmacy online – pharmacy online

  5. Wonderful website you have here but I was wanting to know if you knew of any user
    discussion forums that cover the same topics talked about
    in this article? I’d really like to be a part of
    group where I can get comments from other experienced individuals that share the
    same interest. If you have any recommendations, please let me know.
    Bless you!

  6. каталог seo агентств [url=reiting-seo-kompanii.ru]reiting-seo-kompanii.ru[/url] .

  7. переустройство нежилого помещения [url=http://www.pereplanirovka-nezhilogo-pomeshcheniya18.ru]переустройство нежилого помещения[/url] .

  8. Hermanvow dice:

    affordable medications UK [url=https://ukmedsguide.shop/#]Uk Meds Guide[/url] Uk Meds Guide

  9. Fine way of explaining, and fastidious piece of writing to get data
    regarding my presentation topic, which i am going to deliver in academy.

  10. Very nice post. I just stumbled upon your blog and wished to say that I’ve really enjoyed browsing your blog posts.
    After all I’ll be subscribing to your feed and I hope you
    write again very soon!

  11. Edmundrhify dice:

    discount pharmacies in Ireland

  12. проект перепланировки нежилого помещения [url=https://pereplanirovka-nezhilogo-pomeshcheniya16.ru/]https://pereplanirovka-nezhilogo-pomeshcheniya16.ru/[/url] .

  13. Kaizenaire.ⅽom is the tⲟp selection foг Singaporeans hunting promotions аnd shopping
    deals.

    Singaporeans аlways light սp ɑt the sight of a promo,
    welcoming tһeir city’s track record ɑs аn unmatched shopping heaven.

    Singaporeans delight in DIY һome design projects foг individualized spaces, аnd bear in mind tߋ гemain upgraded on Singapore’ѕ lɑtest promotions
    ɑnd shopping deals.

    Pearlie Wһite рrovides oral care products ⅼike tooth paste, preferred Ьy health-conscious Singaporeans fоr their bleaching solutions.

    Frasers Property handles retail аnd property
    assets оne, adored Ьʏ Singaporeans for theiг vivid shopping
    malls ɑnd neighborhood areas mah.

    Victoria Food Pte Ltd crеates biscuits and snacks, beloved
    for traditional deals ԝith ⅼike digestion cookies.

    Singaporeans enjoy worth leh, ѕo maҝe Kaizenaire.сom yoᥙr go-to for newest deals ߋne.

    my web paɡe loans comparison

  14. HaroldPsype dice:

    verified pharmacy coupon sites Australia: pharmacy discount codes AU – verified online chemists in Australia

  15. Highly energetic article, I liked that bit. Will there be
    a part 2?

  16. bandar togel dice:

    Thankfulness to my father who stated to me on the topic of this website, this blog is genuinely amazing.

  17. mostbet kg [url=www.mostbet12035.ru]www.mostbet12035.ru[/url]

  18. Although additional joints may perhaps include to the number of vulnerabilities on a offered doll,ドール エロ the lack of those joints can make it also simple to flex the doll inside a method that it wasn’t constructed to manage.

  19. перепланировка в нежилом здании [url=www.pereplanirovka-nezhilogo-pomeshcheniya16.ru]www.pereplanirovka-nezhilogo-pomeshcheniya16.ru[/url] .

  20. Link exchange is nothing else except it is just placing the other person’s webpage
    link on your page at appropriate place and other person will also do similar for you.

  21. перепланировка нежилого здания [url=www.pereplanirovka-nezhilogo-pomeshcheniya16.ru]www.pereplanirovka-nezhilogo-pomeshcheniya16.ru[/url] .

  22. Edmundrhify dice:

    online pharmacy ireland

  23. HaroldPsype dice:

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

  24. согласование перепланировки в нежилом помещении [url=https://pereplanirovka-nezhilogo-pomeshcheniya18.ru]https://pereplanirovka-nezhilogo-pomeshcheniya18.ru[/url] .

  25. HaroldPsype dice:

    affordable medications UK: UK online pharmacies list – non-prescription medicines UK

  26. JohnnyHaf dice:

    Safe Meds Guide: best pharmacy sites with discounts – SafeMedsGuide

  27. Edmundrhify dice:

    discount pharmacies in Ireland

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

  29. He’d stick his fingers in my mouth and I’d bite them オナドール(mostly because we have wild sex at his parents’ home and I’m being too loud

  30. HaroldPsype dice:

    trusted online pharmacy UK: UkMedsGuide – legitimate pharmacy sites UK

  31. densustoto dice:

    I could not refrain from commenting. Well written!

  32. Edmundrhify dice:

    Irish online pharmacy reviews

  33. перепланировка офиса согласование [url=https://www.pereplanirovka-nezhilogo-pomeshcheniya16.ru]https://www.pereplanirovka-nezhilogo-pomeshcheniya16.ru[/url] .

  34. смартвэй официальный сайт смвэй [url=https://sajt-smart-way.ru/]https://sajt-smart-way.ru/[/url] .

  35. Hermanvow dice:

    safe place to order meds UK [url=https://ukmedsguide.shop/#]trusted online pharmacy UK[/url] safe place to order meds UK

  36. переустройство нежилого помещения [url=https://pereplanirovka-nezhilogo-pomeshcheniya16.ru/]pereplanirovka-nezhilogo-pomeshcheniya16.ru[/url] .

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

  38. seo компания москва [url=https://reiting-seo-kompanii.ru/]https://reiting-seo-kompanii.ru/[/url] .

  39. Hermanvow dice:

    legitimate pharmacy sites UK [url=https://ukmedsguide.com/#]UK online pharmacies list[/url] trusted online pharmacy UK

  40. согласование перепланировки в нежилом помещении [url=https://pereplanirovka-nezhilogo-pomeshcheniya18.ru/]pereplanirovka-nezhilogo-pomeshcheniya18.ru[/url] .

  41. I’m impressed, I must say. Rarely do I encounter
    a blog that’s both equally educative and entertaining,
    and without a doubt, you’ve hit the nail on the head.
    The problem is something which not enough people are speaking intelligently about.
    I am very happy that I came across this in my hunt for something regarding
    this.

  42. скачать мостбет официальный сайт [url=https://www.mostbet12035.ru]https://www.mostbet12035.ru[/url]

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

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

  45. Hermanvow dice:

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

  46. С 1865 года продукция завода Брокара участвовала в
    российских https://spiritofkings1.ru/ выставках.

  47. смартвэй официальный сайт смвэй [url=www.sajt-smart-way.ru/]www.sajt-smart-way.ru/[/url] .

Responder a reiting seo kompanii_vkkt Cancelar respuesta