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: 60,224

  1. 1xbet tr giri? [url=http://1xbet-giris-6.com]http://1xbet-giris-6.com[/url] .

  2. бюро переводов Перевод и Право [url=www.teletype.in/@alexd78/HN462R01hzy/]www.teletype.in/@alexd78/HN462R01hzy/[/url] .

  3. klan dice:

    Hi, I do believe this is an excellent web site. I stumbledupon it 😉 I’m going to come back yet again since I book marked it.
    Money and freedom is the best way to change, may you be rich and continue to guide others.

  4. Greetings! Very helpful advice in this particular post!
    It’s the little changes that make the biggest changes.
    Thanks for sharing!

  5. LanceWIZ dice:

    https://medivertraut.shop/# sichere Online-Apotheke Deutschland

  6. AnthonyCen dice:

    Viagra 100 mg ohne Rezept: Medi Vertraut – Medi Vertraut

  7. This is a great article, i am simply a fun, keep up the good work, just finish reading from https://websiteerstellenlassenbamberg.de// and their work is fantastic. i will be checking your content again if you make next update or post. Thank you

  8. This is a great article, i am simply a fun, keep up the good work, just finish reading from https://websiteerstellenlassenbamberg.de// and their work is fantastic. i will be checking your content again if you make next update or post. Thank you

  9. 1xbet t?rkiye [url=http://www.1xbet-giris-3.com]1xbet t?rkiye[/url] .

  10. Charlesfrita dice:

    Blue Peak Meds [url=http://bluepeakmeds.com/#]discreet shipping for ED medication[/url] difference between Viagra and generic Sildenafil

  11. Hi friends, its wonderful paragraph regarding educationand fully defined, keep it
    up all the time.

  12. Aaronfoomi dice:

    lenotoplenie.ru все бонусные предложения и фрибеты собраны в одном месте

  13. seo агентство москва [url=www.reiting-seo-kompaniy.ru]www.reiting-seo-kompaniy.ru[/url] .

  14. Good way of telling, and fastidious article to get data on the topic of my presentation topic, which i am going to
    present in institution of higher education.

  15. Diplomi_qsOl dice:

    купить диплом в нефтекамске [url=https://www.rudik-diplom13.ru]купить диплом в нефтекамске[/url] .

  16. The Szgany are quartered somewhere in the castle and are doing work ofsome kind.I know it,中国 えろ

  17. Jeffreyunolf dice:

    Кейсы в CS:GO: что это, как их использовать и какие из них самые популярные

    [url=https://dolphin.win/]Кейсы кс го[/url] – это один из самых захватывающих аспектов игры, который привлекает как начинающих игроков, так и опытных. Эти виртуальные контейнеры содержат облики для оружия, а их открывание часто сравнивают с азартной игрой. В этой статье мы расскажем, что такое кейсы, как их использовать, и какие из них считаются самыми востребованными.

    Что такое кейсы и как они работают?

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

    Как получить кейсы?

    Кейсы можно получить несколькими способами:

    1. Играя на официальных платформах. После матча есть шанс выпадения кейса в качестве бонуса.
    2. Покупая на торговых. Вы можете приобрести кейсы у других игроков через торговую площадку Steam.
    3. Участвуя в акциях. Иногда разработчики раздают кейсы в рамках специальных программ.
    Как открыть кейс?

    Чтобы открыть кейс, следуйте этим действиям:

    1. Приобретите активатор. Ключи продаются в той же платформе, что и кейсы.
    2. Выберите кейс. Убедитесь, что у вас есть подходящий ключ для него.
    3. Нажмите опцию «Открыть». После этого вы получите рандомный скин.
    Самые популярные кейсы

    Среди множества кейсов в CS:GO есть несколько, которые особенно популярны среди игроков. Вот список самых известных:

    1. Operation Bravo Case. Этот кейс считается легендарным и содержит редкие скины.
    2. Gamma Case. Включает в себя яркие скины, которые ценятся за оригинальность.
    3. Chroma Case. Содержит цветные скины, которые радуют глаз своей необычностью.
    Стоит ли открывать кейсы?

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

    Заключение

    Кейсы в CS:GO – это неотъемлемая часть цифрового опыта, которая добавляет азарта. Независимо от того, являетесь ли вы энтузиастом скинов или просто любите азарт, кейсы предлагают уникальную возможность получить редкие предметы.

  18. bahis sitesi 1xbet [url=http://www.1xbet-giris-5.com]bahis sitesi 1xbet[/url] .

  19. Diplomi_dqei dice:

    можно купить диплом медсестры [url=https://frei-diplom14.ru]можно купить диплом медсестры[/url] .

  20. Williamuncob dice:

    Viagra sans ordonnance avis: prix du Viagra générique en France – SanteHommeFrance

  21. Charlesfrita dice:

    Sildenafil online reviews [url=https://bluepeakmeds.shop/#]how generic Viagra works in the body[/url] Sildenafil online reviews

  22. and saw that she was in a half-dreamy state,with an odd look onher face that I could not quite make ou so butfollowed her eyes.ラブドール リアル

  23. 1xbet giri? linki [url=http://1xbet-giris-6.com/]1xbet giri? linki[/url] .

  24. 1win_kg_nama dice:

    1win ссылка [url=www.1win5519.ru]www.1win5519.ru[/url]

  25. one x bet [url=http://1xbet-giris-2.com/]http://1xbet-giris-2.com/[/url] .

  26. This is a great article, i am simply a fun, keep up the good work, just finish reading from https://websiteerstellenlassenbamberg.de// and their work is fantastic. i will be checking your content again if you make next update or post. Thank you

  27. toto togel dice:

    Do you have a spam problem on this site; I also am a blogger, and I
    was curious about your situation; we have created some nice procedures and we are looking to swap strategies with others, why
    not shoot me an email if interested.

  28. 1win_kg_csma dice:

    скачать 1win на телефон официальный сайт [url=http://1win5519.ru]http://1win5519.ru[/url]

  29. KennethWah dice:

    Ukrainian President Volodymyr Zelensky condemned Russian attacks on the Ukrainian regions of Kharkiv, Zaporizhzhia and Sumy on Monday, saying that the Kremlin intends to “humiliate diplomatic efforts” just hours before European leaders visit the White House.
    [url=https://kra—42at.ru]kra38 сс[/url]
    “The Russian war machine continues to destroy lives despite everything,” Zelensky said in a statement, hours before he’s due to meet US President Donald Trump in the Oval Office. “That is precisely why we are seeking assistance to put an end to the killings. That is why reliable security guarantees are required. That is why Russia should not be rewarded for its participation in this war.”
    [url=https://kra41-at.com]kra42 cc[/url]
    “Everyone seeks dignified peace and true security,” the Ukrainian president said. “And at this very moment, the Russians are attacking Kharkiv, Zaporizhzhia, the Sumy region, and Odesa, destroying residential buildings and our civilian infrastructure.”

    At least seven people were killed in Russia’s attack? on Kharkiv and a further three killed in the ballistic missile strike on the city of Zaporizhzhia, with scores more injured, according to Ukrainian authorities.

    “This was a demonstrative and cynical Russian strike,” Zelensky added.
    kra35 cc
    https://kra-41-at.net

  30. RonnieLap dice:

    Ukrainian President Volodymyr Zelensky condemned Russian attacks on the Ukrainian regions of Kharkiv, Zaporizhzhia and Sumy on Monday, saying that the Kremlin intends to “humiliate diplomatic efforts” just hours before European leaders visit the White House.
    [url=https://kra41cc.net]kra39 сс[/url]
    “The Russian war machine continues to destroy lives despite everything,” Zelensky said in a statement, hours before he’s due to meet US President Donald Trump in the Oval Office. “That is precisely why we are seeking assistance to put an end to the killings. That is why reliable security guarantees are required. That is why Russia should not be rewarded for its participation in this war.”
    [url=https://kra-41-cc.net]kra41 at[/url]
    “Everyone seeks dignified peace and true security,” the Ukrainian president said. “And at this very moment, the Russians are attacking Kharkiv, Zaporizhzhia, the Sumy region, and Odesa, destroying residential buildings and our civilian infrastructure.”
    [url=https://kra-41-at.com]kra41[/url]
    At least seven people were killed in Russia’s attack? on Kharkiv and a further three killed in the ballistic missile strike on the city of Zaporizhzhia, with scores more injured, according to Ukrainian authorities.
    [url=https://kra-41—at.ru]kra42 cc[/url]
    “This was a demonstrative and cynical Russian strike,” Zelensky added.
    kra39
    https://kra42at.com

  31. 1xbet com giri? [url=https://1xbet-giris-4.com]https://1xbet-giris-4.com[/url] .

  32. Charlesfrita dice:

    SanteHommeFrance [url=https://santehommefrance.com/#]pharmacie en ligne fiable France[/url] Viagra générique pas cher

  33. Great article! I really appreciate the clear insights you shared – it shows true expertise. As someone working in this field, I see the importance of strong web presence every day. That’s exactly what I do at https://webdesignfreelancerhamburg.de/ where I help businesses in Hamburg with modern, conversion-focused web design. Thanks for the valuable content!

  34. LanceWIZ dice:

    https://santehommefrance.shop/# pharmacie en ligne fiable France

  35. situs 5000 dice:

    First off I want to say excellent blog! I had a quick question which I’d like
    to ask if you don’t mind. I was interested to find out how you center yourself and clear your head prior to writing.
    I’ve had trouble clearing my mind in getting my thoughts out
    there. I do enjoy writing however it just seems like the first 10 to 15 minutes
    are lost simply just trying to figure out how to
    begin. Any suggestions or tips? Kudos!

  36. WilliamMen dice:

    Приветственные бонусы также варьируются по типу. Определённые акции доступны новым клиентам. Регистрируясь на 1xBet, активируйте код и заберите 100% приветственный бонус на сумму до 32500 рублей.Платформа 1xBet предлагает своим клиентам участвовать в спортивных ставках и казино с использованием специальных бонусов. Это делает процесс азартнее к игровому процессу и гарантирует максимальную безопасность игры.Действующий код 1xBet можно найти на странице регистрации — https://ural-hifi.ru/fonts/inc/1xbet-promokod.html.

  37. LanceWIZ dice:

    http://britmedsuk.com/# affordable potency tablets

  38. 1win_kg_dqpt dice:

    1win официальный сайт букмекерской конторы [url=1win5518.ru]1win официальный сайт букмекерской конторы[/url]

  39. Peternum dice:

    Лото Клуб Онлайн: как начать играть, преимущества и популярные игры

    Лото Клуб Онлайн – это ресурс, которая позволяет вам наслаждаться игровыми играми в формате тиража прямо с устройства или телефона. Этот способ игры становится всё более популярным благодаря удобству и открытости. В этой статье мы расскажем, как начать играть, какие достоинства имеет Лото Клуб Онлайн и какие игры пользуются наибольшим спросом.

    Что такое Лото Клуб Онлайн?

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

    Как начать играть?

    Чтобы начать играть в Лото Клуб Онлайн, выполните следующие этапы:

    1. Зарегистрируйтесь на платформе. Создайте профиль, указав свои реквизиты.
    2. Пополните кошелёк. Используйте подходящий способ оплаты, такой как банковская карта.
    3. Выберите розыгрыш. Изучите перечень доступных лотерей и выберите интересную.
    4. Купите билет. После покупки дождитесь розыгрыша и проверьте свои выигрыши.
    Преимущества Лото Клуба Онлайн

    Игра в Лото Клуб Онлайн имеет множество плюсов:

    1. Удобство. Вы можете играть в любое время и в любом локации.
    2. Открытость. Для участия в лотереях не нужно выходить из дома.
    3. Широкий выбор. На платформе представлены различные лотереи на любой предпочтение.
    4. Безопасность. Все транзакции защищены современными средствами безопасности [url=https://mamavteme.kz/]Лото Клуб[/url]
    Популярные игры в Лото Клубе Онлайн

    Среди множества игр на платформе можно выделить несколько самых востребованных:

    1. «Русское Лото». Классическая игра с цифрами, которая знакома каждому с ранних лет.
    2. «Золотая Подкова». Розыгрыш с внушительными выигрышами и интересным форматом.
    3. «Спортлото». Лотерея для энтузиастов спорта, где можно делать собственные предсказания.
    Стоит ли играть в Лото Клуб Онлайн?

    Игра в Лото Клуб Онлайн – это прекрасный способ расслабиться и получить возможность на крупный приз. Однако важно помнить о умеренном подходе: определяйте лимиты и играйте с умом.

    Заключение

    Лото Клуб Онлайн – это комфортная ресурс для поклонников розыгрышей. С её помощью вы можете участвовать в различных лотереях, не выходя из дома. Главное – подходить к игре ответственно и получать радость от процесса!

  40. AnthonyCen dice:

    In welchen europГ¤ischen LГ¤ndern ist Viagra frei verkГ¤uflich: Sildenafil Wirkung und Dosierung – Potenzmittel günstig online

  41. one x bet [url=www.1xbet-giris-3.com/]www.1xbet-giris-3.com/[/url] .

  42. slot 5000 dice:

    Wonderful site. A lot of helpful info here. I am sending it to several buddies ans additionally sharing
    in delicious. And obviously, thanks to your sweat!

  43. Great article! I really appreciate the clear insights you shared – it shows true expertise. As someone working in this field, I see the importance of strong web presence every day. That’s exactly what I do at https://webdesignfreelancerhamburg.de/ where I help businesses in Hamburg with modern, conversion-focused web design. Thanks for the valuable content!

  44. Williamuncob dice:

    Viagra générique pas cher: Sildénafil 100 mg prix en pharmacie en France – pharmacie française agréée en ligne

  45. 1win_kg_xhpt dice:

    бонусы на казино 1win [url=1win5518.ru]1win5518.ru[/url]

Responder a 1win_kg_nama Cancelar respuesta