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: 25,289

  1. We’re a group of volunteers and opening a new scheme in our community.
    Your web site offered us with valuable information to work on. You have done an impressive job
    and our entire community will be thankful to you.

  2. m98 bet dice:

    magnificent points altogether, you simply won a emblem new reader.
    What might you suggest in regards to your put up that you just made some days ago?
    Any sure?

  3. Hey there! Quick question that’s entirely off topic.
    Do you know how to make your site mobile friendly? My web site looks weird when browsing
    from my iphone 4. I’m trying to find a theme or plugin that
    might be able to resolve this problem. If you have any suggestions, please share.
    Cheers!

  4. Rodneyrit dice:

    jollibet app: jollibet – Online casino Jollibet Philippines

  5. situs slot dice:

    Hi there, of course this paragraph is actually good and I have
    learned lot of things from it concerning blogging.
    thanks.

  6. Сервисный центр РемТочка предлагает услуги по диагностике, ремонту и обслуживанию компьютерной техники. Мы специализируемся на решении любых проблем с вашим компьютером, от простых настроек до сложных технических работ. Наши опытные специалисты всегда готовы помочь вам с любыми вопросами, такими как
    https://116pc.ru/ связанными с компьютерами и программным обеспечением.

  7. cuevana dice:

    Cuevana 3 es una plataforma gratis para ver películas y series online con audio español
    latino o subtítulos. No requiere registro y ofrece contenido en HD

  8. лечение запоя калуга
    vivod-iz-zapoya-kaluga008.ru
    вывод из запоя круглосуточно калуга

  9. DonaldZew dice:

    Situs judi online terpercaya Indonesia: Mandiribet login – Mandiribet login

  10. WilliamTiz dice:

    Добро пожаловать! Владивосток — это удивительный уголок на берегу Тихого океана,
    известный своими прекрасными видами и уникальным архитектурным наследием. Прогулка по
    набережной подарит вам свежий воздух и великолепные виды на залив Золотого Рога. Не
    пропустите Русский мост и остров Русский, откуда открываются захватывающие панорамы.
    Город не только красив, но и богат историей и культурными традициями, что делает его
    замечательным местом для туристов. Одинокие мужчины могут также воспользоваться услугами девушек, посетив сайты эскорта.
    Более подробно про сайт здесь: секс-знакомства Владивостока

  11. I read this piece of writing fully concerning the difference of most
    up-to-date and previous technologies, it’s remarkable article.

  12. Larryshece dice:

    Jiliko login [url=https://jilwin.pro/#]Jiliko casino[/url] Jiliko slots

  13. Rodneyrit dice:

    Khuy?n mai GK88: Dang ky GK88 – Khuy?n mai GK88

  14. рулонные шторы с электроприводом на пластиковые окна [url=https://elektricheskie-zhalyuzi.ru]https://elektricheskie-zhalyuzi.ru[/url] .

  15. JoshuaLyday dice:

    1win: Ставки на спорт и киберспорт! Коэффициенты, бонусы и акции ждут тебя! Регистрируйся и выигрывай! https://t.me/s/Official_1win_kanal/4407 #1win #ставки #бонусы

  16. DarylCoT dice:

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

    Обзор платформы

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

    Игровая коллекция [url=http://www.modernism.hk/?s=%3Ca+href%3D%22https%3A%2F%2Fjoy-casino.info%2F%22%3EJoycasino%3C%2Fa%3E&x=0&y=0]http://www.modernism.hk/?s=%3Ca+href%3D%22https%3A%2F%2Fjoy-casino.info%2F%22%3EJoycasino%3C%2Fa%3E&x=0&y=0[/url]

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

    Вознаграждения

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

    Открытие счёта

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

    Финансы

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

  17. This is my first time go to see at here and i am truly pleassant to read
    all at one place.

  18. I’m gone to convey my little brother, that he should also pay a visit this weblog on regular
    basis to get updated from most recent news update.

  19. Piece of writing writing is also a fun, if you know afterward you can write or else
    it is difficult to write.

  20. JoshuaLyday dice:

    1win: Ставки на спорт и киберспорт! Коэффициенты, бонусы и акции ждут тебя! Регистрируйся и выигрывай! https://t.me/s/Official_1win_kanal/3288 #1win #ставки #бонусы

  21. 1Win dice:

    Официальный Telegram канал 1win Casinо. Казинo и ставки от 1вин. Фриспины, актуальное зеркало официального сайта 1 win. Регистрируйся в ван вин, соверши вход в один вин, получай бонус используя промокод и начните играть на реальные деньги.
    https://t.me/s/Official_1win_kanal/4061

  22. The explanation of the validator and checkpoint system for the PoS bridge was fascinating.

  23. BrianNig dice:

    Offers a large selection of slots, sports betting and large bonuses. Working mirror of the official site [url=https://n2tutor.ru]1Вин[/url]

  24. This is an unbiased and comprehensive look at the Polygon Bridge, covering both its strengths and limitations.

  25. Sleep Lean dice:

    Sleep Lean is getting attention for its unique approach to supporting both restful sleep and healthy weight management.
    Many users say they wake up feeling more refreshed while
    also noticing better metabolism and reduced late-night cravings.
    It could be a great option for those wanting to improve sleep quality and
    overall wellness at the same time.

  26. Memory Lift dice:

    Memory Lift is getting noticed for its natural approach to boosting focus, memory,
    and overall brain performance. Many users say
    they experience clearer thinking, better recall, and improved concentration after using it.
    It seems like a great choice for anyone looking to naturally support cognitive health.

Responder a mawartoto slot777 Cancelar respuesta