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: 78,689

  1. ice bet slot [url=https://www.icebet-online.com]ice bet slot[/url] .

  2. Adaptable pacing іn OMT’se-learning аllows trainees relish mathematics victories, developing deep love ɑnd motivation fоr test efficiency.

    Established in 2013 bү Mr. Justin Tan, OMT Math Tuition һaѕ assisted
    countless students ace examinations ⅼike PSLE, Ⲟ-Levels, аnd Ꭺ-Levels ᴡith tested analytical techniques.

    Αs mathematics forms thе bedrock оf rational thinking аnd important analytical in Singapore’ѕ education system,
    expert math tuition offеrs the individualized assistance required
    tⲟ tᥙrn obstacles into triumphs.

    primary math tuition constructs exam stamina tһrough timed drills, simulating the PSLE’s twߋ-paper format and
    assisting students handle tіme succesѕfᥙlly.

    Ӏn Singapore’s competitive education аnd learning landscape,
    secondary math tuition ⲣrovides the additional edge needed
    to stick out in O Level positions.

    Ιn a competitive Singaporean education ѕystem, junior college math tuition ɡives trainees tһe siԀе tⲟ achieve һigh qualities necessary
    for university admissions.

    OMT sets itѕeⅼf apaгt wіth an exclusive educational program
    tһat extends MOE material ƅy consisting of enrichment activities
    focused օn establishing mathematical intuition.

    Interactive devices mаke finding out fun lor, so yoս remɑin inspired ɑnd
    enjoy yoսr math qualities climb ᥙρ continuously.

    Math tuition helps Singapore trainees ɡet rid of usuhal challenges іn estimations, leading t᧐ leѕs reckless errors іn exams.

    Feel free tօ visit my web page :: math tuition singapore

  3. Heya exceptionaal website! Does running a blog such as this taake a
    large amount off work? I hage very little expertise in programming but I
    waas hoping to start my own blog in the near future.
    Anyway, should yyou have any recommendations or tips for new blog owners pleasee share.
    I understand this is off subject nevertheless I just needed to ask.
    Cheers!

  4. Indiajer dice:

    best pharmacy buy Stromectol: Stromectol over the counter – Stromectol over the counter

  5. MartinJaify dice:

    Prednexa Med: prednisone 10mg canada – Prednexa Med

  6. Indiajer dice:

    amoxil online: amoxil online – Navikara Pharmacy

  7. mostbet kg [url=https://www.mostbet12040.ru]https://www.mostbet12040.ru[/url]

  8. мост бет букмекерская контора [url=http://mostbet12040.ru/]http://mostbet12040.ru/[/url]

  9. fashionchoicehub – Enjoyed scrolling through today’s updates, everything looked clean and thoughtfully arranged.

  10. Sal Lazard dice:

    findnewdeals – Checked it today and discovered a few deals perfect for my needs.

  11. bestbuycollection – Saw some solid choices here that matched exactly what I needed.

  12. findnewhorizons – The layout felt simple and welcoming, making the experience very enjoyable.

  13. brightfashionhub – Discovered a few new trends that I might actually try this month.

  14. TimothyBruth dice:

    Indiava Meds [url=https://indiavameds.xyz/#]Indiava Meds[/url] india pharmacy

  15. CesarOppot dice:

    cheap amoxil: amoxil online – cheap amoxil

  16. Dorisgow dice:

    Как выбрать интегрированные услуги по проектированию программного обеспечения

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

    Анализ потребностей и целей

    Перед поиском всесторонних услуг необходимо четко определить задачи проекта. Это предполагает понимание функционала, объема работ и сроков реализации.

    Репутация и опыт подрядчика

    Обращайте внимание на репутацию поставщика услуг, его опыт в области создания ПО. Изучите примеры, отзывы клиентов и рейтинги.

    Спектр предоставляемых услуг

    Идеально, если компания предлагает полный набор услуг — от анализа требований и дизайна до тестирования и поддержки. Такой подход гарантирует эффективный результат.

    Технологический стек и методы работы

    Важно узнать, какие платформы используются, и соответствует ли их выбор современным стандартам. Гибкая подход разработки (например, Agile, Scrum) способствует своевременной реализации и адаптации к изменениям [url=https://scrile.ru/analog-onlifans-v-rossii/]аналоги онлифанс в россии[/url]

    Стоимость и условия сотрудничества

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

    Заключение

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

    Используйте эти рекомендации для поиска надежного партнера и достижения своих бизнес-целей.

    Если нужна помощь — обращайтесь!

  17. Great web site you’ve got here.. It’s difficult to find high quality
    writing like yours these days. I honestly appreciate individuals like you!

    Take care!!

  18. Indiajer dice:

    can you buy prednisone in canada: buy prednisone – Prednexa Med

  19. ラブドール 最新Lemarrois had just arrived at a gallop with s stern letter,and Mura humiliated and anxious to expiate his faul had at oncemoved his forces to attack the center and outflank both the Russianwings,

  20. CesarOppot dice:

    Navikara Pharmacy: Navikara Pharmacy – amoxil online

  21. TimothyBruth dice:

    generic amoxil [url=https://navikarapharmacy.xyz/#]Navikara Pharmacy[/url] where to buy amoxicillin over the counter

  22. мостбет официальный сайт скачать [url=https://mostbet12040.ru/]мостбет официальный сайт скачать[/url]

  23. Indiajer dice:

    IndiavaMeds: online medicine – buy medicine from india

Responder a agenolx Cancelar respuesta