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: 125,354

  1. 1win_uePi dice:

    how to withdraw from 1win [url=http://1win5741.help/]how to withdraw from 1win[/url]

  2. After I originally left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and from now on every time a comment is added I receive four emails with the same comment. There has to be an easy method you can remove me from that service? Thank you!

  3. After I initially commented I appear to have clicked on the -Notify me when new comments are added- checkbox and now every time a comment is added I recieve four emails with the same comment. There has to be a means you are able to remove me from that service? Thanks a lot!

  4. I am really enjoying the theme/design of your weblog.
    Do you ever run into any browser compatibility issues?
    A handful of my blog audience have complained about my site
    not operating correctly in Explorer but looks great in Firefox.

    Do you have any suggestions to help fix this issue?

  5. ラブドール オナニー— sill? tied?n h?net hyvinkauniiksi.H?n saakoon majan minun majani varjossa.

  6. многоуровневый линкбилдинг [url=https://seo-kejsy7.ru/]seo-kejsy7.ru[/url] .

  7. 1win_zpKa dice:

    how to withdraw money from 1win [url=www.1win5740.help]www.1win5740.help[/url]

  8. сео центр [url=https://seo-kejsy7.ru/]сео центр[/url] .

  9. rembrandt dice:

    After I originally left a comment I appear to have clicked the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I get 4 emails with the exact same comment. There has to be an easy method you can remove me from that service? Many thanks!

  10. Thomasdrync dice:

    Как правильно выбрать специалистов для монтажа лестницы в доме

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

    Определение нужд и требований

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

    Поиск и сбор информации о специалистах

    Ищите компании и частных мастеров, которые работают именно с лестницами. Используйте:

    – рекомендации знакомых
    – отзывы в интернете на платформах
    – портфолио выполненных работ на сайтах или в соцсетях

    Проверка квалификации и опыта

    Обратите внимание на:

    – опыт работы в сфере монтажа — лучше не менее 3-5 лет
    – наличие сертификатов, подтверждающих квалификацию
    – выполненные проекты — чтобы оценить качество и стиль

    Общение и оценка предложений

    Свяжитесь выбранным кандидатам и уточните:

    – стоимость работ и материалов
    – сроки исполнения
    – гарантийные обязательства
    – наличие страховки и безопасность выполнения работ

    Просите предварительное предложение с подробным описанием этапов.

    Важность договора

    Обязательно заключайте [url=https://35stupenek.ru/]https://35stupenek.ru/[/url] соглашение, где будут прописаны:

    – смета
    – сроки выполнения работы
    – материалы и их качество
    – ответственность сторон

    Это защитит вас от возможных недоразумений.

    Контроль качества и приемка

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

    Итог

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

  11. 1win официальный сайт, 1win предлагает
    многообразный выбор игр. Здесь предлагаются инновационные функции для простоты использования.

    Also visit my web-site: https://1win-9kzc6.buzz

  12. crown coin dice:

    After I initially commented I seem to have clicked the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I get 4 emails with the same comment. Perhaps there is a way you can remove me from that service? Kudos!

  13. When I initially left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and now whenever a comment is added I recieve four emails with the same comment. There has to be a means you can remove me from that service? Appreciate it!

  14. I personally find that i’ve been using it for recently for using the API, and the intuitive UI stands out. I moved funds across chains without a problem.

  15. I’ve been active for over two years, mostly for checking analytics, and it’s always robust security.

  16. .. Je me suisdonné au monde pour son salut,dans l’Incarnation.ラブドール

  17. nasa dice:

    After I initially commented I seem to have clicked on the -Notify me when new comments are added- checkbox and from now on every time a comment is added I get 4 emails with the same comment. There has to be an easy method you are able to remove me from that service? Kudos!

  18. Stephencat dice:

    Just now, I wanted to get antibiotics urgently and came across this source. They provide generic Amoxil cheaply. If you need meds, visit this link: https://amoxicillinexpress.com. Hope it helps.

  19. win55 dice:

    When I originally left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and now every time a comment is added I receive four emails with the exact same comment. There has to be an easy method you are able to remove me from that service? Thanks!

  20. Spravkigvl dice:

    Срочно и недорого купить санитарную книжку в столице обеспечит компания [url=https://volgamedconsalt.ru/]https://volgamedconsalt.ru/[/url]. Сервис подготовит документ со всеми отметками по стоимости от 900 рублей для сотрудников бытового обслуживания. https://volgamedconsalt.ru/ Заказ осуществляется в кратчайшие сроки, необходимы копия паспорта и фото.

  21. Williamhem dice:

    элитные проститутки ростова
    путаны в ростове

Responder a ラブドール Cancelar respuesta