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: 36,951

  1. エロ フィギュア 無 修正becross with me.I’ve been so used in my early days to having people crossat me that I can endure it much better than Diana can.

  2. Hi there, the whole thing is going fine here and ofcourse every one is
    sharing facts, that’s really fine, keep up writing.

  3. kinogo_kypl dice:

    смотреть фильмы онлайн [url=http://kinogo-11.top]http://kinogo-11.top[/url] .

  4. как узаконить перепланировку нежилого помещения [url=pereplanirovka-nezhilogo-pomeshcheniya1.ru]pereplanirovka-nezhilogo-pomeshcheniya1.ru[/url] .

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

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

  7. Nice response in return of this question with firm arguments and describing everything on the topic of
    that.

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

  9. kinogo_nepl dice:

    советские фильмы смотреть онлайн бесплатно [url=www.kinogo-11.top/]www.kinogo-11.top/[/url] .

  10. the flood with the current,オナホ フィギュア{I have never heard of your doing any such bold deeds.

  11. разрешение на перепланировку нежилого помещения не требуется [url=https://pereplanirovka-nezhilogo-pomeshcheniya.ru]https://pereplanirovka-nezhilogo-pomeshcheniya.ru[/url] .

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

  13. EnriqueAmipt dice:

    http://mannerkraft.com/# online apotheke preisvergleich

  14. This post is priceless. Where can I find out more?

  15. LimoFamoPro dice:

    What’s up friends, how is all, and what you wish for to say regarding this post, in my view its in fact amazing designed for me.

  16. What’s up everybody, here every person is sharing these knowledge, so it’s nice to read this web
    site, and I used to pay a visit this blog daily.

  17. Have you ever thought about writing an e-book
    or guest authoring on other blogs? I have a blog based upon on the same information you discuss and would love
    to have you share some stories/information. I know my audience would enjoy your work.
    If you’re even remotely interested, feel free to shoot me
    an e mail.

  18. DonaldNorgo dice:

    online apotheke günstig: günstige medikamente direkt bestellen – medikamente rezeptfrei

  19. EnriqueAmipt dice:

    https://mannerkraft.shop/# online apotheke deutschland

  20. yet even of them,ラブドール オナニーthe material operations are many anddivers; and one thing growing out of another,

  21. Depoxito dice:

    Great article! As an Online Slot fan, I look for ways to optimize my jackpots, especially by playing in games that have a high RTP. Recently, I came across an amazing site at https://www.depoxitopremium.com/ which has a high RTP and also an official license. For me, this was a breakthrough—well worth trying.

  22. DonaldNorgo dice:

    potenzmittel diskret bestellen: Intim Gesund – Viagra 100 mg ohne Rezept

  23. kinogo_glpl dice:

    фильмы онлайн без подписки [url=kinogo-11.top]kinogo-11.top[/url] .

  24. согласование перепланировок нежилых помещений [url=www.pereplanirovka-nezhilogo-pomeshcheniya3.ru]www.pereplanirovka-nezhilogo-pomeshcheniya3.ru[/url] .

  25. let him tell them of garments that dazzle the eye for glory and riches.銉┿儢銉夈兗銉?銈儕銉嬨兗“”Robes of Rome?” Martha asked with keen interest as I saw them in banquet hall and amphitheatre.

  26. If some one wishes to be updated with newest technologies therefore
    he must be pay a quick visit this website and
    be up to date daily.

  27. узаконивание перепланировки нежилого помещения [url=pereplanirovka-nezhilogo-pomeshcheniya2.ru]pereplanirovka-nezhilogo-pomeshcheniya2.ru[/url] .

  28. united kingdom gambling commission, bingo canada login and united statesn online poker rooms,
    or united states online casino news

    Here is my site; British Pronunciation For Roulette

  29. The rivalry between them was soon apparent; it was entirely good naturedon Gilbert’s side; but it is much to be feared that the same thingcannot be said of who had certainly an unpraiseworthy tenacity forholding grudges.She was as intense in her hatreds as in her loves.エロ フィギュア 無 修正

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

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

  32. согласовать перепланировку нежилого помещения [url=pereplanirovka-nezhilogo-pomeshcheniya.ru]pereplanirovka-nezhilogo-pomeshcheniya.ru[/url] .

Responder a terra fighter 2 fighting game hack Cancelar respuesta