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: 141,090

  1. 1xbet_xvon dice:

    1xbwt giri? [url=https://1xbet-37.com/]1xbet-37.com[/url] .

  2. It’s awesome to visit this web site and reading
    the views of all friends about this article, while I am
    also zealous of getting knowledge.

  3. dyson v15 спб [url=https://pylesos-dn-kupit-9.ru/]pylesos-dn-kupit-9.ru[/url] .

  4. dyson пылесос [url=https://pylesos-dn-kupit-8.ru/]dyson пылесос[/url] .

  5. mostbet_ndst dice:

    mostbet chat in romana [url=http://mostbet2006.help/]http://mostbet2006.help/[/url]

  6. 1xbet_kjka dice:

    1 xbet giri? [url=https://1xbet-36.com/]1 xbet giri?[/url] .

  7. В мире азартных игр ставок leon ставки на
    спорт, бк леон официальный сайт превратились популярной областью.

    My web-site https://leon-jxg.buzz/

  8. 1xbet_jyka dice:

    1x lite [url=https://1xbet-36.com/]1x lite[/url] .

  9. Hello There. I found your blog using msn. This is a very well written article.
    I’ll make sure to bookmark it and return to read more of your
    useful info. Thanks for the post. I will definitely comeback.

  10. MichaelHinty dice:

    fertility pct guide: fertility pct guide – order generic clomid for sale

  11. Everyone loves it when people come together and share opinions.
    Great website, keep it up!

  12. dyson пылесос беспроводной купить спб [url=https://pylesos-dn-kupit-10.ru/]dyson пылесос беспроводной купить спб[/url] .

  13. 1xbet_xlka dice:

    birxbet giri? [url=https://1xbet-36.com/]birxbet giri?[/url] .

  14. dyson спб официальный [url=https://pylesos-dn-kupit-9.ru/]pylesos-dn-kupit-9.ru[/url] .

  15. Jamesambum dice:

    Онлайн казино – виртуальные игровые заведения

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

    Основные особенности онлайн казино

    – Игровой процесс без перерывов — возможность играть без ограничений по времени.
    – Каталог развлечений — слоты, игра в рулетку, покер, двадцать одно и другое.
    – Выгодные предложения — депозитные поощрения, что дает дополнительные возможности.
    – Удобные способы оплаты — банковские карты, электронные кошельки, криптовалюта.
    – Высокий уровень безопасности — использование лицензированное ПО.

    Важные параметры выбора онлайн казино

    – Официальная сертификация — подтверждение надежности платформы.
    – Реальные рейтинги — помогают оценить репутацию.
    – Работа с известными разработчиками — гарантия интересного п?

    ?оцесса.
    – Условия бонусов и акций — ознакомьтесь с лимитами и условиями [url=https://toponlinecasino-ru.com/]игровые автоматы[/url]
    – Качественная служба поддержки — важна для решения вопросов и проблем.

    Ответственная игра и меры предосторожности

    Гемблинг всегда несут риск потерь. Чтобы избежать проблем, рекомендуем:

    – Контролировать бюджет.
    – Избегать импульсивных ставок.
    – Использовать сервисы поддержки.

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

  16. 1xbet_wnka dice:

    bahis sitesi 1xbet [url=https://1xbet-31.com/]1xbet-31.com[/url] .

  17. rimibit dice:

    Bu konuda daha önce böyle bilgiye rastlamamıştım.

    Detaylar için romobot sayfasına göz atabilirsiniz.

  18. MichaelHinty dice:

    fertility pct guide: get clomid no prescription – can i buy clomid

  19. 1xbet_swEn dice:

    1x bet [url=https://1xbet-35.com/]1x bet[/url] .

  20. 1xbet_kdEn dice:

    1x lite [url=https://1xbet-35.com/]1x lite[/url] .

  21. Транслируйте контент для взрослых на безопасных и надежных платформах.

    Найдите гарантированные источники видео для первоклассного опыта.

    Feel free to surf to my web site: BRUTAL PORN CLIPS

  22. MarcusPsype dice:

    cost propecia without dr prescription: propecia price – buy propecia pill

  23. Its like you read my mind! You appear to know so much about this,
    like you wrote the book in it or something. I think that you
    can do with a few pics to drive the message home a bit, but other than that, this is wonderful blog.
    A fantastic read. I will certainly be back.

  24. E2bet dice:

    Hello there I am so happy I found your blog page, I really
    found you by accident, while I was researching on Aol
    for something else, Anyhow I am here now and would just like to say thanks for a
    fantastic post and a all round interesting blog (I also love the theme/design), I
    don’t have time to browse it all at the minute but I have
    book-marked it and also included your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up the fantastic work.

  25. EdwardThons dice:

    Онлайн казино – современный формат развлечений

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

    Основные преимущества онлайн казино

    – Работают круглосуточно — играть возможно без ограничений по времени.
    – Разнообразие игр — игровые автоматы, рулетка, бaccarat и др.
    – Специальные поощрения — фриспины, которые повышают выгоду.
    – Удобные методы оплаты — банковские карты, электронные кошельки, криптовалюты.
    – Безопасные условия игры — современные технологии шифрования, лицензии и регуляции.

    Как выбрать надежное онлайн казино

    – Официальный статус — важнейший фактор, подтверждающий законность деятельности и честность.
    – Отзывы игроков — исследуйте мнения других пользователей, чтобы избежать мошенничества.
    – Сотрудничество с известными разработчиками — гарантия интересного и честного игрового процесса.
    – Прозрачные правила акций — изучите правила отыгрыша и ограничения.
    – Оперативная служба поддержки — оперативные ответы и помощь при возникновении проблем [url=https://sites.google.com/1xpartner.com/onlinecasino]игровые автоматы с выводом денег на карту[/url]

    Ответственная игра и риски

    Ставки в онлайн казино несут определённые риски. Важно:

    – Контролировать бюджет.
    – Соблюдать дисциплину.
    – Пользоваться доступными ресурсами по игре ответственно.

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

  26. MichaelHinty dice:

    Generic Elavil: buy Elavil – Elavil

  27. пылесос dyson спб [url=https://pylesos-dn-kupit-9.ru/]pylesos-dn-kupit-9.ru[/url] .

  28. 1xbet_ntka dice:

    1xbetgiri? [url=https://1xbet-31.com/]1xbet-31.com[/url] .

  29. I loved as much as you’ll receive carried out right
    here. The sketch is tasteful, your authored material stylish.
    nonetheless, you command get got an nervousness over that you wish be
    delivering the following. unwell unquestionably come more formerly again since
    exactly the same nearly very often inside case you
    shield this hike.

  30. 1xbet_baEn dice:

    1xbet resmi [url=https://1xbet-35.com/]1xbet-35.com[/url] .

  31. MichaelHinty dice:

    Amitriptyline: Amitriptyline – buy Elavil

  32. MarcusPsype dice:

    AmiTrip Relief Store: Generic Elavil – Amitriptyline

Responder a weth staking website Cancelar respuesta