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: 94,304

  1. jaya9 app dice:

    Check out the other sites in the .ong zone. Check other webpages using SSL certificates issued by google trust services.
    The results are significant for families who feel the jaya9 app with toddlers.

  2. JamesOxype dice:

    sildenafil over the counter: Buy Viagra online cheap – Order Viagra 50 mg online

  3. Dennishooky dice:

    Кэт Казино Обзор

    Кэт Казино предлагает популярную игровую площадку для ставок. Это интернет-казино, которое предоставляет богатый ассортимент игровых автоматов и классических игр.

    Игры в Кэт Казино с разнообразием

    В Кэт Казино есть игровые аппараты, настольные игры — блекджек и специальные состязания. Платформа сотрудничает с известными разработчиками — NetEnt.

    Бонусы и акции Кэт Казино с выгодными условиями

    [url=https://moscowmalefest.ru/]Кэт Казино[/url] обеспечивает щедрые бонусы, регулярные промо-кампании и бонусные системы. Игроки имеют шанс повысить свои шансы на выигрыш и заполучить бонусные деньги.

    Безопасность и поддержка Кэт Казино надежность

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

    Итоги о Кэт Казино вывод

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

  4. Stevepsymn dice:

    list of online canadian pharmacies http://corpharmacy.com/# Cor Pharmacy

  5. I am actually pleased to read this website posts which
    consists of plenty of useful facts, thanks for providing such data.

  6. 小丑回魂 dice:

    This helped me understand the topic much better. Thanks!

  7. Hi there, just wanted to tell you, I loved this article.

    It was helpful. Keep on posting!

  8. Williamecoto dice:

    where to buy erectile dysfunction pills [url=https://edpillsafib.xyz/#]cheap boner pills[/url] EdPillsAfib

  9. Great article! Very informative and well-written.

  10. Williamecoto dice:

    ViagraNewark [url=http://viagranewark.com/#]Buy generic 100mg Viagra online[/url] sildenafil online

  11. see here now dice:

    Attractive section of content. I just stumbled upon your weblog and in accession capital
    to assert that I acquire actually enjoyed account your
    blog posts. Any way I’ll be subscribing to your augment
    and even I achievement you access consistently fast.

  12. наркология анонимно [url=narkologicheskaya-klinika-40.ru]narkologicheskaya-klinika-40.ru[/url] .

  13. Williamecoto dice:

    EdPillsAfib [url=http://edpillsafib.com/#]EdPillsAfib[/url] Ed Pills Afib

  14. sms808 dice:

    If you want to improve your knowledge only keep visiting this web site and be updated with the latest information posted here.

  15. реабилитационный центр наркологический [url=https://narkologicheskaya-klinika-40.ru/]narkologicheskaya-klinika-40.ru[/url] .

  16. JamesOxype dice:

    Cor Pharmacy: mail order pharmacy – canadian pharmacy ltd

  17. Carlossnilt dice:

    работу

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

    Актуальность и интерес

    Выбирайте тему, которая соответствует современным трендам в вашей области. Она должна вызывать у вас жажду знаний, чтобы процесс работы был продуктивным.

    Возможность исследований

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

    Соответствие требованиям

    Уточните у руководителя требования к содержанию дипломного проекта. Важно, чтобы тема подходила под эти нормы и позволяла раскрыть необходимые вопросы [url=https://all-lyrics.ru/]сайт для дипломной работы[/url]

    Практическая значимость

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

    Доступность руководства

    Оптимально выбирать тему, по которой у вас есть ориентиры, и руководитель, способный наставить в процессе написания.

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

  18. Diplomi_obMt dice:

    диплом о высшем образовании с проводкой купить [url=https://r-diploma21.ru]диплом о высшем образовании с проводкой купить[/url] .

  19. Diplomi_rvEa dice:

    купить диплом вуза не гознак [url=http://www.r-diploma20.ru]купить диплом вуза не гознак[/url] .

  20. Súc Vật dice:

    I think that what you published was very reasonable. However, think on this, suppose
    you added a little information? I mean, I don’t wish to tell you how to run your website,
    however what if you added a title that makes people want more?
    I mean Infraestructura como código – Politraining is a
    little vanilla. You ought to peek at Yahoo’s front page and watch how they create
    news titles to grab people to open the links.
    You might try adding a video or a picture or two to get readers interested
    about everything’ve written. Just my opinion, it might bring your blog a
    little bit more interesting.

  21. slot gacor dice:

    excellent points altogether, you just won a logo new reader.
    What may you recommend about your submit that you made
    a few days in the past? Any sure?

  22. Every weekend i used to visit this website, for the reason that i want enjoyment,
    for the reason that this this web page conations truly pleasant funny information too.

  23. I’m not sure where you are getting your info, but good
    topic. I needs to spend some time learning more or understanding more.

    Thanks for magnificent info I was looking for this information for
    my mission.

  24. among other things a customer have the opportunity to book a more spacious transport, for example, a comfortable bus capable of transporting up https://www.sycforum.co.uk/index.php?action=profile;u=18846.

  25. Stevepsymn dice:

    canadiandrugstore com http://viagranewark.com/# ViagraNewark

Responder a Stevepsymn Cancelar respuesta