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: 118,061

  1. ロボット エロHe had not deserted alongwith the others,but had stood his ground all through.

  2. Article writing is also a fun, if you know afterward you can write otherwise it is complicated to write.

  3. and on the morrow Beth seemed quiteherself again; for at eighteen,エロ ロボットneither heads nor hearts ache long,

  4. doce app dice:

    I am not certain where you’re getting your info, but great topic. I must spend some time finding out more or understanding more. Thank you for excellent info I used to be looking for this information for my mission.

  5. mostbet_ycet dice:

    мостбет букмекерская контора [url=mostbet2029.help]мостбет букмекерская контора[/url]

  6. I had not opened my e I felt that I lay upon my back,ロシア エロunbound.

  7. My brother suggested I might like this web site.
    He was once totally right. This post actually made my day.
    You can not imagine just how a lot time I had spent for this info!
    Thanks!

  8. rocket dice:

    I am no longer sure where you are getting your info, however great topic. I needs to spend some time learning more or working out more. Thank you for excellent information I used to be on the lookout for this info for my mission.

  9. What’s up, just wanted to mention, I liked this blog post.
    It was helpful. Keep on posting!

  10. I’ve been browsing on-line greater than three hours these days, yet I
    by no means discovered any attention-grabbing article like yours.
    It’s beautiful value enough for me. In my opinion, if all webmasters and bloggers made excellent content
    material as you did, the net will probably be much more useful than ever before.

  11. nine-tenths of the most fastidious of men would rest content.This panorama is indeed glorious,ロシア エロ

  12. I’m now not sure where you are getting your info, but good topic. I needs to spend a while studying more or understanding more. Thanks for great info I was in search of this info for my mission.

  13. A person essentially lend a hand to make seriously articles I’d
    state. This is the very first time I frequented your web page and
    so far? I amazed with the research you made to make this actual
    publish amazing. Fantastic task!

  14. Ralphkic dice:

    п»їLately, I discovered a great guide about generic pills from India. It details how to save money for generic meds. For those interested in Trusted Indian sources, check this out: п»їhttps://kisawyer.us.com/# reputable indian online pharmacy. Worth a read.

  15. 9r bet dice:

    I’m no longer positive where you’re getting your information, but great topic. I needs to spend a while learning much more or understanding more. Thanks for excellent information I used to be in search of this information for my mission.

  16. DonaldHusia dice:

    Крепкие напитки. Это самый «крепкий» раздел нашей витрины доставка алкоголя круглосуточно

  17. ロボット エロ”“Then it is since I came by,and maybe you can help me.

  18. Simply wish to say your article is as astounding. The clearness in your
    submit is just excellent and that i can suppose you’re knowledgeable in this
    subject. Well with your permission let me to take hold of your
    RSS feed to keep up to date with coming near near post.
    Thank you one million and please carry on the
    rewarding work.

  19. I am now not sure the place you are getting your info, however great topic. I needs to spend some time learning more or figuring out more. Thank you for wonderful info I was searching for this information for my mission.

  20. Danielsnoni dice:

    п»їActually, I stumbled upon a helpful page regarding ordering meds from India. The site discusses CDSCO regulations when buying antibiotics. If anyone wants reliable shipping to USA, take a look: п»ї[url=https://kisawyer.us.com/#]best india pharmacy[/url]. Hope it helps.

  21. DonaldHusia dice:

    Крепкие напитки. Это самый «крепкий» раздел нашей витрины доставка алкоголя новосибирск

  22. Richarddiept dice:

    Элитный алкоголь – купить онлайн по выгодным ценам в интернет-магазине https://rossalracespbg.ru/

  23. RichardHex dice:

    Does anyone know getting antibiotics without prescription. I found a good blog that reviews trusted vendors: п»їmexican medicine store. Seems useful..

  24. mostbet_rhet dice:

    мостбет официальный сайт вход [url=mostbet2029.help]мостбет официальный сайт вход[/url]

  25. mostbet_oset dice:

    мосбет скачат [url=https://mostbet2029.help/]https://mostbet2029.help/[/url]

  26. Ralphkic dice:

    п»їTo be honest, I discovered a great report about Indian Pharmacy exports. It details how to save money when buying antibiotics. If you are looking for reliable shipping to USA, check this out: п»їhttps://kisawyer.us.com/# Online medicine order. Cheers.

  27. 75 bet app dice:

    I’m now not sure where you are getting your information, however good topic. I needs to spend a while finding out more or understanding more. Thanks for great info I used to be in search of this info for my mission.

  28. Send DM’s on Twitch – $30/hr . Do you use the streaming platform Twitch? If you do, would you like a job working for companies replying to chat messages on their channel? We have a lot of businesses right now hiring live chat assistants to work on their Twitch accounts, replying to customer inquiries. You will be given their account access as well as being told what to reply to the most commonly asked questions. Twitch is a huge growth channel for many businesses so they are hiring a lot of people all over the world for these jobs and the pay is very good. Read more details here : http://chat-assistant.advertising4you.co.uk

  29. Satan said his uncle entertained a great deal,ロボット エロand tohave a clever woman presiding over the festivities would double theattractions of the place.

  30. If some one needs expert view concerning running
    a blog then i suggest him/her to pay a visit this weblog, Keep up the fastidious work.

  31. дайсон официальный сервисный [url=https://ofitsialnyj-sajt-dsn.ru/]дайсон официальный сервисный[/url] .

  32. Howdy! Do you know if they make any plugins to safeguard against hackers?

    I’m kinda paranoid about losing everything I’ve worked hard
    on. Any suggestions?

  33. интернет магазин dyson техника [url=https://ofitsialnyj-sajt-dn-1.ru/]ofitsialnyj-sajt-dn-1.ru[/url] .

  34. Ralphkic dice:

    п»їActually, I discovered a useful page regarding Indian Pharmacy exports. It covers WHO-GMP protocols when buying antibiotics. If anyone wants cheaper alternatives, visit this link: п»їview. Good info.

  35. Ralphkic dice:

    п»їLately, I stumbled upon a great page concerning ordering meds from India. It explains the manufacturing standards for generic meds. In case you need factory prices, take a look: п»їkisawyer.us.com. Might be useful.

  36. DonaldHusia dice:

    Крепкие напитки. Это самый «крепкий» раздел нашей витрины https://alcostarnskg.ru/

  37. dyson пылесос магазины [url=https://dn-kupit-2.ru/]dn-kupit-2.ru[/url] .

  38. Ralphkic dice:

    п»їActually, I discovered a helpful guide concerning cheap Indian generics. The site discusses the manufacturing standards when buying antibiotics. If anyone wants cheaper alternatives, read this: п»їclick to read. Might be useful.

  39. Aviator game online, aviator download game offers a thrilling
    experience for players. In this distinctive game, you must set your stakes wisely to increase your gains.

    The dynamic gameplay keeps you on alert, making every round
    a test of strategy.

Responder a descargar smashing cricket a cricket game like none other hack apk Cancelar respuesta