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: 82,278

  1. findyourstrength.shop – Great place for daily motivation and building personal strength consistently.

  2. электрокарниз двухрядный [url=https://www.elektrokarnizy77.ru]https://www.elektrokarnizy77.ru[/url] .

  3. but you have proved yourselfunworthy of my condescension.Remember that I have power,ラブドール えろ

  4. slot demo dice:

    Link exchange is nothing else except it is just placing the other person’s webpage link on your page at proper place and other person will also do similar in favor of you.

  5. Her many attractions were again dwelt on,エロ リアルand Carolineboasted joyfully of their increasing intimacy,

  6. slot dana dice:

    You’re so cool! I do not believe I’ve read through anything like
    that before. So good to discover another person with genuine thoughts on this subject.
    Seriously.. many thanks for starting this up.

    This website is something that’s needed on the web, someone with
    some originality!

  7. карнизы с электроприводом [url=http://www.elektrokarniz-dlya-shtor11.ru]карнизы с электроприводом[/url] .

  8. I like what you guys are usually up too. Such clever work and reporting!
    Keep up the good works guys I’ve incorporated you guys to my own blogroll.

  9. jahaj wala game paisa wala [url=aviator-game-deposit.com]aviator-game-deposit.com[/url] .

  10. I am truly delighted to glance at this website posts which
    contains lots of valuable information, thanks for
    providing such statistics.

  11. Aw, this was a really good post. Taking a few minutes and actual effort to make a good article… but what can I say… I hesitate a whole
    lot and don’t manage to get anything done.

  12. 拘束 衣 dice:

    エッチ 下着absolvens _insontem & damnans _sontem_ to a _Punishment or a _Fine or _Torment_.ad _P?nam vel _Mulctam vel ad _Supplicium_.

  13. TristanFag dice:

    order Kamagra discreetly [url=https://bluewavemeds.com/#]kamagra oral jelly[/url] online pharmacy for Kamagra

  14. ?“Who is Mr.Kirwin? Why am I to give an account of myself? Is notthis a free country? ?“Ay,ラブドール えろ

  15. airplane money game [url=https://www.aviator-game-predict.com]https://www.aviator-game-predict.com[/url] .

  16. The front pattern does move—and no wonder! The woman behind shakes it!Sometimes I think there are a great many women behind,and sometimesonly one,エロ い コスプレ

  17. dewa scatter dice:

    Marvelous, what a web site it is! This weblog provides useful information to us, keep
    it up.

  18. карнизы для штор с электроприводом [url=www.provorota.su/]www.provorota.su/[/url] .

  19. TommyFed dice:

    Как отобрать сайт для онлайн-игры в казино

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

    1. Сертификат

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

    – Мальта
    – Gibraltar Gambling Commission
    – Остров Мэн
    – Кюрасао

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

    2. Репутация

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

    3. Выбор игр

    Хороший сайт для казино онлайн должен предлагать широкий выбор слотов, настольных игр (рулетка, покер, блэкджек) и игры с живыми дилерами. Разнообразие позволит подобрать развлечение под любой вкус.

    4. Поощрения

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

    5. Способы оплаты

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

    – карты Visa/MasterCard
    – e-wallets
    – цифровые валюты

    Проверяйте скорость вывода и отсутствие скрытых комиссий.

    6. Безопасность

    Обязательно убедитесь в наличии современных протоколов шифрования (например, SSL), что гарантирует сохранность ваших данных и финансовых транзакций [url=https://t.me/top_casino_online_reiting]Как отобрать сайт для онлайн-игры в казино[/url]

    7. Простота навигации

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

    Итог

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

  20. エロ コスand Richardson’s factories,” if each individual had a factory of his own; and “George’s and William’s answers were correct,

  21. электрические карнизы для штор в москве [url=http://www.prokarniz36.ru]http://www.prokarniz36.ru[/url] .

  22. Davidkib dice:

    AeroMedsRx: AeroMedsRx – AeroMedsRx

  23. the sperm whale hunters sometimes capture theHyena whale,to keep up the supply of cheap oil for domesticemploymentas some frugal housekeepers,オナホ フィギュア

  24. How I obeyed theinjunctions of that departing saint,ラブドール 無 修正Monimia (for that name she nowassumed) can testify,

  25. Amazing blog, thanks for sharing a very useful info.

  26. Davidkib dice:

    Cheap Cialis: cialis generic – Cialis over the counter

  27. excellent and venerable oldman! His eyes wandered in vacancy,ラブドール エロfor they had lost their charm and theirdelighthis his more than daughter,

  28. электрокранизы [url=https://elektrokarniz-dlya-shtor15.ru]https://elektrokarniz-dlya-shtor15.ru[/url] .

  29. I found that the berries were spoiled by thisoperation,and the nuts and roots much improved.ダッチワイフ

  30. udan game [url=http://aviator-game-deposit.com]http://aviator-game-deposit.com[/url] .

  31. электронный карниз для штор [url=http://elektrokarniz98.ru/]электронный карниз для штор[/url] .

  32. Grant dice:

    It’s hard to find experienced people for this subject, but you seem
    like you know what you’re talking about! Thanks

  33. omacuan dice:

    Thanks , I’ve recently been looking for information about this topic for a while and yours is
    the greatest I’ve discovered till now. However, what concerning the
    bottom line? Are you positive in regards to the supply?

  34. автоматический карниз для штор [url=https://prokarniz36.ru/]https://prokarniz36.ru/[/url] .

  35. Diplomi_cfMt dice:

    купить в челябинске диплом об окончании начальной школы [url=r-diploma21.ru]купить в челябинске диплом об окончании начальной школы[/url] .

  36. Diplomi_raKt dice:

    купить диплом ординатуры [url=http://r-diploma5.ru/]купить диплом ординатуры[/url] .

  37. Diplomi_tbSn dice:

    купить медицинский диплом медсестры [url=www.frei-diplom13.ru/]купить медицинский диплом медсестры[/url] .

  38. автоматический карниз для штор [url=www.elektrokarniz1.ru]www.elektrokarniz1.ru[/url] .

  39. F.ラブドールProject Gutenberg volunteers and employees expend considerableeffort to identify,

  40. ZacharyUnamp dice:

    https://bluewavemeds.xyz/# trusted Kamagra supplier in the US

  41. 高級 ダッチワイフAbout a week has passed,and I am now finishing this statement underthe influence of the last of the old powders.

  42. A line of buoys,smallerthan fishing bobs,ラブドール

  43. карниз с электроприводом [url=https://www.elektrokarniz495.ru]карниз с электроприводом[/url] .

  44. Stanleyquaxy dice:

    Недавно начал играть в клубе [url=https://center-beryozka.ru/]азино 777 официальный сайт зеркало[/url] Меню удобный, развлечения работают без сбоев.
    Вывод средств проходят без задержек, служба помощи реагирует вежливо.
    В общем могу порекомендовать это казино фанатам слотов.

  45. электрические карнизы для штор в москве [url=www.elektrokarniz2.ru/]www.elektrokarniz2.ru/[/url] .

  46. электрокарниз москва [url=elektrokarnizy77.ru]elektrokarnizy77.ru[/url] .

Responder a Forrest Mauracher Cancelar respuesta