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: 81,695

  1. ”“You are a wicked creature!” cried Dorothy.“You have no right to takemy shoe from me.ラブドール 激安

  2. I hardly know how Collins was first introduced to hernotice,but he certainly has not known her long.えろ 人形

  3. before thisdeclaration,she had with pleasure perceived the progress which MadamClement had made in his heart; and that she did not believe there was aperson upon earth better qualified to repair the loss he had sustained;though she foresaw one obstacle to his happiness,ラブドール 無 修正

  4. ラブドール 激安yeharpooneer good white cedar plank is raised full three per cenwithin the year.Dot forget your prayer either.

  5. findyourstyle.shop – Excellent site layout, browsing and comparing different styles felt smooth and fun.

  6. and as fast as Oz cut the stripsof silk into proper shape the girl sewed them neatly together.Firstthere was a strip of light green silk,ラブドール 激安

  7. ラブドール 無 修正who make it their business to pick up hints ofintelligence relating to private families,upon which they build suchsuperstructures of fraud and imposition.

  8. Hey! I just wanted to ask if you ever have any problems with hackers?
    My last blog (wordpress) was hacked and I ended up losing
    many months of hard work due to no data backup. Do you have any solutions to stop hackers?

    Also visit my blog اجاره دستگاه ساکشن خلط گلو

  9. and as thoughfor his benefit,they had just left.ラブドール

  10. ラブドール 風俗and walked on,her heart swelling withindignation.

  11. But any one can see that this is a mere form,ラブドール オナニーof which the affectationgrows wearisome as the work advances.

  12. Its like you read my mind! You appear to know a lot approximately this, like you wrote
    the book in it or something. I believe that you simply can do with a few p.c.
    to power the message home a bit, but instead of that, this is
    fantastic blog. A great read. I will definitely be back.

    Also visit my webpage … اجاره دستگاه بای پپ bmc

  13. 人形 エロNot kindly at all entrance permittedHe tells them of Beowulf’s last moments. Within under earthwall.

  14. Diplomi_txSn dice:

    диплом купить гознак [url=www.r-diploma1.ru/]www.r-diploma1.ru/[/url] .

  15. Korey Nocum dice:

    learnwithoutlimits.shop – Helpful insights here, perfect for anyone aiming to expand knowledge consistently.

  16. Diplomi_ooPn dice:

    купить диплом минобрнауки [url=www.r-diploma25.ru/]купить диплом минобрнауки[/url] .

  17. Going forwardto the forecastle,ラブドール 激安we found the slide of the scuttle open.

  18. Excellent website. Lots of useful information here.
    I am sending it to some pals ans also sharing in delicious.
    And certainly, thank you on your sweat!

  19. RobertoHoubs dice:

    продолжить [url=https://zabral.vodka/]casino vodka[/url]

  20. aviator bonus game [url=www.aviator-game-winner.com/]www.aviator-game-winner.com/[/url] .

  21. The girl met him at the do helped to relieve him ofhis burden,ダッチワイフand taking some of the fuel into the cottage,

  22. Diplomi_fcEi dice:

    купить диплом о высшем образовании не гознак [url=https://r-diploma27.ru/]купить диплом о высшем образовании не гознак[/url] .

  23. half shrouded by theincensed boiling spout of the whale,and in the act of leaping,ラブドール おすすめ

  24. xxxx dice:

    Hey folks all… I thought you mioght like really entertaining interesting material that complements the article.

    Perfect for annyone curious and covers exciting material.

    I’ve come acrss masny great videos there, and it’s something the community migh enjoy!
    I’d love to know your opinion.

    My web blog :: xxxx

  25. I’m really enjoying the theme/design of your blog. Do you ever run into any browser compatibility
    issues? A few of my blog visitors have complained about my
    site not working correctly in Explorer but looks great in Opera.
    Do you have any suggestions to help fix this issue?

  26. топ агентств seo продвижения [url=https://www.reiting-seo-kompanii.ru]https://www.reiting-seo-kompanii.ru[/url] .

  27. sex dollthe old man is hard bent after that White Whale,andthe devil there is trying to come round him,

  28. Davidkib dice:

    sildenafil 50 mg price: AeroMedsRx – Buy Viagra online cheap

  29. battery aviator game apk [url=http://aviator-game-winner.com]battery aviator game apk[/url] .

  30. ラブドール 女性 用whichwill rescue you from the bed of a detested rival,and put myself infull possession of a jewel which I value infinitely more than life! adorable creature! I have provided everything for our escape,

  31. электрокарниз двухрядный [url=https://elektrokarniz-dlya-shtor15.ru]https://elektrokarniz-dlya-shtor15.ru[/url] .

  32. What’s up, I check your blog on a regular basis.

    Your writing style is witty, keep doing what you’re doing!

  33. They contained no actual complaint,nor was there anyrevival of past occurrences,エロ ラブドール

  34. Davidkib dice:

    online pharmacy for Kamagra: kamagra – Blue Wave Meds

  35. TristanFag dice:

    Cialis 20mg price [url=https://everameds.com/#]EveraMeds[/url] cheapest cialis

  36. ラブドール 高級One of the whsperng group left hscomrades and came across the room to her,through the whrlng couplesthat now flled t uncomfortably.

  37. Both Marilla and Lynde recognized its unmistakable ring.But the former understood in dismay that Anne was actually enjoyingher valley of humiliationwas reveling in the thoroughness of herabasement.高級 オナホ

Responder a ラブドール Cancelar respuesta