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: 123,348

  1. Raymondmaync dice:

    To be honest, I wanted to buy Ivermectin pills and came across this reliable site. You can get genuine Ivermectin no script needed. If you need to treat scabies safely, highly recommended: treat scabies online. Fast delivery

  2. utbet app dice:

    Hurrah, that’s what I was exploring for, what a data! present here at this blog, thanks admin of this site.

  3. выпрямитель dyson airstrait ht01 [url=https://vypryamitel-dn-kupit-4.ru/]выпрямитель dyson airstrait ht01[/url] .

  4. выпрямитель dyson ht01 купить [url=https://vypryamitel-dsn-kupit-2.ru/]vypryamitel-dsn-kupit-2.ru[/url] .

  5. Wow, that’s what I was exploring for, what a material! present here at this web site, thanks admin of this web page.

  6. купить выпрямитель dyson оптом [url=https://vypryamitel-dsn-kupit-2.ru/]vypryamitel-dsn-kupit-2.ru[/url] .

  7. купить кейс для выпрямителя дайсон [url=https://vypryamitel-dsn-kupit-2.ru/]vypryamitel-dsn-kupit-2.ru[/url] .

  8. f9 bet app dice:

    Hurrah, that’s what I was looking for, what a stuff! present here at this blog, thanks admin of this web site.

  9. super slots dice:

    Hurrah, that’s what I was exploring for, what a data! present here at this web site, thanks admin of this web page.

  10. An intriguing discussion is worth comment. I do believe
    that you should publish more on this subject, it may not be a taboo
    subject but generally people do not talk about these topics.
    To the next! Kind regards!!

  11. bk bet app dice:

    Wow, that’s what I was searching for, what a information! present here at this webpage, thanks admin of this website.

  12. Raymondmaync dice:

    п»їTo be honest, I was looking for Ciprofloxacin urgently and stumbled upon a reliable pharmacy. It allows you to order meds no script securely. If you have UTI, check this shop. Discreet packaging to USA. More info: http://antibioticsexpress.com/#. Cheers.

  13. Stephencat dice:

    п»їJust now, I had to find Zithromax quickly and came across a great source. You can get treatment fast safely. For treating strep throat, this is the best place. Fast shipping guaranteed. Check it out: [url=https://antibioticsexpress.xyz/#]Antibiotics Express[/url]. Cheers.

  14. Stephencat dice:

    Recently, I needed Amoxicillin for a tooth infection and stumbled upon a great pharmacy. You can get effective treatment overnight. For fast relief, this is the best place: [url=http://amoxicillinexpress.com/#]amoxicillin no prescription[/url]. Get well soon.

  15. casino perth dice:

    Hurrah, that’s what I was searching for, what a data! present here at this web site, thanks admin of this website.

  16. phfun dice:

    Hurrah, that’s what I was exploring for, what a stuff! present here at this webpage, thanks admin of this web page.

  17. AngeloWop dice:

    Aviator Casino характеристика

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

    Что такое Aviator Casino кратко о платформе

    Aviator Casino — это интернет игровое заведение, специализирующееся на авиационной тематике. Главная игра — Aviator игровой автомат, где участники делают ставки, пытаясь поймать момент взлёта виртуального самолёта и получить свой выигрыш.

    Главное преимущество Aviator Casino

    – Инновационный игровой процесс и механика

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

    – Простота и доступность

    Интерфейс понятный, что подходит и для неопытных, и для опытных игроков онлайн-казино.

    – Мобильная совместимость

    Платформа оптимизирована как для компьютеров, так и для планшетов, что позволяет играть где угодно.

    Основные возможности Aviator Casino

    – Щедрые множители

    Игры предлагают перспективу получить крупные призы за счёт растущих множителей.

    – Бонусы и акции

    [url=https://aviatorgame-ru.com/]авиатор[/url] регулярно проводит промоакции, которые повышают интерес и увеличивают шанс на успех.

    – Безопасность и честность

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

    Почему выбирают Aviator Casino

    – Доверие — наличие лицензий и сертификатов подтверждает законность казино.

    – Удобные методы ввода и вывода средств, поддержка популярнейших платёжных систем.

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

    Заключение

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

    Для тех, кто ищет новые впечатления в мире онлайн-гемблинга, Aviator Casino является замечательным вариантом.

Responder a Nazilli Otel Cancelar respuesta