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: 86,998

  1. Website offers a natural, plant-derived approach to treat pelvic floor fungus, improve pelvic floor strength, and restore self-assurance.

  2. 猎金游戏 dice:

    I appreciate how you balance theoretical knowledge with practical, actionable advice.

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

    Look into my page; LESBIAN PORN VIDEOS

  4. заказать курсовую работу качественно [url=https://kupit-kursovuyu-10.ru]заказать курсовую работу качественно[/url] .

  5. стоимость написания курсовой работы на заказ [url=kupit-kursovuyu-7.ru]kupit-kursovuyu-7.ru[/url] .

  6. I believe what you composed was very reasonable.
    However, what about this? suppose you wrote a catchier title?

    I am not suggesting your information isn’t solid, but what if you added
    something that makes people want more? I mean Infraestructura
    como código – Politraining is kinda vanilla.
    You should glance at Yahoo’s front page and
    note how they create article headlines to grab people
    to open the links. You might add a video or a related picture or two to get people interested about what you’ve written. In my opinion, it could make your posts a little bit more
    interesting.

  7. melbet_jtMr dice:

    melbet versiune mobilă login [url=melbet5014.ru]melbet5014.ru[/url]

  8. stared at the coin,フィギュア 無 修正and with a sweep of his arm flung it intothe water; then he turned and went home.

  9. melbet_xlMr dice:

    melbet bonus fără depunere [url=http://melbet5014.ru]melbet bonus fără depunere[/url]

  10. RichardDycle dice:

    legitimate canadian mail order pharmacy https://mhfapharm.xyz/# MHFA Pharm

  11. melbet_kgMr dice:

    melbet freebet la înregistrare [url=http://melbet5014.ru]melbet freebet la înregistrare[/url]

  12. где можно купить курсовую работу [url=https://kupit-kursovuyu-9.ru/]kupit-kursovuyu-9.ru[/url] .

  13. курсовая работа на заказ цена [url=http://www.kupit-kursovuyu-8.ru]курсовая работа на заказ цена[/url] .

  14. сколько стоит заказать курсовую работу [url=https://kupit-kursovuyu-6.ru]https://kupit-kursovuyu-6.ru[/url] .

  15. Cazrnho dice:

    Получить диплом о высшем образовании можем помочь. Купить диплом бакалавра в Краснодаре – [url=http://diplomybox.com/kupit-diplom-bakalavra-v-krasnodare/]diplomybox.com/kupit-diplom-bakalavra-v-krasnodare[/url]

  16. Users in all states among other things are able fight in free software Betway Big pick and win serious money at
    the betway casino login without gambling.

  17. 碟中谍3 dice:

    I’m grateful for the clear, actionable advice you’ve provided in this article.

  18. RichardDycle dice:

    canada drugs reviews https://isoindiapharm.xyz/# india pharmacy

  19. 洛杉矶外围留学生网是一家集洛杉矶市区、尔湾Irvine、罗兰岗及周边都可快速预约安排高端外围模特、留学生、空姐、网红、白领、少妇等高颜值高素质美女上门服务及包养伴游

  20. 洛杉矶外围留学生网是一家集洛杉矶市区、尔湾Irvine、罗兰岗及周边都可快速预约安排高端外围模特、留学生、空姐、网红、白领、少妇等高颜值高素质美女上门服务及包养伴游 A thorough examination is provided at User Requests.

  21. melbet_lnMt dice:

    melbet iOS [url=http://melbet5013.ru/]melbet iOS[/url]

  22. Hi there, You’ve done an incredible job. I will certainly digg it and personally suggest to my friends.

    I am confident they will be benefited from this site.

  23. Floyd Emigh dice:

    globalfashionworld – Customer support answered promptly when I had a question about sizing.

  24. 提供高质量本地资源真实美女上门服 务-(空姐-大学生-模特-网红-, 极品少妇等等)面到满意付款 User Requests provides a complete guide from basics to advanced.

  25. 国际高端商务模特经纪平台,旗下拥有大量优质模特和优秀摄影团队资源,满足各界活动和商务需求。我们的模特资源覆盖国内以及海外各大中城市包括北京、上海、深圳

  26. The online casino industry continues to evolve
    at a fast pace, offering players a large variety of reliable
    operators.
    Over the past few seasons, many users have bcome more focused on seurity
    and fairness, choosing platforms hat provide independent RNG
    audits.

    A trusted gaming operator typically offers consistent payouts and supports effectgive account controls.

    At thhe same time, users look forr updated titles and
    enjoy fast-loading game libraries.

    Overall, the current iGaming sector provides a mix
    of regulation and gameplay variety,making it an appealing option for many different types of players.

  27. купить курсовую сайт [url=https://www.kupit-kursovuyu-7.ru]https://www.kupit-kursovuyu-7.ru[/url] .

  28. курсовая работа купить москва [url=www.kupit-kursovuyu-10.ru/]курсовая работа купить москва[/url] .

Responder a how to hack street food stand cooking game for girls Cancelar respuesta