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: 100,060

  1. Bryancof dice:

    PLANBET Bangladesh official link [url=https://planbet.sbs/#]PLANBET Bangladesh official link[/url] PLANBET latest entry link

  2. This is my first time visit at here and i am
    in fact impressed to read everthing at alone place.

  3. DonaldAcaft dice:

    https://fun88.sale/# Fun88 working link for Vietnam

  4. 저희 수원출장마사지 서비스는 바쁜 현대인들에게
    맞춤 휴식을 선사하는 최고의 선택입니다.
    이제 시간과 장소의 제약 없이 전문 마사지사의 체계적인 관리를 받아보세요.

  5. купить курсовую москва [url=https://kupit-kursovuyu-24.ru]https://kupit-kursovuyu-24.ru[/url] .

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

  7. духи Al Haramain Perfumes, https://al-haramain.ru/ – это настоящее искусство
    ароматов, которое успешно сочетает восточные и западные ноты.

  8. покупка курсовой [url=https://kupit-kursovuyu-27.ru]покупка курсовой[/url] .

  9. Fun88Oxync dice:

    PLANBET Bangladesh অফিসিয়াল লিংক: planbet – PLANBET working address for Bangladesh

  10. alphastream dice:

    Definitely believe that which you said. Your favorite reason seemed to be on the web the easiest thing to be aware
    of. I say to you, I certainly get irked while people consider worries
    that they plainly don’t know about. You
    managed to hit the nail upon the top as well as defined out the whole thing without having side-effects ,
    people can take a signal. Will likely be back to get
    more. Thanks

  11. Bryancof dice:

    Nagad88 ব্যবহারকারীদের জন্য বর্তমান লিংক [url=http://nagad88.top/#]Nagad88 latest working link[/url] nagad88 লগইন করুন

  12. курсовая заказать недорого [url=http://www.kupit-kursovuyu-29.ru]http://www.kupit-kursovuyu-29.ru[/url] .

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

  14. Diplomi_flot dice:

    купить диплом хорошего качества [url=https://www.r-diploma14.ru]купить диплом хорошего качества[/url] .

  15. 撥筋創業 dice:

    https://je-tall-marketing-828.fra1.digitaloceanspaces.com/research/je-marketing-(356).html
    However, you want to wait to pay attention to from the bride’s mom earlier than you start.

  16. ラブドール?Faisons ainsi: point de recherche dans nos prières; la simplicitéabsolue; demandons ce que désire notre c?ur,sans passer notre temps àchercher si nous ferions mieux de demander autre chose,

  17. курсовая заказать [url=https://kupit-kursovuyu-22.ru]https://kupit-kursovuyu-22.ru[/url] .

  18. купить курсовую работу [url=www.kupit-kursovuyu-23.ru/]купить курсовую работу[/url] .

  19. togel online dice:

    Hey there would you mind letting me know which
    hosting company you’re working with? I’ve loaded
    your blog in 3 different internet browsers and I must say this blog loads a lot
    faster then most. Can you recommend a good hosting provider at
    a reasonable price? Thanks a lot, I appreciate it!

  20. So she is building all her hopes all the time on Luzhin,等身 大 ラブドールsgenerosity,

  21. помощь студентам и школьникам [url=https://kupit-kursovuyu-25.ru]https://kupit-kursovuyu-25.ru[/url] .

  22. olxtoto dice:

    What’s up, I desire to subscribe for this web site to get latest updates, thus where can i do it please help out.

  23. porn tools dice:

    Wonderful, what a weblog it is! This webpage gives helpful data
    to us, keep it up.

  24. Robertbek dice:

    Why are anti-detect browsers necessary and how do they protect your online anonymity?

    In today’s world, almost every website visit leaves traces that allow third parties to monitor our activities. To protect personal data and enhance the security of their online activities, more and more users are turning to specialized tools—anti-detect browsers.

    The essence of the technology

    An anti-detect browser is a program that can alter the digital signature of a computer, preventing the device’s real characteristics and the user’s identity from being determined. When you open a regular browser, the server receives detailed information about your hardware, operating system, screen resolution, and more. This data forms a unique “digital fingerprint” that is easily tracked and used by advertisers and website owners to analyze user behavior. Forget high prices for anonymity. Promo code 2026NY makes our [url=https://switch-antik.online/]anti-detect[/url] browser the most affordable

    Why should you use an anti-detect browser?

    • Firstly, it’s an excellent way to strengthen your security and minimize the risk of personal data leakage. Such programs make it virtually impossible for third-party resources to collect information about you and your device.
    • Secondly, anti-detect browsers are convenient when working with multiple accounts simultaneously. You can freely access websites that use strict monitoring and detection methods for suspicious activity without fear of account restrictions or bans.
    • These browsers are also popular among marketing and analytics professionals, as they allow them to study how different audiences respond to content, test advertising campaigns, and improve business performance.

    Features and Functionality

    1. The key feature of anti-detect browsers is the creation of virtual profiles. The user creates multiple unique digital “personalities,” each simulating a completely different device, making it difficult to track the owner’s real identity.
    2. Furthermore, anti-detect browsers offer flexible management of cookies stored on the device and integration with proxy servers, allowing you to mask your original IP address and change your geographic location.
    3. Finally, the best browsers in this class support automatic device configuration selection, adapting to the specific needs of the user and the situation.

    Choosing the Right Anti-Detection Browser

    When purchasing, pay attention to several key factors:

    • Compatibility with the installed operating system,
    • Number of virtual profiles created,
    • Ability to integrate with reliable proxy services,
    • User-friendly interface and availability of additional functionality,
    • Price (free versions are often inferior to paid versions).

    Therefore, by using a high-quality anti-detection browser, you increase your security, freedom of movement online, and the convenience of working with multiple accounts.

  25. DouglasSweme dice:

    darazplay: DarazPlay ? ????? ???? ?????? ???? – DarazPlay ??????? ?????? ??

  26. курсовой проект купить цена [url=http://kupit-kursovuyu-21.ru/]http://kupit-kursovuyu-21.ru/[/url] .

  27. came at seven o clock and stayed to dinner.Was very absent-minded and worried apparently.ラブドール sex

  28. Bryancof dice:

    trang ghi chú liên kết Dabet Vietnam [url=http://dabet.reviews/#]link Dabet hoạt động cho người dùng Việt Nam[/url] Dabet Vietnam current access link

  29. 整復學徒 dice:

    https://je-tal-marketing-978.lon1.digitaloceanspaces.com/research/je-marketing-(357).html
    Make a gorgeous impression on this floral printed ball robe featuring wrap-around ties that
    highlight your waist and useful hidden pockets.

  30. курсовые заказ [url=https://kupit-kursovuyu-24.ru/]https://kupit-kursovuyu-24.ru/[/url] .

  31. 成人内容 可在各种成人娱乐网站上获取,供娱乐用途。始终选择
    可靠的成人网站 以确保安全体验。

    Feel free to visit my web-site … Download Windows 11 Cracked

  32. курсовая заказать [url=http://kupit-kursovuyu-26.ru/]курсовая заказать[/url] .

  33. выполнение курсовых работ [url=https://kupit-kursovuyu-28.ru/]выполнение курсовых работ[/url] .

Responder a trap drum pads 24 make beats & music ios cheats Cancelar respuesta