saa Infraestructura como código – Politraining

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: 135,568

  1. https://classic-blog.udn.com/3cf293b8/185656178
    You can find a fantastic selection here and they’re nice quality that won’t break the bank.

  2. бренд Spirit of Kings Kursa, https://spiritofkingskursa.ru/ предлагает уникальные напитки,
    которые черпают вдохновение из традиций и культуры.

  3. 歐式外燴 dice:

    https://qr.ae/pCMPWt
    You actually need to take into consideration what’s best for the season,
    and the climate you may be sitting in.

  4. 到府外燴 dice:

    https://rudkdk474849.seesaa.net/article/518671159.html?1761537125
    Modest meets insanely trendy on this silky Amsale robe that includes a column silhouette and off-the-shoulder neckline.

  5. https://classic-blog.udn.com/7c85a68a/184496253
    Before you start your search (around the six- to eight-month mark), brush up on mother-of-the-bride apparel etiquette.

  6. AnthonyZex dice:

    Chào cả nhà, ai đang tìm sân chơi đẳng cấp để gỡ gạc Game bài thì tham khảo chỗ này. Tốc độ bàn thờ: https://homemaker.org.in/#. Húp lộc đầy nhà.

  7. Joshuatop dice:

    Hello m?i ngu?i, ngu?i anh em nao c?n san choi d?ng c?p d? g? g?c Game bai thi xem th? trang nay nhe. Dang co khuy?n mai: sun win. V? b? thanh cong.

  8. 經絡課程 dice:

    https://dianakan4576000.collectblogs.com/84190933/
    Cue the confetti as we’ve got EVERYTHING you want for the
    special day.

  9. https://telegra.ph/cateringking-6-10-08-2
    The safest guess is for the mother of the bride to wear an analogous color to the bridesmaids to stay on-theme.

  10. Joshuatop dice:

    Chao anh em, n?u anh em dang ki?m ch? n?p rut nhanh d? g? g?c Tai X?u thi tham kh?o trang nay nhe. T?c d? ban th?: [url=https://homemaker.org.in/#]sunwin[/url]. V? b? thanh cong.

  11. https://ameblo.jp/edwardperez7606/entry-12949079726.html
    The column silhouette skims the figure whereas nonetheless providing loads of room to maneuver.

  12. 撥筋教學 dice:

    https://classic-blog.udn.com/3cf293b8/185672995
    For the redwood location, it would be nice to put on one thing in natural colours like the 2 moss green outfits pictured.

  13. 台北外燴 dice:

    https://sites.google.com/view/cateringking-24-10-2025/page-3?authuser=1
    A stunning formal dress with cap sleeves and floral embroidery that trails from
    the excessive neckline to the floor-grazing hem.

  14. 撥筋創業 dice:

    https://jenniferkennedy586.wixsite.com/blogsphere/post/____1-3
    This should provide you with loads of time to analysis, strive on, order, and alter any
    costume you end up purchasing.

  15. WilliamMor dice:

    Why Cheats Were Created in place of Games

    Cheats in games were created for a variety of reasons, serving different users and plucky environments. Brain the origins behind event cheats helps to get across why they are peacefulness dominant today.

    Providing Players with Advantages and Benefits

    Equal effort motive cheats came prevalent is to give players enhancements that let them to furtherance in games. These advantages can tabulate unlimited ammo, unlocking levels, or making a nutcase unstoppable. Cheats lend players a operating to overpower difficulties that might else limit their progress.

    Enhancing Pastime and Experimentation

    Cheats also happen to wax enjoyment and possession by allowing players to explore game mechanics in ways not in the first place intended. They give vent to gamers to bring into being brand-new scenarios, evaluation boundaries, or artlessly be experiencing a intermission from the usual gameplay. Using cheats, players can take advantage of a game more amply without worrying far exacting rules or failures.

    Facilitating Lore and Technique

    Another prominent goal of cheats is to help players repetition their skills during simplifying tasks. Recompense model, enabling cheats to produce uncounted resources or invincibility allows players to indistinct on specific strategies or study engagement levels safely. This gain is first of all beneficial in spite of beginners or those bothersome to мастер complex games.

    Supporting Trade Developers and Testers

    Cheats serve [url=https://cloudocean.id/embark-cracks-down-on-cheaters-in-latest-arc-5/]https://cloudocean.id/embark-cracks-down-on-cheaters-in-latest-arc-5/[/url] as essential tools an eye to meeting developers and testers during the development phase. Cheats countenance them to quickly access assorted parts of a round, exam various functionalities, and tag bugs or glitches without playing the unreserved engagement normally. This contemn accelerates the progress process and improves the irrefutable product quality.

    Addressing Group and Competitive Aspects

    In multiplayer or competitive games, cheats give birth to appeared to tell rules, although this workout is ordinarily condemned. Nonetheless, their continuation highlights players’ have an eye to sympathize with far-off and occasionally to question the scheme, leading to ongoing debates close to fairness and ethics.

    Conclusion

    Cheats in games were created 5t46to elevate enjoyment, and bankroll developers, reflecting mixed motivations behind their use. While dialectic in competitive settings, their presence shows important aspects of gaming culture such as creativity, experimentation, and accessibility.

Responder a Davidtulse Cancelar respuesta