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,820

  1. Joshuatop dice:

    Chao anh em, ngu?i anh em nao c?n nha cai uy tin d? choi Da Ga thi tham kh?o con hang nay. Uy tin luon: nha cai dola789. Hup l?c d?y nha.

  2. Louiscaf dice:

    Hello mọi người, nếu anh em đang kiếm nhà cái uy tín để gỡ gạc Nổ Hũ thì vào ngay chỗ này. Đang có khuyến mãi: [url=https://homemaker.org.in/#]Sunwin web[/url]. Chiến thắng nhé.

  3. https://edwardfisher9234.cms.webnode.page/l/new5/
    Speak to your daughter about the feel of the wedding day;
    is it a black tie affair?

  4. StephenPhoth dice:

    Chào anh em, nếu anh em đang kiếm sân chơi đẳng cấp để chơi Game bài thì tham khảo con hàng này. Uy tín luôn: sunwin. Về bờ thành công.

  5. https://norajlouise.amebaownd.com/posts/58451278
    For her mom, it involved a beaded silver gown match for a queen.

  6. WilliamMor dice:

    Why Cheats Were Created for Games

    Cheats in games came into existence as far as something a range of reasons, serving other players and game environments. Brain the intentions behind encounter cheats reveals why they are at rest hot today.

    Providing Players with Advantages and Benefits

    Equal effort argument cheats were introduced is to occasion players benefits that inform appropriate them advance in games. These advantages can comprehend extra lives, unlocking levels, or making a badge invulnerable. Cheats state look after players a headway to go challenges that might else limit their progress.

    Enhancing Pastime and Experimentation

    Cheats also were designed to raise enjoyment and possession away allowing players to explore prepared mechanics in ways not originally intended. They cede to gamers to conceive of modern scenarios, test boundaries, or totally set up a intermission from the usual gameplay. Using cheats, players can take advantage of a brave more amply without worrying fro constricting rules or failures.

    Facilitating Lore and Preparation

    Another prominent goal of cheats is to refrain from players mode their skills not later than removing barriers. For the benefit of example, enabling cheats to harvest inestimable resources or invincibility allows players to concentrate on specific strategies or explore prey levels safely. This help is especially worthwhile in spite of beginners or those fatiguing to мастер complex games.

    Supporting Nervy Developers and Testers

    Cheats hold been acquainted with [url=http://pantechelearning.com/2026/01/22/arc-raiders-details-plans-to-crack-down-on-2/]http://pantechelearning.com/2026/01/22/arc-raiders-details-plans-to-crack-down-on-2/[/url] as fundamental tools as a replacement for game developers and testers during the development phase. Cheats countenance them to easily reach unusual parts of a plucky, prove various functionalities, and tag bugs or glitches without playing the entire game normally. This use speeds up the maturing make and improves the irrefutable upshot quality.

    Addressing Collective and Competitive Aspects

    In multiplayer or competitive games, cheats have appeared to exploit outcomes, although this tradition is normally discouraged. Nonetheless, their continuation highlights players’ have one’s heart set on to top and sometimes invite the system, prime to ongoing debates take fairness and ethics.

    Conclusion

    Cheats in games were created 5t46to with culture, and stand for developers, reflecting mixed motivations behind their use. While moot in competitive settings, their presence underscores consequential aspects of gaming civilization such as creativity, experimentation, and accessibility.

  7. врач нарколог на дом [url=https://narkolog-na-dom-krasnodar-2.ru/]врач нарколог на дом[/url] .

  8. https://norajlouise.aioblogs.com/92203151/2
    Embellished with beautiful ornate beading, this robe will catch the sunshine from each angle.

  9. https://classic-blog.udn.com/94860b39/183921577
    You’ve doubtless been by the bride’s facet serving to, planning, and lending invaluable advice along the method in which.

  10. частного нарколога на дом [url=https://narkolog-na-dom-krasnodar-2.ru/]narkolog-na-dom-krasnodar-2.ru[/url] .

  11. https://classic-blog.udn.com/09a96025/183811366
    Mother of the bride attire need not really feel frumpy or overly conservative!

  12. Link exchange is nothing else but it is simply placing the other person’s blog link on your page at suitable place and other person will also do same for you.

    Here is my web-site fire resistant laminated glass Tamale

  13. 茶會 dice:

    https://wendymoore3604.amebaownd.com/posts/58209100
    Plus, the silhouette of this gown will look that instead more show-stopping because the cape wafts down the aisle to disclose her silhouette as she strikes.

  14. 按摩學徒 dice:

    https://kerrynamos5774.amebaownd.com/posts/58466014
    The mother of the bride’s Oscar de la Renta gown was such a hit, it really impressed the bridesmaids’ bouquets.

  15. 台中外燴 dice:

    https://telegra.ph/cateringking-1-10-16
    Keep the traces of communication open all through the wedding planning course of.

  16. I have learn some excellent stuff here. Definitely price bookmarking for revisiting.

    I wonder how a lot attempt you put to create this sort of fantastic
    informative web site.

Responder a 經絡按摩課程 Cancelar respuesta