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: 113,706

  1. Yupoo Chanel dice:

    Awesome issues here. I’m very happy to peer your post.
    Thanks so much and I am having a look forward to touch you.
    Will you please drop me a mail?

  2. 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

  3. Bath Linen dice:

    Link exchange is nothing else but it is only placing the other
    person’s weblog link on your page at suitable place and other person will also do
    similar for you.

  4. This platform exceeded my expectations with seamless withdrawals and trustworthy service. I moved funds across chains without a problem.

  5. RichardHex dice:

    If you want to save on pharmacy costs, I recommend visiting this report. It shows where to buy cheap. Good deals found here: п»їpolkcity.us.com.

  6. Fast onboarding, easy onboarding, and a team that actually cares. The mobile app makes daily use simple.

  7. DavidHiera dice:

    сайт [url=https://pinup-660-casino.com]casino pin-up[/url]

  8. Danielsnoni dice:

    п»їRecently, I discovered a useful guide concerning generic pills from India. It covers WHO-GMP protocols when buying antibiotics. If anyone wants Trusted Indian sources, check this out: п»їdetails. Hope it helps.

  9. Danielsnoni dice:

    п»їRecently, I stumbled upon an informative page concerning cheap Indian generics. The site discusses CDSCO regulations for generic meds. In case you need cheaper alternatives, go here: п»їhttps://kisawyer.us.com/# buy medicines online in india. Good info.

  10. CharlesTof dice:

    you could check here
    [url=https://battery-online-game.com/apps]battery bet app download[/url]

  11. Ralphkic dice:

    п»їRecently, I stumbled upon a helpful report regarding buying affordable antibiotics. It explains the manufacturing standards for ED medication. If you are looking for Trusted Indian sources, read this: п»їreputable indian online pharmacy. Worth a read.

  12. What’s up mates, its impressive paragraph about tutoringand entirely
    explained, keep it up all the time.

  13. Ralphkic dice:

    п»їLately, I discovered a great article concerning generic pills from India. It covers the manufacturing standards for generic meds. In case you need Trusted Indian sources, read this: п»їhttps://kisawyer.us.com/# indian pharmacies safe. Hope it helps.

  14. Danielsnoni dice:

    п»їTo be honest, I found a great guide regarding buying affordable antibiotics. The site discusses CDSCO regulations for ED medication. For those interested in factory prices, go here: п»їinformation. Hope it helps.

  15. Danielsnoni dice:

    п»їLately, I stumbled upon an informative guide about cheap Indian generics. It covers WHO-GMP protocols for generic meds. If you are looking for Trusted Indian sources, read this: п»ї[url=https://kisawyer.us.com/#]kisawyer.us.com[/url]. Hope it helps.

  16. RichardHex dice:

    Just wanted to share, an official analysis on Mexican Pharmacy safety. The author describes how to avoid scams for antibiotics. Link: п»ї[url=https://polkcity.us.com/#]Upstate Medical[/url].

  17. togel online dice:

    This website certainly has all of the information and facts I needed
    about this subject and didn’t know who to ask.

  18. Ralphkic dice:

    п»їLately, I stumbled upon an informative guide regarding cheap Indian generics. It explains CDSCO regulations when buying antibiotics. If you are looking for factory prices, read this: п»їhttps://kisawyer.us.com/# top 10 pharmacies in india. Worth a read.

  19. I switched from another service because of the trustworthy service and stable performance.

  20. DavidHiera dice:

    такой [url=https://pinup-660-casino.com/]Pin Up зеркало[/url]

  21. устный перевод [url=https://teletype.in/@alexd78/bAaorQAhWLU]teletype.in/@alexd78/bAaorQAhWLU[/url] .

  22. I personally find that i’ve been active for a year, mostly for staking, and it’s always responsive team.

  23. перевод с французского языка на немецкий [url=https://teletype.in/@alexd78/NZfh6vi0oTl]teletype.in/@alexd78/NZfh6vi0oTl[/url] .

  24. RichardHex dice:

    Has anybody tried buying generic pills online. I ran into a decent post that ranks best pharmacies: п»їhttps://polkcity.us.com/# п»їmexican pharmacy. What do you think?.

  25. LloydRop dice:

    I was wondering about getting antibiotics without prescription. I found a cool archive that ranks trusted vendors: п»їvisit. Looks legit.

  26. перевод инструкций медицинских [url=https://teletype.in/@alexd78/jIFmn5Kf9xl]teletype.in/@alexd78/jIFmn5Kf9xl[/url] .

  27. сео продвижение по трафику clover [url=https://prodvizhenie-sajtov-po-trafiku2.ru/]сео продвижение по трафику clover[/url] .

  28. раскрутка сайтов по трафику [url=https://prodvizhenie-sajtov-po-trafiku1.ru/]раскрутка сайтов по трафику[/url] .

  29. трафиковое продвижение seo [url=https://prodvizhenie-sajtov-po-trafiku.ru/]prodvizhenie-sajtov-po-trafiku.ru[/url] .

  30. переводчики синхронный перевод [url=https://telegra.ph/Trebovaniya-k-sinhronnomu-perevodchiku-navyki-sertifikaty-opyt–i-pochemu-ehto-vazhno-12-16]telegra.ph/Trebovaniya-k-sinhronnomu-perevodchiku-navyki-sertifikaty-opyt–i-pochemu-ehto-vazhno-12-16[/url] .

  31. ec88_onMa dice:

    [url=https://ec88-online.com/]ec88[/url] offers favorable conditions for playing and fast payouts.
    Ec88 also includes numerous table game options to enrich the casino experience.

  32. ec88_xmMa dice:

    [url=https://ec88-online.com/]ec 88[/url] offers favorable conditions for playing and fast payouts.
    The variety of games combined with attractive bonuses makes Ec88 a favored choice among players.

  33. ec88_pgMa dice:

    [url=https://ec88-online.com/]ec88[/url] offers favorable conditions for playing and fast payouts.
    Round-the-clock customer service is offered to help users resolve any difficulties or inquiries.

  34. The cross-chain transfers tools are low fees and reliable uptime.

  35. сео центр [url=https://seo-kejsy1.ru/]seo-kejsy1.ru[/url] .

  36. продвижение сайта клиники наркологии [url=https://seo-kejsy.ru/]seo-kejsy.ru[/url] .

  37. раскрутка сайта франция цена [url=https://prodvizhenie-sajtov-v-moskve1.ru/]prodvizhenie-sajtov-v-moskve1.ru[/url] .

  38. RichardHex dice:

    Heads up, an official overview on Mexican Pharmacy safety. It explains how to avoid scams for antibiotics. Source: п»ї[url=https://polkcity.us.com/#]order medicine from mexico[/url].

  39. создать сайт прогнозов на спорт в москве [url=https://seo-kejsy2.ru/]создать сайт прогнозов на спорт в москве[/url] .

  40. staking defi dice:

    I was skeptical, but after over two years of swapping tokens, the low fees convinced me.

  41. Ralphkic dice:

    п»їJust now, I stumbled upon an interesting resource concerning ordering meds from India. It explains the manufacturing standards for generic meds. If you are looking for Trusted Indian sources, read this: п»їhttps://kisawyer.us.com/# indian pharmacy online. Good info.

  42. advice dice:

    Have you ever thought about writing an ebook or guest authoring
    on other blogs? I have a blog based on the same
    topics you discuss and would really like to have you share some stories/information. I know
    my viewers would enjoy your work. If you are even remotely interested, feel
    free to shoot me an e mail.

  43. RichardHex dice:

    Sharing, an official analysis on Mexican Pharmacy safety. It breaks down quality control for antibiotics. You can read it here: п»їhttps://polkcity.us.com/# pharmacy online.

  44. CharlesTof dice:

    Full Report
    [url=https://battery-online-game.com/apps]battery bet app download apk[/url]

  45. RichardHex dice:

    FYI, a detailed analysis on FDA equivalent standards. It explains how to avoid scams for antibiotics. You can read it here: п»їhttps://polkcity.us.com/# best mexican pharmacy.

Responder a paraswap multichain Cancelar respuesta