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

  1. Joshuatop dice:

    Hello m?i ngu?i, bac nao mu?n tim nha cai uy tin d? gi?i tri Game bai thi vao ngay con hang nay. Dang co khuy?n mai: Sunwin web. V? b? thanh cong.

  2. https://tiffanylang1939.amebaownd.com/posts/58283915
    Then, let the formality, season and venue of the marriage be
    your guide.

  3. https://classic-blog.udn.com/cc99541e/185628865
    Find jacket attire in champagne, orchid, pink, lavender, or navy for girls of all
    ages.

  4. b2xbet dice:

    I am regular reader, how are you everybody? This article posted at this web page is actually good.

  5. https://marvinrkn4999.wordpress.com/2026/01/26/2/
    In common, you’ll do your finest to avoid matching with the bridesmaids or the mothers of the couple getting married.

  6. Louiscaf dice:

    Hello mọi người, người anh em nào cần cổng game không bị chặn để chơi Đá Gà thì tham khảo con hàng này. Tốc độ bàn thờ: [url=https://gramodayalawcollege.org.in/#]Nhà cái Dola789[/url]. Chúc anh em may mắn.

  7. b2xbet dice:

    Hello there! Would you mind if I share your blog with my facebook group? There’s a lot of people that I think would really appreciate your content. Please let me know. Cheers

  8. https://sites.google.com/view/boginhall-01-20-2026/page-3?authuser=1
    This beautiful floral frock would make the right complement
    to any nature-inspired wedding ceremony.

  9. KevinLew dice:

    Xin chao 500 anh em, ngu?i anh em nao c?n trang choi xanh chin d? cay cu?c Game bai d?ng b? qua con hang nay. Uy tin luon: https://homemaker.org.in/#. Chi?n th?ng nhe.

  10. b2xbet dice:

    This blog was… how do I say it? Relevant!! Finally I’ve found something that helped me. Kudos!

  11. Louiscaf dice:

    Xin chào 500 anh em, bác nào muốn tìm nhà cái uy tín để giải trí Game bài thì tham khảo chỗ này. Không lo lừa đảo: Link tải Sunwin. Chúc các bác rực rỡ.

  12. Imphal call girls insist on respect before anything else

  13. https://yucky-daisey-q4qdyoqp.dcms.site/
    Our top-rated sizes range from 00 – 32 to also embody
    petite merchandise.

  14. AnthonyZex dice:

    Chào cả nhà, nếu anh em đang kiếm nhà cái uy tí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]. Chiến thắng nhé.

  15. 24약국 비아그라 구매 사이트,병원의사
    추천하는 바르는비아그라 관련 혜택과 특가 구매하는 방법, 정품
    비아그라 파는곳, 비아그라 구입,구매,

  16. KevinLew dice:

    Chao c? nha, bac nao mu?n tim trang choi xanh chin d? g? g?c Da Ga thi xem th? d?a ch? nay. Dang co khuy?n mai: Link vao BJ88. Hup l?c d?y nha.

  17. dyson спб [url=https://pylesos-dn-9.ru/]dyson спб[/url] .

  18. all the time i used to read smaller content that also clear their motive, and that is also happening with this paragraph which I am reading at this time.

  19. AnthonyZex dice:

    Chào cả nhà, bác nào muốn tìm sân chơi đẳng cấp để cày cuốc Tài Xỉu đừng bỏ qua địa chỉ này. Đang có khuyến mãi: https://gramodayalawcollege.org.in/#. Chúc anh em may mắn.

  20. situs togel dice:

    I have been exploring for a bit for any high-quality articles or blog posts in this kind of house .
    Exploring in Yahoo I finally stumbled upon this site.
    Reading this info So i am satisfied to show that I’ve an incredibly good uncanny feeling I discovered
    exactly what I needed. I most indubitably will make certain to don?t forget this site and provides it a glance regularly.

  21. magnificent publish, very informative. I ponder why the other experts of this sector don’t realize this.

    You should continue your writing. I’m confident, you’ve a
    great readers’ base already!

  22. vavada_fjol dice:

    kako podići dobitak na vavada [url=http://vavada2007.help]http://vavada2007.help[/url]

  23. b2xbet dice:

    Hi to all, because I am truly eager of reading this webpage’s post to be updated regularly. It includes pleasant information.

  24. b2xbet dice:

    If some one desires expert view concerning running a blog after that i suggest him/her to visit this webpage, Keep up the good job.

  25. AnthonyZex dice:

    Chào cả nhà, bác nào muốn tìm trang chơi xanh chín để cày cuốc Đá Gà thì vào ngay con hàng này. Tốc độ bàn thờ: Link tải Sunwin. Húp lộc đầy nhà.

  26. Cuttack call girls know everyone somehow

  27. StephenPhoth dice:

    Chào anh em, nếu anh em đang kiếm trang chơi xanh chín để gỡ gạc Đá Gà thì tham khảo con hàng này. Uy tín luôn: https://homemaker.org.in/#. Chiến thắng nhé.

  28. AnthonyZex dice:

    Hello mọi người, nếu anh em đang kiếm cổng game không bị chặn để gỡ gạc Đá Gà thì xem thử chỗ này. Không lo lừa đảo: [url=https://homemaker.org.in/#]sun win[/url]. Về bờ thành công.

  29. b2xbet dice:

    You need to be a part of a contest for one of the best sites online. I’m going to highly recommend this blog!

  30. StephenPhoth dice:

    Xin chào 500 anh em, nếu anh em đang kiếm cổng game không bị chặn để chơi Casino đừng bỏ qua trang này nhé. Nạp rút 1-1: Dola789. Chúc các bác rực rỡ.

  31. AnthonyZex dice:

    Xin chào 500 anh em, nếu anh em đang kiếm nhà cái uy tín để gỡ gạc Nổ Hũ đừng bỏ qua con hàng này. Tốc độ bàn thờ: [url=https://gramodayalawcollege.org.in/#]Tải app Dola789[/url]. Húp lộc đầy nhà.

Responder a Daison pilesos_auMa Cancelar respuesta