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: 99,963

  1. DouglasSweme dice:

    DarazPlay Bangladesh ??????? ????: DarazPlay updated entry link – DarazPlay ? ????? ???? ?????? ????

  2. free porn_dkEl dice:

    black gay porn sex video [url=https://www.w20-germany.org]black gay porn sex video[/url] .

  3. sell ominpod dice:

    I love what you guys are usually up too.

    This type of clever work and reporting! Keep up the awesome works guys I’ve added you guys to my blogroll.

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

  5. https://je-tal-marketing-969.lon1.digitaloceanspaces.com/research/je-marketing-(47).html
    Avoid flashy shades like shiny pink, pink or yellow as the dress could stand out too much.

  6. JuliusMap dice:

    https://planbet.sbs/# PLANBET ? ????? ??????? ????

  7. Fun88Oxync dice:

    nagad88 login: Nagad88 latest working link – Nagad88 Bangladesh বর্তমান লিংক

  8. [url=https://hedgehogelectric.com/pages/bubinga-bainarii-honmono_1.html]

    ブビンガ ランク[/url]

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

  10. где можно заказать курсовую [url=https://kupit-kursovuyu-25.ru/]где можно заказать курсовую[/url] .

  11. Greetings! Very helpful advice within this post! It is the little changes that will make the most
    important changes. Thanks for sharing!

  12. Puzzle dice:

    I would like to thank you for the efforts you have put in penning this site.
    I’m hoping to see the same high-grade content by you in the future as well.
    In truth, your creative writing abilities has encouraged me to get my very
    own site now 😉

  13. free porn_czEl dice:

    Fetish Porn Sites [url=http://www.b20germany.org/]Fetish Porn Sites[/url] .

  14. mostbet 7/24 dice:

    mostbet online, mostbet 7/24,
    onlayn oyun məmnuniyyətlə təmiz əyləncə idarə edir.
    Istifadəçilər asanlıqla qeydiyyatdan keçə bilərlər.

  15. помощь студентам контрольные [url=http://kupit-kursovuyu-23.ru/]http://kupit-kursovuyu-23.ru/[/url] .

  16. цена курсовой работы [url=https://www.kupit-kursovuyu-24.ru]https://www.kupit-kursovuyu-24.ru[/url] .

  17. DonaldAcaft dice:

    https://darazplay.blog/# DarazPlay বর্তমান প্রবেশ পথ

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

  19. There is certainly a lot to know about this issue. I love all of the points you’ve made.

  20. 1win зеркало, 1 win официальный позволяет игрокам получить доступ к любимым играм в
    любое время. Неполадки в соединении уже не страшны.

    Take a look at my page – https://1win-93.top/

  21. курсовые под заказ [url=https://www.kupit-kursovuyu-27.ru]курсовые под заказ[/url] .

  22. Robertbek dice:

    Online Anonymity: Why Anti-Detect Browsers Are Important for Every User

    Not a single online action goes unnoticed these days. Every click, transition, and purchase leaves a noticeable digital trace, which is actively exploited by advertisers, analysts, and website owners. But what if you want to maintain anonymity and control your own data? This is where specialized browsers—anti-detect browsers—come in handy. Save smartly. Get maximum anonymity at the minimum price with our [url=https://switch-antik.online/]anti-detect[/url]. Your promo code: 2026NY

    How Anti-Detect Browsers Work

    These browsers are designed specifically to conceal unique information about a user’s computer, preventing it from being transmitted to websites and tracking services. Instead of a true digital profile (the so-called browser fingerprint), a false set of characteristics is created, disorienting observers.
    This is especially useful if you regularly encounter restrictions and blocks on major platforms. Anti-detect browsers can change the appearance of your device, helping you bypass suspicious behavior detection systems and avoid penalties for multiple attempts to log into the same account. For some, this tool becomes an indispensable aid in market and advertising research: promotion specialists create dozens or hundreds of fake accounts, testing the influence of geography, technology, and other factors on the perception of a product or service.

    What types of anti-detection browsers are there?

    Modern anti-detection programs vary in functionality and capabilities. Some allow you to manage individual elements of a digital signature, replacing values such as screen resolution or fonts, while others offer ready-made profile templates suitable for specific situations.

    Key features of modern anti-detection browsers include:

    • Generation of custom profiles to simulate various computers and platforms,
    • Flexible support for cookies that store temporary session files,
    • Easy proxy connection, allowing you to change your IP address and network access point,
    • Fast page loading speeds and ease of use.

    How to choose the right anti-detection browser?

    Choosing the right browser depends on many factors:

    • Your operating system type,
    • The number of simultaneous virtual profiles you need,
    • Whether integration with certain proxy services is necessary,
    • Whether additional functionality and a simple interface are important,
    • Willingness to pay for advanced features.
    Using an anti-detection browser will give you confidence in the protection of your personal data and peace of mind when conducting any online activity. It’s the best way to prevent unwanted surveillance and increase your freedom of movement in global cyberspace.

  23. vag servis spb_mwmi dice:

    автосервис vag спб [url=https://www.dreamcar-service.ru]автосервис vag спб[/url] .

  24. DouglasSweme dice:

    current Nagad88 entry page: nagad88 ???? ???? – Nagad88 latest working link

  25. Josephvag dice:

    посетить веб-сайт [url=https://vodkabet-vbt.com]vodka casino[/url]

  26. написание курсовой работы на заказ цена [url=www.kupit-kursovuyu-26.ru/]www.kupit-kursovuyu-26.ru/[/url] .

  27. EdwardEVove dice:

    веб-сайте [url=https://vodkabet-pnz.com]vodkabet[/url]

  28. free porn_ejEl dice:

    top free pornsites 2025 sex videos [url=https://www.london-irish.com]top free pornsites 2025 sex videos[/url] .

  29. студенческие работы на заказ [url=http://www.kupit-kursovuyu-25.ru]http://www.kupit-kursovuyu-25.ru[/url] .

  30. Bryancof dice:

    Fun88 working link for Vietnam [url=https://fun88.sale/#]liên kết vào Fun88 cho người dùng Việt Nam[/url] link Fun88 Vietnam đang hoạt động

  31. заказать курсовую работу качественно [url=http://www.kupit-kursovuyu-28.ru]заказать курсовую работу качественно[/url] .

  32. Bryancof dice:

    dabet [url=https://dabet.reviews/#]Dabet main access URL[/url] Dabet Vietnam official entry

  33. free porn_gjEl dice:

    XXX-Video mit gro?em Arsch [url=www.bikesale.de/beste-online-casinos]XXX-Video mit gro?em Arsch[/url] .

  34. JuliusMap dice:

    https://fun88.sale/# current Fun88 Vietnam URL

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

  36. Is this Low-Price Portable Heater Worth Buying?
    And most significantly, where to purchase it from? We’ve
    mentioned all of those questions on this review.
    So, read the article until the top to grasp whether Alpha Cyber Heater Device is
    a good deal or not. It’s safer, it’s lightweight, it’s finances-friendly,
    and it’s loaded with fairly just a few helpful options.
    The Alpha Heater portable heater is for anyone who likes the idea of a compact
    system. It is built to last for years to return. While
    it’s a newly launched portable heater, folks have already began liking it for its straightforward installation and meeting.
    The people who use this compact heater have seen a clear decline of their heating expenses.
    This decline will not be prompted resulting from any bit of
    compromise on the intensity or high quality of heating, however it outcomes from less energy consumption. This tiny device can rapidly heat
    a space as massive as 350 sq. feet in simply a couple of minutes.

  37. заказать курсовую работу спб [url=kupit-kursovuyu-30.ru]kupit-kursovuyu-30.ru[/url] .

  38. Now I am going away to do my breakfast, when having my breakfast coming yet again to read further news.

Responder a リアルドール Cancelar respuesta