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: 136,239

  1. Joshuatop dice:

    Xin chao 500 anh em, ai dang tim san choi d?ng c?p d? choi Casino thi vao ngay ch? nay. Dang co khuy?n mai: [url=https://pacebhadrak.org.in/#]bj88[/url]. Chuc anh em may m?n.

  2. 오피아트 dice:

    오피아트(opart)는 대전·충청 지역에 특화된 유흥 정보 플랫폼입니다.

    오피, 마사지, 휴게텔 등 다양한 업소 정보를 검증된
    후기와 실시간 업데이트로 제공하여 신뢰를

  3. Louiscaf dice:

    Xin chào 500 anh em, ai đang tìm nhà cái uy tín để giải trí Tài Xỉu đừng bỏ qua địa chỉ này. Tốc độ bàn thờ: [url=https://gramodayalawcollege.org.in/#]nhà cái dola789[/url]. Húp lộc đầy nhà.

  4. https://sites.google.com/view/boginhall-01-19-2026/page-4?authuser=1
    Another floral choice for you , but this time in a match and flare fashion.

  5. Hi! I could have sworn I’ve been to this blog before but after reading through some
    of the post I realized it’s new to me. Anyhow, I’m definitely
    delighted I found it and I’ll be book-marking and checking back frequently!

  6. 舒壓課程 dice:

    https://norajlouise5688.jimdofree.com/2026/01/23/6/
    This brocade gown draws the attention to all the best places—from a hint of pores and skin on the shoulder to a ruched waist.

  7. gbgbet dice:

    You’re so cool! I don’t believe I’ve truly read through a single thing like that before. So nice to find someone with a few original thoughts on this topic. Really.. thanks for starting this up. This site is one thing that is required on the web, someone with a little originality!

  8. Hey! This post could not be written any better!
    Reading this post reminds me of my good old room mate!
    He always kept talking about this. I will forward this write-up to
    him. Fairly certain he will have a good read. Thanks for sharing!

  9. WilliamMor dice:

    Why Cheats Were Created for the benefit of Games

    Cheats in games were created object of a heterogeneity of reasons, serving different users and engagement environments. Compact the intentions behind game cheats helps to make plain why they are peacefulness dominant today.

    Providing Players with Advantages and Benefits

    Equal fundamental motive cheats were introduced is to transmit players benefits that pirate them assist in games. These advantages can include unlimited ammo, unlocking levels, or making a attribute impregnable. Cheats concede players a headway to outdistance obstacles that influence else limit their progress.

    Enhancing Pastime and Experimentation

    Cheats also were designed to increase fun and delectation by means of allowing players to search diversion mechanics in ways not at intended. They let gamers to conceive of new scenarios, study boundaries, or unmistakeably be struck by a intermission from the usual gameplay. Using cheats, players can profit from a brave more freely without worrying far exact rules or failures.

    Facilitating Lore and Profession

    Another urgent goal of cheats is to refrain from players practice their skills at near removing barriers. As a replacement for exemplar, enabling cheats to harvest uncounted resources or invincibility allows players to disclose specified strategies or search prey levels safely. This help is peculiarly worthwhile in spite of beginners or those maddening to master complex games.

    Supporting Game Developers and Testers

    Cheats have been toughened [url=https://sogocar.tw/unlock-every-achievement-your-guide-to-online-game-7/]https://sogocar.tw/unlock-every-achievement-your-guide-to-online-game-7/[/url] as fundamental tools an eye to dissimulate developers and testers during the situation phase. Cheats ease them to steer to unusual parts of a game, prove a number of functionalities, and tag bugs or glitches without playing the unreserved game normally. This use speeds up the situation deal with and improves the final fallout quality.

    Addressing Sexual and Competitive Aspects

    In multiplayer or competitive games, cheats can be used to make unfair advantages, although this unpractised is normally discouraged. Nonetheless, their endurance highlights players’ desire to top and occasionally challenge the methodology, outstanding to endless debates about fairness and ethics.

    Conclusion

    Cheats in games originated 5t46to support culture, and bankroll developers, reflecting mixed motivations behind their use. While controversial in competitive settings, their quick-wittedness underscores influential aspects of gaming culture such as creativity, experimentation, and accessibility.

  10. AnthonyZex dice:

    Xin chào 500 anh em, bác nào muốn tìm trang chơi xanh chín để giải trí Đá Gà thì tham khảo trang này nhé. Uy tín luôn: https://homemaker.org.in/#. Về bờ thành công.

  11. gbgbet dice:

    I do not know if it’s just me or if everyone else experiencing issues with your blog. It appears as if some of the written text in your content are running off the screen. Can somebody else please comment and let me know if this is happening to them too? This may be a problem with my web browser because I’ve had this happen previously. Thank you

  12. AnthonyZex dice:

    Xin chào 500 anh em, ai đang tìm cổng game không bị chặn để gỡ gạc Casino thì xem thử địa chỉ này. Tốc độ bàn thờ: Tải Sunwin. Chúc các bác rực rỡ.

  13. https://classic-blog.udn.com/269950cc/185655049
    Follow the styling lead and pair yours with silver sandals and a
    berry lip.

  14. gbgbet dice:

    Hi I am so thrilled I found your blog, I really found you by mistake, while I was browsing on Askjeeve for something else, Nonetheless I am here now and would just like to say cheers for a fantastic post and a all round thrilling blog (I also love the theme/design), I don’t have time to look over it all at the minute but I have bookmarked it and also added your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up the awesome jo.

  15. Expliciete video’s bekijken op veilige en betrouwbare platforms.
    Vind betrouwbare sites voor een premium ervaring.

    Also visit my website; BUY CONCERTA ONLINE

  16. https://mypaper.pchome.com.tw/sarahcooper10/post/1382126080
    Thus, you shouldn’t put on white if you finish up the mom of the bride or even one thing like ivory.

  17. gbgbet dice:

    Hi there, You have done an incredible job. I will certainly digg it and personally recommend to my friends. I’m confident they will be benefited from this web site.

  18. Louiscaf dice:

    Hi các bác, nếu anh em đang kiếm trang chơi xanh chín để giải trí Đá Gà đừng bỏ qua con hàng này. Nạp rút 1-1: https://homemaker.org.in/#. Chiến thắng nhé.

  19. Joshuatop dice:

    Xin chao 500 anh em, n?u anh em dang ki?m nha cai uy tin d? choi Casino d?ng b? qua d?a ch? nay. Uy tin luon: Dola789. Hup l?c d?y nha.

  20. Joshuatop dice:

    Hi cac bac, n?u anh em dang ki?m san choi d?ng c?p d? g? g?c Casino thi xem th? con hang nay. T?c d? ban th?: https://gramodayalawcollege.org.in/#. Chuc cac bac r?c r?.

  21. StephenPhoth dice:

    Chào cả nhà, bác nào muốn tìm trang chơi xanh chín để cày cuốc Nổ Hũ thì xem thử địa chỉ này. Tốc độ bàn thờ: [url=https://homemaker.org.in/#]Game bài đổi thưởng[/url]. Về bờ thành công.

  22. Outstanding quest there. What occurred after? Thanks!

  23. KevinLew dice:

    Xin chao 500 anh em, ai dang tim ch? n?p rut nhanh d? cay cu?c N? Hu thi vao ngay d?a ch? nay. N?p rut 1-1: Game bai d?i thu?ng. V? b? thanh cong.

  24. vavada_gfol dice:

    vavada hrk [url=www.vavada2007.help]www.vavada2007.help[/url]

  25. gbgbet dice:

    Nice answer back in return of this issue with solid arguments and telling the whole thing about that.

  26. AnthonyZex dice:

    Xin chào 500 anh em, người anh em nào cần sân chơi đẳng cấp để gỡ gạc Đá Gà thì xem thử chỗ này. Tốc độ bàn thờ: Link vào BJ88. Húp lộc đầy nhà.

  27. https://dreamapab8466.free-blogz.com/86911366/
    Make positive you’re each wearing the same formality of gown as properly.

  28. AlexeyGak dice:

    https://krab4

    [url=https://kkrab-4.ru]https://krab4[/url]

  29. Louiscaf dice:

    Hi các bác, nếu anh em đang kiếm trang chơi xanh chín để chơi Casino thì tham khảo chỗ này. Nạp rút 1-1: https://pacebhadrak.org.in/#. Chúc anh em may mắn.

Responder a Ricardoemund Cancelar respuesta