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: 146,077

  1. ClarkGinee dice:

    Наше собственное производство в СПб оснащено современным высокотехнологичным оборудованием, что позволяет изготавливать конструкции любой сложности с точным соблюдением технических требований и ГОСТов алюминиевые конструкции на заказ санкт-петербург

  2. электрокарниз [url=https://elektrokarniz-nedorogo.ru/]elektrokarniz-nedorogo.ru[/url] .

  3. ClarkGinee dice:

    Наше собственное производство в СПб оснащено современным высокотехнологичным оборудованием, что позволяет изготавливать конструкции любой сложности с точным соблюдением технических требований и ГОСТов Подробнее

  4. WilliamDig dice:

    indianpharmacy com: Indo-Generic Export – online pharmacy india

  5. blackjack online [url=https://casino-cz-2.com/]casino-cz-2.com[/url] .

  6. Fast onboarding, wide token selection, and a team that actually cares. Charts are accurate and load instantly.

  7. pinup_msSa dice:

    pin-up Chile registro [url=https://www.pinup2001.help]https://www.pinup2001.help[/url]

  8. 22bet login dice:

    It’s hard to find well-informed people in this
    particular subject, however, you sound like you know what you’re talking about!
    Thanks

  9. ロボット エロSo Marget’s new happiness died a quick death.No friends came tocondole with her,

  10. электрокарнизы для штор купить [url=https://karniz-elektroprivodom.ru/]электрокарнизы для штор купить[/url] .

  11. live casino [url=https://casino-cz-3.com/]casino-cz-3.com[/url] .

  12. DMT Vape dice:

    Yes! Finally someone writes about website.

  13. Vaughnprido dice:

    http://indogenericexport.com/# top 10 online pharmacy in india

  14. and prouder of being chosen thenthan of any honor her life ever brought her.Precious and helpful hoursto for now her heart received the teaching that it needed; lessonsin patience were so sweetly taught her that she could not fail to learnthem; charity for all,エロ ロボット

  15. WilliamDig dice:

    cheapest pharmacy prescription drugs: mexico pharmacy order online – legitimate canadian mail order pharmacy

  16. mostbet_lmsi dice:

    мостбет промокод где взять [url=mostbet12037.ru]mostbet12037.ru[/url]

  17. cz casino [url=https://casino-cz-6.com/]cz casino[/url] .

  18. WilliamDig dice:

    prescription drugs online: US Meds Outlet – US Meds Outlet

  19. StephenThura dice:

    online pharmacy mexico [url=https://bajameddirect.com/#]mexico online farmacia[/url] prescriptions from mexico

  20. 國產 av dice:

    you’re really a excellent webmaster. The website loading velocity is amazing. It sort of feels that you’re doing any distinctive trick. Moreover, The contents are masterwork. you’ve performed a fantastic activity in this subject!

  21. Greetings! Very helpful advice in this particular article!

    It is the little changes that will make the greatest changes.
    Thanks for sharing!

  22. I’m impressed by the clear transparency. I’ll definitely continue using it. Definitely recommend to anyone in crypto.

  23. I switched from another service because of the scalable features and reliable uptime.

  24. math classes dice:

    Smalⅼ-group on-site classes at OMT develop а helpful community ԝhere trainees share mathematics discoveries, stiring սp a love for
    tһe subject thɑt pushes them toԝards exam success.

    Unlock your kid’ѕ complete capacity in mathematics with OMT Math Tuition’s expert-led classes, tailored
    t᧐ Singapore’ѕ MOE syllabus fоr primary, secondary,
    and JC trainees.

    Ꭺѕ mathematics forms tһе bedrock ⲟf abstract thouɡht and vital proЬlem-solving in Singapore’s
    education system, expert math tuition ⲣrovides tһe individualized assistance required t᧐ turn obstacles into triumphs.

    With PSLE mathematics questions frequentrly involving real-ѡorld applications,
    tuition рrovides targeted practice to develop vital thinking abilities essential fоr hіgh ratings.

    Linking mathematics principles tօ real-worⅼd circumstances tһrough tuition grߋws
    understanding, makіng O Level application-based concerns
    extra friendly.

    Tuition instructs error analysis techniques, assisting junior
    university student ɑvoid typical challenges іn Α Level calculations and evidence.

    OMT sticks out with its proprietary math educational program, diligently created tο
    complement the Singapore MOE syllabus bү filling
    out theoretical voids that typical school lessons mаy overlook.

    Specialist pointers in videos provide faster ԝays lah, helping you resolve
    concerns faster аnd rack up mսch more in exams.

    Math tuition supplies enrichment ρast thе essentials, challenging gifted Singapore students tο go for distinction іn examinations.

    Feel free to visit mу web-site :: math classes

  25. StephenThura dice:

    online pharmacy ordering [url=https://usmedsoutlet.shop/#]canadian pharmacy victoza[/url] US Meds Outlet

  26. HarryUntox dice:

    24 hr pharmacy: super pharmacy – is canadian pharmacy legit

  27. I switched from another service because of the robust security and easy onboarding. The updates are frequent and clear.

  28. b2xbet dice:

    Wow, that’s what I was looking for, what a data! existing here at this website, thanks admin of this site.

  29. 國產 av dice:

    It’s very trouble-free to find out any topic on web as compared to books, as I found this paragraph at this web page.

  30. WilliamDig dice:

    canadian pharmacy phone number: canadian pharmacy world coupon code – online pharmacy china

  31. Для современного интерьера идеально подойдет [url=https://avtomaticheskie-shtory.ru] электрокарнизы для рулонных штор москва Прокарниз [/url], который обеспечит удобство и стиль в управлении шторами.
    Данное устройство облегчает повседневное использование штор. Он особенно удобен в больших помещениях, где нужно одновременно регулировать множество полотен. Более того, электрокарниз легко подключается к умным домашним системам.

    Принцип работы электрокарниза основан на электрическом приводе, который движет гардины по направляющим. С помощью дистанционного пульта можно удобно управлять шторами на расстоянии. Это делает устройство идеальным для использования в офисах, гостиницах и домах с современным дизайном. Автоматический привод позволяет быстро и легко регулировать положение штор.

    Выбор электрокарниза зависит от размеров окна, веса штор и типа крепления. Двигатель электрокарниза следует подбирать с запасом по мощности в зависимости от штор. Также стоит обратить внимание на материал направляющей и качество комплектующих. Качественные элементы повышают срок службы электрокарниза.

    Установка электрокарниза требует аккуратности и точного соблюдения инструкции. Рекомендуется доверить монтаж профессионалам для надежного результата. Регулярное техническое обслуживание поможет продлить срок службы устройства. Периодическое техническое обслуживание поддерживает электрокарниз в рабочем состоянии.

    Спин-шаблон:

    Он особенно удобен в больших помещениях, где нужно одновременно регулировать множество полотен.

  32. av 在线 dice:

    Pretty! This has been an incredibly wonderful post. Thank you for supplying these details.

  33. Для современного интерьера идеально подойдет [url=https://avtomaticheskie-shtory.ru] электрокарнизы для штор Prokarniz [/url], который обеспечит удобство и стиль в управлении шторами.
    С помощью электрокарниза управление шторами становится максимально удобным. Он особенно удобен в больших помещениях, где нужно одновременно регулировать множество полотен. Это позволяет включать электрокарниз в комплексную систему управления жилищем.

    Принцип работы электрокарниза основан на электрическом приводе, который движет гардины по направляющим. Пульт дистанционного управления позволяет открывать и закрывать шторы без усилий. Это делает устройство идеальным для использования в офисах, гостиницах и домах с современным дизайном. Такой механизм автоматизирует управление шторами и значительно экономит время.

    Выбор электрокарниза зависит от размеров окна, веса штор и типа крепления. Мощность мотора должна соответствовать весу ткани для надежной работы. Также стоит обратить внимание на материал направляющей и качество комплектующих. Использование прочных комплектующих обеспечивает устойчивость электрокарниза.

    Установка электрокарниза требует аккуратности и точного соблюдения инструкции. Рекомендуется доверить монтаж профессионалам для надежного результата. Регулярное техническое обслуживание поможет продлить срок службы устройства. Периодическое техническое обслуживание поддерживает электрокарниз в рабочем состоянии.

    Спин-шаблон:

    Данное устройство облегчает повседневное использование штор.

  34. ” The othergirl followed her companion’s example and gave her Bible to the otherthief.大型 オナホThat was all,

  35. and by the aid of certain sparkles of violet light in the pallor,the man’s costume explains itself as that of a Spanish nobleman of theXV-XVI century.ラブドール アニメ

  36. of no use anywhere but there.エロ ロボットI never wanted to go away,

  37. Fast onboarding, stable performance, and a team that actually cares. I moved funds across chains without a problem.

Responder a ClarkGinee Cancelar respuesta