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: 85,700

  1. Hmm is anyone else encountering problems with the images on this blog loading?

    I’m trying to determine if its a problem on my end or if
    it’s the blog. Any responses would be greatly appreciated.

    Here is my web blog; BUY XANAX WITHOUT PRESCRITION

  2. Thanks a lot. Quite a lot of content!

  3. https://je-tal-marketing-888.lon1.digitaloceanspaces.com/research/je-marketing-(282).html
    Jules & Cleo, exclusively at David’s Bridal Polyester Lace up
    again with back zipper; absolutely lined Hand wash Imported.

  4. so I lookInto the eternal light,アダルト ランジェリーand clearly markThy thoughts,

  5. Diplomi_uesl dice:

    купить диплом екатеринбург цена [url=http://www.r-diploma15.ru]купить диплом екатеринбург цена[/url] .

  6. Diplomi_zvEr dice:

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

  7. https://v-bux.ru [url=https://v-bux.ru]https://v-bux.ru[/url] .

  8. Foresttat dice:

    safe canadian pharmacies [url=https://mhfapharm.xyz/#]MhfaPharm[/url] legitimate canadian pharmacy online

  9. AndrewSmase dice:

    веб-сайт [url=https://vodkabet-vbet.site/]зеркало водка бет[/url]

  10. RichardDycle dice:

    maple leaf pharmacy in canada https://uvapharm.xyz/# pharmacy in mexico online

  11. RichardDycle dice:

    canadian pharmacy king http://mhfapharm.com/# reliable canadian pharmacy reviews

  12. Roberterymn dice:

    canadian pharmacy no rx needed: MHFA Pharm – MhfaPharm

  13. Roberterymn dice:

    IsoIndiaPharm: indianpharmacy com – indian pharmacy paypal

  14. コス エロnakita co ang aking anac na nacabiting ang tali sacanyang sariling buhoc,naringig co ang canyang mga sigaw,

  15. https://filedn.eu/lXvDNJGJo3S0aUrNKUTnNkb/marketing-805/research/je-marketing-(241).html
    For the mom whose type is glossy and minimal, opt
    for a gown with an architectural silhouette in her favourite color.

  16. melbet_muKn dice:

    melbet plângeri retrageri [url=https://melbet5011.ru/]melbet plângeri retrageri[/url]

  17. toto togel dice:

    If you desire to get a great deal from this article then you have to apply such strategies to your won weblog.

  18. EdwardVop dice:

    Яко лучше выбрать аудио библиотеку он-лайн

    В ТЕЧЕНИЕ наше время выбор аудиоколлекции он-лайн становится ходом, так как представлено множество ресурсов немного аудиокнигами. Чтоб найти идеальный фансервис, эпохально принимать умереть и не встать чуткость ярус аспектов.

    Аспекты подбора аудиобиблиотеки
    1. Запас и штрих контента

    У предпочтении аудиоархива онлайн целесообразно усмотреть выбор жанров равно доступность книг. Якши, если библиотека призывает древнюю литературу также уникальные записи. Качество звука а также озвучки также играет важную роль.

    2. Удобство использования платформы

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

    3. Эстимейт а также условия подписки

    Обязательно проанализируйте эстимейт подхода буква аудиокнигам. Некоторые библиотеки делают отличное предложение даровое слушание, часть – коммерческую подписку не без; опциями. Унше выбирать сервис с доходными ситуациями.

    4. Доп функции а также сервисы

    Существование функций, таких яко избранное, [url=https://2012614.com/home.php?mod=space&uid=146515&do=profile]https://2012614.com/home.php?mod=space&uid=146515&do=profile[/url] возможность офлайн-прослушивания, что-что также доступ буква отзывам книг ярко увеличивает уют пользования.

    Почему стоит отслушивать аудиокниги на MorecKnig

    На сайте MorecKnig вы в силах вкушать (радость аудиокнигами в режиме онлайн и толкать в течение направленности новинок также трендов. Здесь представлен богатый религия аудиокниг неодинаковой темы, профессиональное прочтение также хорошо приспособленный для использования интерфейс.

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

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

    Прослушивайте аудиокниги сверху MorecKnig уж прямо сейчас и совершайте интеллектуальные странствования!

  19. https://je-tall-marketing-849.lon1.digitaloceanspaces.com/research/je-marketing-(92).html
    We’ve always heard that mother is aware of best, and if these moms of the bride—and moms of
    the groom!

  20. melbet_dfKn dice:

    melbet bonus de bun venit [url=https://melbet5011.ru]https://melbet5011.ru[/url]

  21. I have been browsing online more than three hours today,
    yet I never found any interesting article like yours.

    It is pretty worth enough for me. In my view, if all web owners and
    bloggers made good content as you did, the internet will be much more useful than ever before.

  22. bonus melbet [url=melbetbonusy.ru]melbetbonusy.ru[/url] .

  23. When I initially left a comment I appear to have clicked the -Notify me when new comments are added- checkbox and now whenever a comment is
    added I receive 4 emails with the same comment. Perhaps there is an easy method you
    can remove me from that service? Many thanks!

  24. 撥筋創業 dice:

    https://jekyll.s3.us-east-005.backblazeb2.com/20251014-6/research/je-marketing-(455).html
    It’s your responsibility to know what she wants from each you and the groom’s mom by method of your attire.

  25. I’ve been exploring for a little bit for any high
    quality articles or weblog posts in this kind of house .
    Exploring in Yahoo I eventually stumbled upon this web site.
    Studying this info So i’m happy to exhibit that I have an incredibly good uncanny feeling I found out
    just what I needed. I such a lot indubitably will make certain to don?t overlook this web site and provides it a glance regularly.

    Feel free to visit my web-site … Massage Forum

  26. Roberterymn dice:

    best online canadian pharmacy: MhfaPharm – MHFA Pharm

  27. möbelfolie dice:

    I every time used to study post in news papers but now as I am a user of web therefore
    from now I am using net for articles, thanks to web.

  28. RichardDycle dice:

    canada pharmacy 24h https://isoindiapharm.xyz/# Iso Pharm

  29. мелбет букмекерская контора [url=www.v-bux.ru/]www.v-bux.ru/[/url] .

  30. Hey there! Do you use Twitter? I’d like to
    follow you if that would be okay. I’m absolutely
    enjoying your blog and look forward to new updates.

Responder a EdwardVop Cancelar respuesta