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: 101,425

  1. курсовые заказ [url=http://kupit-kursovuyu-25.ru/]курсовые заказ[/url] .

  2. Bryancof dice:

    fun88 [url=https://fun88.sale/#]Fun88 Vietnam official access link[/url] Fun88 Vietnam liên kết truy cập hiện tại

  3. заказ курсовых работ [url=http://kupit-kursovuyu-26.ru]заказ курсовых работ[/url] .

  4. срочно курсовая работа [url=http://www.kupit-kursovuyu-23.ru]http://www.kupit-kursovuyu-23.ru[/url] .

  5. hz88 dice:

    It’s a shame you don’t have a donate button! I’d certainly donate to this superb blog!
    I suppose for now i’ll settle for bookmarking and adding your RSS feed to my Google
    account. I look forward to fresh updates and will share this site with my Facebook group.
    Chat soon!

  6. Bryancof dice:

    đường dẫn vào Dabet hiện tại [url=http://dabet.reviews/#]trang ghi chú liên kết Dabet Vietnam[/url] đường dẫn vào Dabet hiện tại

  7. Diplomi_tiMt dice:

    купить диплом ссср цена [url=www.r-diploma21.ru]купить диплом ссср цена[/url] .

  8. Project-based learning ɑt OMT transforms math intⲟ hands-on fun, stimulating enthusiasm іn Singapore trainees for impressive
    examination еnd resᥙlts.

    Expand уour horizons with OMT’s upcoming new physical
    space ߋpening in Տeptember 2025, սsing much morе chances for hands-on mathematics expedition.

    Ꭲhe holistic Singapore Math technique, ᴡhich builds
    multilayered ρroblem-solving capabilities, underscores ѡhy math tuition іs important for mastering thе curriculum and ɡetting ready fօr future professions.

    Enhancing primary school education ѡith math tuition prepares trainees foг PSLE by cultivating а growth frame of mind
    towɑrd difficult topics lіke balance and cһanges.

    Math tuition ѕhows reliable tіme management methods, aiding secondary students
    complet Օ Level tests within the allotted duration ԝithout
    hurrying.

    Witһ A Levels requiring effectiveness іn vectors and intricate numbеrs,
    math tuition supplies targeted practice tо tаke care of these abstract concepts
    effectively.

    OMT’ѕ exclusive math program matches MOE requirements Ƅy emphasizing theoretical mastery over rote learning, causing deeper ⅼong-lasting retention.

    OMT’s syѕtem urges goal-setting ѕia, tracking landmarks in the direction of
    attaining highеr qualities.

    Online math tuition ⲣrovides flexibility fօr active Singapore pupils, enabling
    anytime accessibility t᧐ resources for far better
    examination preparation.

    Нere is my site – Kaizenaire Math Tuition Centres Singapore

  9. dyson официальный [url=http://fen-d-1.ru]http://fen-d-1.ru[/url] .

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

  11. JuliusMap dice:

    https://darazplay.blog/# DarazPlay Vietnam current access

  12. Fun88Oxync dice:

    nagad88 login: Nagad88 এ ঢোকার রেফারেন্স পেজ – Nagad88 কাজ করা লিংক Bangladesh

  13. Diplomi_cmSn dice:

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

  14. https://je-sf-tall-marketing-736.b-cdn.net/research/je-marketing-(81).html
    I was very impressed to see that there are stylish and stylish outfits for
    all plus size girls.

  15. Hello! I know this is kind of off topic but I was wondering
    which blog platform are you using for this site? I’m getting fed up
    of WordPress because I’ve had issues with hackers and
    I’m looking at alternatives for another platform. I would
    be fantastic if you could point me in the direction of a good platform.

  16. Robertbek dice:

    Tracking Protection: Everything You Need to Know About Anti-Detect Browsers

    The internet has long ceased to be a safe space for absolute anonymity. Our every move is recorded by special mechanisms, allowing companies to collect personal data for further monetization. One solution to this problem is specialized browsers designed specifically to ensure the highest level of data protection and privacy. Privacy for everyone. Use the unique promo code 2026NY and get a discount on the most affordable [url=https://switch-antik.online/]anti-detect[/url] browser

    Understanding the Term “Antidetect”

    The term “antidetect” refers to a special technology designed to prevent third parties from obtaining precise information about your device’s specifications. Regular browsers send detailed information about everything from the processor type to the software installed. All this creates an individual “digital profile” that allows for the unambiguous identification of the user.
    However, anti-detect browsers allow the user to independently create a virtual environment that does not match the actual computer’s parameters. This ability radically changes the user’s appearance to the server, making them virtually invisible to tracking mechanisms.
    These browsers are especially useful for those who constantly manage multiple accounts on a single device. Using an anti-detection browser can significantly reduce the risk of access restrictions or complete bans on websites due to suspected fraud or activity manipulation.

    Features and Applications

    The key features of these browsers include:

    • Creation of a large number of unique virtual profiles with different device characteristics,
    • Fully customizable cookie storage and deletion system,
    • Proxy integration, allowing for a change of real IP address,
    • Adjustment of automatic device characteristic change mode.
    Anti-detection browsers have become especially popular among digital marketers: they allow for advertising analysis, market research, and increased effectiveness of product and service promotion.

    Tips for choosing

    Before choosing a specific anti-detection browser, we recommend paying attention to key factors:

    • Compatibility with a specific operating system,
    • Number of possible virtual profiles,
    • Proxy support and ease of use,
    • Additional features and program interface,
    • Degree to which price and quality meet expectations.
    Therefore, by choosing such a browser, you will receive effective protection for your data and increased convenience when managing multiple campaigns simultaneously.

  17. DouglasSweme dice:

    Dabet Vietnam official entry: Dabet Vietnam current access link – Dabet updated working link

  18. ph365 dice:

    Thank you for sharing your info. I really appreciate your efforts and
    I am waiting for your next post thank you once again.

  19. Diplomi_zkPn dice:

    купить диплом руках [url=r-diploma19.ru]r-diploma19.ru[/url] .

  20. hippodrome dice:

    Wonderful site. Lots of useful info here. I’m sending it to some friends ans also sharing in delicious. And obviously, thanks for your effort!

  21. ang sabi ng tia sa pamamagitan ng caniyanghaluang wicang castila; napasauliuli sa gracia ng Dios si donCrisstomo; inalsan siya ng “excomunin” ng Arzobispo.Nguni’t hindi nagatuly ang binata,コス エロ

  22. Fun88Oxync dice:

    fun88: Fun88 working link for Vietnam – địa chỉ vào Fun88 mới nhất

Responder a コスプレ セックス Cancelar respuesta