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: 117,768

  1. Diplomi_txSn dice:

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

  2. daison_ifEr dice:

    фен дайсон оригинал купить официальный [url=https://dn-1.ru/]dn-1.ru[/url] .

  3. магазин дайсон официальный сайт [url=https://dn-ofitsialnyj-sajt.ru/]магазин дайсон официальный сайт[/url] .

  4. dyson_lnml dice:

    дайсон купить оригинал официальный сайт [url=https://dsn-10.ru/]dsn-10.ru[/url] .

  5. 露骨视频 可在可靠平台上流媒体播放以确保隐私。发现
    安全网站 以获得高质量观看体验。

    Feel free to visit my blog – 女同性恋色情影片

  6. заказать кухню в спб от производителя недорого [url=www.kuhni-na-zakaz-5.ru]заказать кухню в спб от производителя недорого[/url] .

  7. mount and ride to the bridge.(Observe that all three are Gascons.ラブドール えろ

  8. Diplomi_ruSn dice:

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

  9. RichardHex dice:

    I was wondering about ordering meds from Mexico. I discovered a cool archive that reviews best pharmacies: п»ї[url=https://polkcity.us.com/#]polkcity.us.com[/url]. Check it out.

  10. ArielRhifs dice:

    Whoa tons of terrific material.
    best online casino sites canada great canadian casino vancouver best online casino canada

  11. Yes! Finally something about криптобосс казино.

  12. LloydRop dice:

    п»їTo be honest, I stumbled upon a helpful guide about buying affordable antibiotics. The site discusses the safety protocols for ED medication. If anyone wants cheaper alternatives, check this out: п»їhttps://polkcity.us.com/# can i buy meds from mexico online. Cheers.

  13. Ralphkic dice:

    п»їRecently, I stumbled upon an interesting guide concerning buying affordable antibiotics. It explains how to save money when buying antibiotics. If anyone wants factory prices, check this out: п»ї[url=https://kisawyer.us.com/#]reading[/url]. Worth a read.

  14. Thank you for sharing your thoughts. I really appreciate your efforts and I will be waiting for your next post thank
    you once again.

  15. LloydRop dice:

    Just wanted to share, an important analysis on cross-border shipping rules. It explains how to avoid scams for antibiotics. Link: п»їmexican drug stores.

  16. кухни на заказ в спб от производителя [url=https://www.kuhni-na-zakaz-4.ru]кухни на заказ в спб от производителя[/url] .

  17. Hi! I know this is kinda off topic however , I’d figured I’d ask.
    Would you be interested in exchanging links or maybe guest writing a blog post or vice-versa?
    My website discusses a lot of the same topics as yours and I think we could greatly benefit from each other.

    If you’re interested feel free to send me an email.
    I look forward to hearing from you! Fantastic blog by the way!

  18. Ralphkic dice:

    п»їTo be honest, I found an informative article about generic pills from India. It covers how to save money on prescriptions. For those interested in Trusted Indian sources, read this: п»їthis link. Might be useful.

  19. Diplomi_lcSn dice:

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

  20. She shook her head as she said again:“ yes! I know that! I know that,but do you know what day it is? ?Onmy saying that I did not underst she went on:“It is the eve of St.中国 えろ

  21. Ralphkic dice:

    п»їRecently, I found an interesting resource concerning buying affordable antibiotics. It covers how to save money on prescriptions. In case you need factory prices, read this: п»їbest india pharmacy. Good info.

  22. Ralphkic dice:

    п»їRecently, I came across a great resource about ordering meds from India. It covers CDSCO regulations for generic meds. In case you need cheaper alternatives, visit this link: п»їfollow. It helped me.

  23. RichardHex dice:

    Does anyone know buying generic pills online. I saw a verified post that compares best pharmacies: п»їhttps://polkcity.us.com/# online pharmacy in mexico. Looks legit.

  24. Ralphkic dice:

    п»їTo be honest, I discovered a useful article regarding buying affordable antibiotics. It details CDSCO regulations for ED medication. In case you need reliable shipping to USA, visit this link: п»ї[url=https://kisawyer.us.com/#]go[/url]. Hope it helps.

  25. Remarkable! Its in fact amazing piece of
    writing, I have got much clear idea about from this paragraph.

  26. RichardHex dice:

    FYI, a helpful overview on Mexican Pharmacy safety. The author describes how to avoid scams for ED meds. Full info: п»їpolkcity.us.com.

  27. LloydRop dice:

    п»їTo be honest, I discovered a useful article about generic pills availability. It covers the safety protocols on prescriptions. In case you need cheaper alternatives, check this out: п»ї[url=https://polkcity.us.com/#]polkcity.us.com[/url]. Worth a read.

  28. Ralphkic dice:

    п»їRecently, I stumbled upon an informative guide about Indian Pharmacy exports. It explains CDSCO regulations on prescriptions. If you are looking for Trusted Indian sources, read this: п»ї[url=https://kisawyer.us.com/#]reputable indian online pharmacy[/url]. It helped me.

  29. Your article helped me a lot, is there any more related content? Thanks!

  30. Ralphkic dice:

    п»їJust now, I found an interesting resource about generic pills from India. It explains CDSCO regulations when buying antibiotics. In case you need Trusted Indian sources, visit this link: п»їhttps://kisawyer.us.com/# buy medicines online in india. Worth a read.

  31. Danielsnoni dice:

    п»їLately, I came across a helpful page regarding Indian Pharmacy exports. It covers CDSCO regulations when buying antibiotics. If you are looking for cheaper alternatives, take a look: п»їkisawyer.us.com. Hope it helps.

  32. Larryrot dice:

    нажмите, чтобы подробнее [url=https://vodkasoup.com]зеркало vodka bet[/url]

  33. Diplomi_qfSn dice:

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

  34. Danielsnoni dice:

    п»їJust now, I discovered an informative article about Indian Pharmacy exports. It explains CDSCO regulations for ED medication. If anyone wants factory prices, check this out: п»ї[url=https://kisawyer.us.com/#]this link[/url]. It helped me.

  35. Ralphkic dice:

    п»їLately, I discovered a great report about ordering meds from India. It details WHO-GMP protocols when buying antibiotics. If you are looking for cheaper alternatives, take a look: п»їhere. Good info.

  36. LloydMon dice:

    To activate your betwinner sign up offer, just head over to https://bet-promo-codes.com/sportsbook-reviews/betwinner-registration/ and follow the guide. It’s an effortless way to start with extra funds.

  37. RodneyTip dice:

    Подробнее [url=https://vodka-bet.vodka/]казино водка[/url]

  38. From that time when people contacted them, fortuna casino responded very quickly.
    we wish mention that this website is absolutely comfortable for various devices.

  39. RichardHex dice:

    Sharing, an official analysis on FDA equivalent standards. It explains the best shipping methods for antibiotics. Source: п»їhttps://polkcity.us.com/# medication in mexico.

  40. Diplomi_shEl dice:

    купить аттестат за 10 11 класс в москве [url=www.r-diploma29.ru]купить аттестат за 10 11 класс в москве[/url] .

  41. bmw remap dice:

    Why viѕitors still ᥙse to reaad news papers when іn this technological world
    all is available on web?

Responder a makeupplus your own virtual makeup artist hacked apk Cancelar respuesta