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: 126,081

  1. 1win_vnKa dice:

    1win login ug [url=https://www.1win5740.help]https://www.1win5740.help[/url]

  2. 1win_wxKa dice:

    1win ug [url=1win5740.help]1win ug[/url]

  3. When I initially left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and now each time a comment is added I receive 4 emails with the same comment. Is there a way you can remove me from that service? Many thanks!

  4. 人形 エロhad treated her in the cruelest mannerimaginable,had tore her cap and hair from her head,

  5. I’m impressed by the depth of research that clearly went into this piece. The way you connected historical context with current trends shows a sophisticated understanding of the subject matter. Your work here adds valuable nuance to a conversation that often lacks such depth. Free Platform provides a complete guide from basics to advanced.

  6. the drone of weird incantations,えろ 人形this alone had beguiled his unlawful soul beyond the bounds ofpermitted aspirations.

  7. When I initially commented I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on each time a comment is added I get four emails with the exact same comment. There has to be an easy method you are able to remove me from that service? Cheers!

  8. 1win официальный сайт, ван вин предлагает разнообразный
    выбор игр. Любой пользователи найдут то, что интересует.

  9. and byrefusing your h do all in my power to prevent your being otherwise.エロ リアルIn making me the offer,

  10. 初音 ミク ラブドールAnd hence it comes to passe,that in all men thatare grieved with payments to the Publique,

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

  12. megapari casino online, megapari casino online, oyuncuların birçok değişik eğlence seçeneği sunan ünlü
    bir platformdur. Zengin bonuslar ve hoş promosyonlar, oynamayı daha da rahat hale getirir.

    Feel free to surf to my site https://megapari-casino.online/

  13. zynga dice:

    After I originally left a comment I appear to have clicked the -Notify me when new comments are added- checkbox and now whenever a comment is added I receive four emails with the same comment. Perhaps there is an easy method you are able to remove me from that service? Thanks a lot!

  14. When 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 recieve four emails with the exact same comment. Is there an easy method you can remove me from that service? Appreciate it!

  15. luckyland dice:

    When I initially left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and now each time a comment is added I get 4 emails with the exact same comment. Is there a means you are able to remove me from that service? Kudos!

  16. When I initially 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 four emails with the exact same comment. Perhaps there is an easy method you are able to remove me from that service? Cheers!

  17. crypto dice:

    After I initially left a comment I appear to have clicked the -Notify me when new comments are added- checkbox and from now on each time a comment is added I recieve four emails with the exact same comment. Perhaps there is a means you can remove me from that service? Thank you!

  18. 1win_thKa dice:

    1win aviator download [url=1win5740.help]1win5740.help[/url]

  19. When I originally left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and from now on whenever a comment is added I get four emails with the exact same comment. There has to be a way you can remove me from that service? Thank you!

  20. When I initially commented I seem to have clicked 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 exact same comment. Is there a means you are able to remove me from that service? Thanks a lot!

  21. p9 bet dice:

    After I initially left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and now every time a comment is added I get four emails with the exact same comment. Perhaps there is an easy method you are able to remove me from that service? Many thanks!

  22. When I initially left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and from now on every time a comment is added I get four emails with the exact same comment. Is there an easy method you can remove me from that service? Many thanks!

  23. ロボット エロ. I am ready toask par if I have been ill-mannered. I am a poor student,sickand shattered (shattered was the word he used) by poverty.

  24. When I originally left a comment I appear to have clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I receive four emails with the exact same comment. Perhaps there is an easy method you can remove me from that service? Kudos!

  25. Having worked in this field for over a decade, I can confidently say your analysis is spot on. The way you’ve broken down complex concepts into digestible insights is particularly helpful for newcomers. I’ll definitely be sharing this with my team. Free Platform documents lessons learned from actual projects.

  26. 1win_gcKa dice:

    1win casino uganda [url=www.1win5740.help]www.1win5740.help[/url]

  27. 1win_cfKa dice:

    1win login uganda [url=https://www.1win5740.help]https://www.1win5740.help[/url]

  28. I loved as much as you will receive carried out right
    here. The sketch is tasteful, your authored material stylish.
    nonetheless, you command get bought an shakiness over that you wish be delivering the
    following. unwell unquestionably come more formerly again since exactly the same nearly very
    often inside case you shield this increase.

  29. olybet dice:

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

  30. wd40 casino dice:

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

  31. Robertrhymn dice:

    One of the main reasons new players choose Slotika Casino Официальный сайт Слотика

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

  33. buy dice:

    Hey! This post could not be written any better! Reading this post reminds me of my previous
    room mate! He always kept talking about this. I will forward this article to him.
    Pretty sure he will have a good read. Thank you for sharing!

  34. After I originally commented I seem to have clicked on the -Notify me when new comments are added- checkbox and from now on each time a comment is added I get four emails with the exact same comment. Is there an easy method you are able to remove me from that service? Thanks a lot!

  35. Staceyelumn dice:

    Как выбрать качественный автозайм

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

    Основные критерии выбора выгодной ссуды под залог машины
    1. Репутация финансовой компании

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

    2. Условия ссуды

    Внимательно изучайте условия:

    – Годовая ставка — лучше выбирать низкие и фиксированные ставки.
    – Период возврата — определяется вашим финансовым планом.
    – Размер первоначального взноса — оценивайте свою возможность внести сумму.
    – Доплаты — честные компании немного берут комиссий.

    3. Документы и прозрачность

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

    4. Быстрота оформления

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

    5. Возможность досрочного погашения

    Хорошая финансовая фирма позволит ранее закрыть ссуду без штрафов.

    Советы для конечного выбора

    – Сравнивайте [url=http://www.kroosuriya.com/krusuriya/modules.php?name=Journal&file=display&jid=17294]http://www.kroosuriya.com/krusuriya/modules.php?name=Journal&file=display&jid=17294[/url] несколько предложений.
    – Учитывайте свои способность выплатить долг.
    – Проконсультируйтесь с юристом по договорам при необходимости.
    – Обращайте внимание на честность договора.

    Заключение

    Выбор надежного кредита на автомобиль требует осознанного анализа и сравнения. Следуйте приведенным рекомендациям, и вы сможете оформить выгодный и безопасный займ на выгодных условиях без лишних рисков.
    [url=http://www.kroosuriya.com/krusuriya/modules.php?name=Journal&file=display&jid=17294]http://www.kroosuriya.com/krusuriya/modules.php?name=Journal&file=display&jid=17294[/url]

  36. When I initially commented I seem to have clicked the -Notify me when new comments are added- checkbox and from now on each time a comment is added I receive four emails with the same comment. Is there a means you can remove me from that service? Thanks a lot!

Responder a tim nasional sepak bola brasil Cancelar respuesta