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: 82,170

  1. электрокарнизы для штор цена [url=http://elektrokarniz1.ru/]http://elektrokarniz1.ru/[/url] .

  2. I am not sure where you are getting your info, but
    great topic. I needs to spend some time learning much more or understanding more.
    Thanks for fantastic info I was looking for this info for my mission.

  3. ???? ????? – ???? ???? ??? [url=http://www.aviator-game-predict.com]http://www.aviator-game-predict.com[/url] .

  4. электрические гардины [url=elektrokarnizy77.ru]электрические гардины[/url] .

  5. winbet299 dice:

    Somebody essentially assist to make critically articles I might state.

    This is the first time I frequented your web
    page and to this point? I amazed with the research you made
    to create this particular submit amazing. Great activity!

  6. Spot on with this write-up, I actually feel this site
    needs a lot more attention. I’ll probably be back again to read through more,
    thanks for the advice!

  7. togel online dice:

    Hi! I just would like to offer you a huge thumbs up for
    your excellent information you have here on this post. I’ll be
    returning to your website for more soon.

  8. психиатрическая клиника стационар
    psikhiatr-moskva011.ru
    частный психиатр на дом в москве

  9. aeroplane money game [url=https://aviator-game-deposit.com/]https://aviator-game-deposit.com/[/url] .

  10. карниз для штор с электроприводом [url=www.elektrokarniz98.ru/]карниз для штор с электроприводом[/url] .

  11. slot dana dice:

    I’m extremely impressed with your writing skills as well as with the layout on your blog.

    Is this a paid theme or did you customize it yourself?

    Anyway keep up the nice quality writing, it is rare to see a nice blog
    like this one these days.

  12. TristanFag dice:

    AeroMedsRx [url=https://aeromedsrx.xyz/#]Viagra online price[/url] sildenafil online

  13. электрокарнизы москва [url=www.elektrokarniz495.ru]www.elektrokarniz495.ru[/url] .

  14. Diplomi_lePr dice:

    купить диплом вгпу [url=https://r-diploma13.ru]купить диплом вгпу[/url] .

  15. TristanFag dice:

    kamagra oral jelly [url=https://bluewavemeds.com/#]online pharmacy for Kamagra[/url] buy Kamagra online

  16. Davidkib dice:

    buy cialis pill: EveraMeds – Cialis without a doctor prescription

  17. Jamessouch dice:

    [url=https://backontwo.com/]Checking a vehicle by its registration number[/url] is a reliable way to understand the real condition of a vehicle before investing, and it becomes especially valuable when exploring the world of Back On Two, a professional workshop dedicated to rebuilding motorcycles, cars and unique automotive classics. With a simple number lookup, enthusiasts can discover key details that reveal the mechanical background of the vehicle, and such information often defines whether a project has true potential. Back On Two offers a wide selection of vehicles and motorcycles ready for restoration, giving every enthusiast a chance to find the project that fits their vision. Whether a person is just entering the restoration world or already experienced, Back On Two provides detailed guidance throughout the entire process. Many restoration journeys begin with a simple number check, which quickly evolves into a deep exploration of the vehicle’s story, and with Back On Two, each project is approached with respect for its history and engineering. Classic motorcycles, vintage cars and forgotten machines can be transformed into powerful, beautiful and fully functional creations when handled with the right knowledge. With Back On Two, enthusiasts gain access to a combination of technical research, hands-on expertise and artistic restoration vision, allowing them to restore machines to life with confidence. The team behind Back On Two focuses on creating high-quality, accurate and authentic rebuilds, ensuring every restoration becomes a meaningful journey. A vehicle number check is therefore not just a bureaucratic step, but a gateway to discovering hidden mechanical potential. Back On Two continues to lead this field by offering enthusiasts a trusted, knowledgeable and inspiring environment where every project — from motorcycles to classic cars — can grow into a masterpiece.
    https://backontwo.com/

  18. Diplomi_ojSn dice:

    где можно купить диплом медсестры [url=www.frei-diplom13.ru]где можно купить диплом медсестры[/url] .

  19. and had been marked by his quietness and even a certain mysteriousness;for he had spent all the time that he lodged at Peski lying on his bedbehind the screen,ラブドール 通販without talking or having any sort of relations withany one.

  20. Davidkib dice:

    cialis for sale: EveraMeds – EveraMeds

  21. Hey! This is kind of off topic but I need some advice from an established blog.
    Is it tough to set up your own blog? I’m not very techincal
    but I can figure things out pretty quick. I’m thinking about creating
    my own but I’m not sure where to begin. Do you have any tips or suggestions?
    With thanks

  22. Jasonpleby dice:

    Носитель языка проверит – перевод документов с русского на английский онлайн. Перевод справок в Самаре. Нотариальное заверение. Срочно и недорого. Гарантия принятия в учреждениях. Точно.

  23. jet game money [url=http://www.aviator-game-predict.com]http://www.aviator-game-predict.com[/url] .

  24. карнизы для штор с электроприводом [url=http://elektrokarniz1.ru/]http://elektrokarniz1.ru/[/url] .

  25. электрические карнизы купить [url=http://elektrokarniz2.ru]http://elektrokarniz2.ru[/url] .

  26. электрокарниз недорого [url=http://elektrokarniz-dlya-shtor15.ru]http://elektrokarniz-dlya-shtor15.ru[/url] .

  27. TristanFag dice:

    buy cialis pill [url=http://everameds.com/#]Buy Cialis online[/url] EveraMeds

  28. Jamessouch dice:

    [url=https://backontwo.com/]Vehicle number check[/url] is a crucial step before choosing any restoration project, and it becomes especially valuable when exploring the world of Back On Two, a brand specializing in classic motorcycle, car and vintage restoration projects. With a simple number lookup, enthusiasts can discover previous ownership records, maintenance history and structural notes, and such information often defines whether a project has true potential. Back On Two offers a wide selection of vehicles and motorcycles ready for restoration, giving every enthusiast a chance to find the project that fits their vision. Whether a person is just entering the restoration world or already experienced, Back On Two provides professional support based on years of restoration expertise. Many restoration journeys begin with a simple number check, which quickly evolves into a deep exploration of the vehicle’s story, and with Back On Two, each project is approached with respect for its history and engineering. Classic motorcycles, vintage cars and forgotten machines can be transformed into powerful, beautiful and fully functional creations when handled with the right knowledge. With Back On Two, enthusiasts gain access to structured guidance that makes even complex projects achievable, allowing them to restore machines to life with confidence. The team behind Back On Two focuses on creating high-quality, accurate and authentic rebuilds, ensuring every restoration becomes a meaningful journey. A vehicle number check is therefore not just a bureaucratic step, but an important tool that shapes the future of any restoration project. Back On Two continues to lead this field by offering enthusiasts a trusted, knowledgeable and inspiring environment where every project — from motorcycles to classic cars — can grow into a masterpiece.
    https://backontwo.com/

  29. Jasonpleby dice:

    Оперативно и качественно – как сделать заверенный перевод документов. Перевод паспортов, дипломов в Самаре. Нотариальное заверение. Срочно и недорого. Гарантия качества. Звоните!

  30. Diplomi_nhen dice:

    купить диплом мгавт [url=https://r-diploma22.ru]https://r-diploma22.ru[/url] .

  31. situs togel dice:

    Good day! This is kind of off topic but I
    need some guidance from an established blog.
    Is it tough to set up your own blog? I’m not very techincal but I can figure things out pretty quick.
    I’m thinking about creating my own but I’m not sure where
    to start. Do you have any ideas or suggestions?
    Thanks

  32. I was recommended this web site by my cousin. I’m not sure whether this post is written by him as nobody else know such detailed about my trouble.
    You are amazing! Thanks!

  33. mkvuhvcrs dice:

    JoggAI’s AI Talking Photo is one of the best tools to animate old photos. You can turn a headshot into a talking avatar in just a few steps. This ai image animator is special because it has lifelike lip sync, expressive faces, and works with over 50 languages. You can use it for marketing, learning, or just for fun. We launched our state-of-the-art video generation model Veo 3 in May — and last week, we expanded access to Google AI Pro subscribers in over 150 countries. Now, with a new photo-to-video capability in Gemini, you can now transform your favorite photos into dynamic eight-second video clips with sound. Revive App is thoughtfully designed to be highly intuitive, ensuring that users can easily animate their photos with just a few simple taps. Furthermore, the app aims to provide a seamless experience, making it accessible for everyone. In addition to the focus on emotional wellbeing images, the app guides users through the process. Here’s a step-by-step breakdown of how they can quickly and effortlessly transform static images into lively animations using the app
    https://davincifortech.com/balloon-slot-an-engaging-review-for-indian-players/
    You’ve got a bunch of tools to your left, most of which are self-explanatory and easy to use. The big, white stage in the middle is where you’ll be adding elements and characters to the scene, and you have a Timeline panel below where you can keep track of your animation temporally. Think of them as little wiggly snakes and just have fun while you’re drawing. So now we want to get back out to what we had as our starting frame, and that’s going to help me create my in-between. And in-between, it’s exactly that it’s a shape in between two other shapes. So we want something in between our current last frame and that beginning frame that will bridge the gaps. So to speak, we’re going to copy frame. I’m going to put this here. That’s going to give us somewhat of a straight in between to draw here. We might actually need to. That’s a pretty, pretty drastic difference in the way those flames are looking.

  34. Jamessouch dice:

    [url=https://backontwo.com/]Checking a vehicle by its registration number[/url] is a crucial step before choosing any restoration project, and it becomes especially valuable when exploring the world of Back On Two, a professional workshop dedicated to rebuilding motorcycles, cars and unique automotive classics. With a simple number lookup, enthusiasts can discover previous ownership records, maintenance history and structural notes, and such information often defines whether a project has true potential. Back On Two offers rare models waiting to be revived with professional craftsmanship, giving every enthusiast a chance to find the project that fits their vision. Whether a person is just entering the restoration world or already experienced, Back On Two provides a personalized approach to help shape each project according to the owner’s style. Many restoration journeys begin with a simple number check, which quickly evolves into a deep exploration of the vehicle’s story, and with Back On Two, every machine is treated not just as a tool but as a piece of automotive heritage. Classic motorcycles, vintage cars and forgotten machines can be transformed into powerful, beautiful and fully functional creations when handled with the right knowledge. With Back On Two, enthusiasts gain access to a combination of technical research, hands-on expertise and artistic restoration vision, allowing them to restore machines to life with confidence. The team behind Back On Two understands the historical and technical character of each engine, ensuring every restoration becomes a meaningful journey. A vehicle number check is therefore not just a bureaucratic step, but the first move toward building a unique machine with personality and history. Back On Two continues to lead this field by offering enthusiasts a trusted, knowledgeable and inspiring environment where every project — from motorcycles to classic cars — can grow into a masterpiece.
    https://backontwo.com/

  35. электрокарнизы цена [url=http://www.prokarniz36.ru]http://www.prokarniz36.ru[/url] .

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

  37. Jamessouch dice:

    [url=https://backontwo.com/]Vehicle number check[/url] is an essential action for anyone considering a classic car or motorcycle rebuild, and it becomes especially valuable when exploring the world of Back On Two, a leading name in the field of custom mechanical restoration and classic vehicle projects. With a simple number lookup, enthusiasts can discover previous ownership records, maintenance history and structural notes, and such information often defines whether a project has true potential. Back On Two offers rare models waiting to be revived with professional craftsmanship, giving every enthusiast a chance to find the project that fits their vision. Whether a person is just entering the restoration world or already experienced, Back On Two provides detailed guidance throughout the entire process. Many restoration journeys begin with a simple number check, which quickly evolves into a deep exploration of the vehicle’s story, and with Back On Two, each project is approached with respect for its history and engineering. Classic motorcycles, vintage cars and forgotten machines can be transformed into powerful, beautiful and fully functional creations when handled with the right knowledge. With Back On Two, enthusiasts gain access to structured guidance that makes even complex projects achievable, allowing them to restore machines to life with confidence. The team behind Back On Two focuses on creating high-quality, accurate and authentic rebuilds, ensuring every restoration becomes a meaningful journey. A vehicle number check is therefore not just a bureaucratic step, but the first move toward building a unique machine with personality and history. Back On Two continues to lead this field by offering enthusiasts a trusted, knowledgeable and inspiring environment where every project — from motorcycles to classic cars — can grow into a masterpiece.
    https://backontwo.com/

  38. карниз с электроприводом [url=http://www.provorota.su]http://www.provorota.su[/url] .

  39. TristanFag dice:

    Cialis 20mg price in USA [url=https://everameds.xyz/#]Generic Cialis without a doctor prescription[/url] Buy Tadalafil 5mg

  40. электрический карниз для штор купить [url=http://elektrokarniz2.ru/]http://elektrokarniz2.ru/[/url] .

  41. Davidkib dice:

    kamagra oral jelly: BlueWaveMeds – kamagra oral jelly

  42. udan game [url=https://aviator-game-deposit.com/]aviator-game-deposit.com[/url] .

  43. This is a great tip particularly to those fresh to the
    blogosphere. Simple but very accurate information… Many thanks for sharing this one.

    A must read article!

  44. Davidkib dice:

    Buy generic 100mg Viagra online: AeroMedsRx – viagra without prescription

Responder a Davidkib Cancelar respuesta