saa Infraestructura como código – Politraining

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: 145,092

  1. 비아그라 dice:

    당신의 웹로그에 기사 작성자를 찾고 계신가요?
    당신은 정말 좋은 기사를 가지고
    있고, 제가 좋은 자산이 될 거라고 생각합니다.
    부담을 덜고 싶다면, 제 블로그에 링크를 교환하며 당신의 블로그에
    자료를 작성하고 싶습니다. 관심 있으시면
    이메일을 보내주세요. 감사해요!

    Howdy! This blog post couldn’t be written any better!

    Going through this article reminds me of my previous roommate!

    He always kept talking about this. I’ll forward this information to him.
    Pretty sure he will have a very good read. Thank you for sharing!

  2. ラブドール 無 修正which you know is my rightful inheritance; or excludedfrom the sight of a parent who suffers under your tyranny andoppression.It is my part,

  3. StephenThura dice:

    best online pharmacy for viagra [url=http://usmedsoutlet.com/#]US Meds Outlet[/url] india pharmacy mail order

  4. 1win_amEt dice:

    1win Fargʻona depozit [url=https://www.1win5753.help]https://www.1win5753.help[/url]

  5. my most weightyand urgent request has been disregarded….”Assuming an aggrieved air,エロ フィギュア 無 修正

  6. I personally find that i’ve been using it for a month for exploring governance, and the useful analytics stands out.

  7. I was once his guardian….A very nice young man and advanced. I like to meet young people: onelearns new things from them.” Luzhin looked round hopefully at them “How do you mean?” asked Razumihin.“In the most serious and essential matters,フィギュア 無 修正

  8. “You rent this room from the Kapernaumovs?”…”“They live there,エロ フィギュア 無 修正

  9. секс
    Порноиндустрия — странное место, где все делают вид, что это «работа мечты».

  10. рулонные шторы в москве [url=https://rulonnaya-shtora-s-elektroprivodom.ru/]рулонные шторы в москве[/url] .

  11. автоматические гардины для штор [url=https://elektrokarniz5.ru/]elektrokarniz5.ru[/url] .

  12. I think the admin of this web site is in fact working hard in support of his website, because here every data is quality based material.

  13. электрокарнизы для штор [url=https://elektrokarnizy-dlya-shtor1.ru/]электрокарнизы для штор[/url] .

  14. электрокарниз [url=https://elektrokarnizy-dlya-shtor1.ru/]elektrokarnizy-dlya-shtor1.ru[/url] .

  15. Hello there! Do you use Twitter? I’d like to follow you if that would be
    ok. I’m absolutely enjoying your blog and look forward to
    new updates.

  16. 1win_gaEt dice:

    1win Humo bilan to‘lash [url=http://1win5753.help]1win Humo bilan to‘lash[/url]

  17. on his voyage to the apartment of hisDulcinea,無 修正 フィギュアwith whom he had preconcerted the assignation.

  18. ラブドール 無 修正exclaiming,inthe most unconnected strain of distraction and despair,

  19. Its like you read my mind! You appear to know so much about this, like you wrote the book in it or something.
    I think that you could do with some pics to drive the
    message home a little bit, but other than that, this is wonderful
    blog. An excellent read. I’ll certainly be back.

  20. i like your work, i enjoy reading your article, the best webdesign agencies in germany and the top webdesign agenturen in deutschland is our website that is ranking in germany. check it out. https://webdesignagentur.de.com/

  21. ドール エロShe could not in her heart refuse that favour to a friend and Christianshe had so compassionately bestowed upon so many enemies and infidels,and therefore drew near with the sovereign remedy,

  22. as this same carcase cantestify,and if he compels me to run him through the body,ラブドール 無 修正

  23. WilliamDig dice:

    cheapest online pharmacy india: top 10 online pharmacy in india – reputable indian online pharmacy

  24. あの魅惑的なガブリエル?レイが当事者となった離婚騷動もおなじように注意を引いた.ミニ ラブドールそして重要ではない紙面の片隅に、いかにも重要ではないという感じで、オーストリアがセルビアに対して最後通牒を送ったという記事が押しこまれていた.

  25. that heperceived the candle extinguished by the motion of the air producedfrom the German’s sudden irruption.ドール エロThis accident,

  26. ドール エロby the character hehad hitherto maintained,and the circumspection of his future conduct.

  27. I personally find that fees are responsive team, and the execution is always smooth. Perfect for both new and experienced traders.

  28. This platform exceeded my expectations with low fees and fast transactions. Support solved my issue in minutes.

  29. We’re a group of volunteers and opening a new scheme in our community.
    Your web site provided us with valuable information to work on. You’ve done an impressive job and our entire community will be grateful to you.

  30. CHAPTER THIRTEENHE IS EXPOSED TO A MOST PERILOUS INCIDENT IN THE COURSE OF HIS INTRIGUEWITH THE DAUGHTER.ドール エロHe was rejoiced to find her so easily satisfied in such a momentousconcern,

  31. 成人网站 提供广泛的成人娱乐视频选择。选择 有保障的色情中心
    以获得保密体验。

  32. жалюзи с электроприводом купить [url=https://zhalyuzi-s-elektroprivodom7.ru/]жалюзи с электроприводом купить[/url] .

  33. карниз моторизованный [url=https://elektrokarnizy-dlya-shtor1.ru/]elektrokarnizy-dlya-shtor1.ru[/url] .

  34. Randytaito dice:

    http://usmedsoutlet.com/# prescription drugs from canada

  35. обучение стриминг [url=https://shkola-onlajn-24.ru/]обучение стриминг[/url] .

  36. автоматические карнизы для штор [url=https://elektrokarniz5.ru/]автоматические карнизы для штор[/url] .

  37. mostbet_hwSl dice:

    mines мостбет [url=www.mostbet72461.help]www.mostbet72461.help[/url]

  38. электрокарнизы в москве [url=https://karniz-elektroprivodom.ru/]электрокарнизы в москве[/url] .

  39. bent her head lower.エロ フィギュア 無 修正He bent right down to the ground and peeped upinto her face from below,

  40. Cannabis SEO dice:

    This paragraph gives clear idea in favor of the new people of blogging, that in fact how to do blogging.

  41. WilliamDig dice:

    US Meds Outlet: US Meds Outlet – onlinepharmaciescanada com

  42. The best choice I made for staking. Smooth and easy onboarding. Support solved my issue in minutes.

Responder a jaluzi s elektroprivodom_smEr Cancelar respuesta