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: 137,738

  1. AnthonyZex dice:

    Chào anh em, người anh em nào cần chỗ nạp rút nhanh để gỡ gạc Tài Xỉu thì xem thử địa chỉ này. Nạp rút 1-1: [url=https://gramodayalawcollege.org.in/#]Link không bị chặn[/url]. Chiến thắng nhé.

  2. hi88 dice:

    I was curious if you ever considered changing the page layout of your website? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having one or two images. Maybe you could space it out better?

  3. hi88 dice:

    We are a bunch of volunteers and opening a new scheme in our community. Your web site provided us with useful info to work on. You’ve done an impressive task and our entire group will probably be thankful to you.

  4. Louiscaf dice:

    Chào anh em, nếu anh em đang kiếm cổng game không bị chặn để cày cuốc Tài Xỉu thì vào ngay địa chỉ này. Đang có khuyến mãi: https://homemaker.org.in/#. Chiến thắng nhé.

  5. hi88 dice:

    great issues altogether, you simply won a new reader. What could you suggest about your put up that you made a few days in the past? Any positive?

  6. I am no longer positive the place you are getting your information, however good topic.

    I needs to spend some time learning more or working out more.
    Thanks for fantastic info I used to be looking for this information for my mission.

  7. Prakom dice:

    Spot on with this write-up, I really believe this site
    needs a great deal more attention. I’ll probably be returning to read more, thanks for the advice!

  8. hi88 dice:

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

  9. Benjamin Hyland dice:

    Infrastructure as Code simplifies server management! Forget tedious setups. Imagine automating server creation, SSH key additions, and even load balancer configuration. It’s like playing Run 3 – instead of endless manual tasks, you’re coding your infrastructure.

  10. hi88 dice:

    I’ve been browsing on-line more than three hours these days, but I never discovered any interesting article like yours. It’s beautiful value sufficient for me. Personally, if all webmasters and bloggers made good content as you did, the internet can be much more helpful than ever before.

  11. hi88 dice:

    Definitely imagine that that you said. Your favourite justification seemed to be at the net the simplest thing to understand of. I say to you, I definitely get annoyed even as folks think about concerns that they plainly do not understand about. You managed to hit the nail upon the highest and defined out the whole thing with no need side effect , people could take a signal. Will probably be again to get more. Thanks

  12. KevinLew dice:

    Xin chao 500 anh em, bac nao mu?n tim ch? n?p rut nhanh d? cay cu?c Game bai thi xem th? d?a ch? nay. Khong lo l?a d?o: https://homemaker.org.in/#. Chuc cac bac r?c r?.

  13. Louiscaf dice:

    Xin chào 500 anh em, người anh em nào cần nhà cái uy tín để giải trí Game bài thì tham khảo con hàng này. Đang có khuyến mãi: [url=https://homemaker.org.in/#]sun win[/url]. Chúc các bác rực rỡ.

  14. hi88 dice:

    Heya just wanted to give you a brief heads up and let you know a few of the pictures aren’t loading properly. I’m not sure why but I think its a linking issue. I’ve tried it in two different internet browsers and both show the same results.

  15. hi88 dice:

    I’ve read some excellent stuff here. Certainly price bookmarking for revisiting. I surprise how so much attempt you set to create one of these wonderful informative site.

  16. KevinLew dice:

    Hello m?i ngu?i, ngu?i anh em nao c?n trang choi xanh chin d? choi Da Ga thi tham kh?o con hang nay. Dang co khuy?n mai: [url=https://gramodayalawcollege.org.in/#]nha cai dola789[/url]. Chuc cac bac r?c r?.

  17. AnthonyZex dice:

    Chào anh em, bác nào muốn tìm trang chơi xanh chín để cày cuốc Tài Xỉu thì tham khảo trang này nhé. Không lo lừa đảo: [url=https://gramodayalawcollege.org.in/#]Link không bị chặn[/url]. Chiến thắng nhé.

  18. hi88 dice:

    I am regular reader, how are you everybody? This paragraph posted at this web site is really pleasant.

  19. Louiscaf dice:

    Xin chào 500 anh em, ai đang tìm sân chơi đẳng cấp để cày cuốc Tài Xỉu đừng bỏ qua con hàng này. Đang có khuyến mãi: [url=https://pacebhadrak.org.in/#]Nhà cái BJ88[/url]. Chiến thắng nhé.

  20. hi88 dice:

    This website was… how do you say it? Relevant!! Finally I’ve found something which helped me. Thanks a lot!

  21. AnthonyZex dice:

    Hi các bác, người anh em nào cần sân chơi đẳng cấp để cày cuốc Tài Xỉu thì tham khảo địa chỉ này. Không lo lừa đảo: Link vào Dola789. Chúc các bác rực rỡ.

  22. Joshuatop dice:

    Xin chao 500 anh em, bac nao mu?n tim c?ng game khong b? ch?n d? g? g?c Tai X?u thi vao ngay trang nay nhe. N?p rut 1-1: [url=https://gramodayalawcollege.org.in/#]Dola789[/url]. Hup l?c d?y nha.

  23. visitor dice:

    Shot accuracy, attempts on target and conversion rates updated live

  24. hi88 dice:

    Every weekend i used to go to see this web site, because i want enjoyment, since this this website conations actually pleasant funny data too.

  25. KevinLew dice:

    Hi cac bac, ai dang tim san choi d?ng c?p d? choi Da Ga thi xem th? d?a ch? nay. Khong lo l?a d?o: [url=https://pacebhadrak.org.in/#]bj88[/url]. Chuc anh em may m?n.

  26. hi88 dice:

    If you wish for to obtain a good deal from this piece of writing then you have to apply such methods to your won website.

  27. hi88 dice:

    I love what you guys are up too. This type of clever work and reporting! Keep up the terrific works guys I’ve you guys to my own blogroll.

  28. hi88 dice:

    It’s going to be end of mine day, however before ending I am reading this enormous piece of writing to improve my experience.

  29. AnthonyZex dice:

    Xin chào 500 anh em, nếu anh em đang kiếm chỗ nạp rút nhanh để chơi Game bài thì xem thử con hàng này. Tốc độ bàn thờ: Nhà cái BJ88. Chiến thắng nhé.

  30. answer dice:

    I’ve been reading Paybis for a while now, especially after
    having a rough financial period, and I’m still
    not completely certain whether it deserves all the attention it gets.
    Still, it’s certainly a noticeable name in the digital asset market,
    particularly for people in Germany who are trying to get back on track.

    From what I understand, Paybis presents itself as a large-scale cryptocurrency service that supports regular bank transactions,
    something many platforms either limit or complicate.

    What initially caught my eye is how Paybis seems to link traditional German banking methods with the crypto world.
    Many exchanges focus only on crypto-to-crypto trades,
    while Paybis allows users to sell crypto using SEPA transfers.
    I’m not saying the process is perfect, but it does seem aimed at beginners rather than just advanced traders.

    Another aspect worth noting is the selection of supported assets.

    Paybis doesn’t restrict itself to Bitcoin and Ethereum only.
    Instead, it offers multiple altcoins, which might attract users who are exploring options.

    Still, things like asset availability are worth checking before making decisions.

    Security and compliance also come up often around Paybis.

    The platform highlights identity verification, which can feel professional for users in Germany, though others might see it as inconvenient.
    I’m still undecided, but it does suggest
    Paybis tries to operate as a long-term marketplace.

    When it comes to fees, reviews seem mixed. Some say Paybis is straightforward
    about costs, while others note that pricing can depend on currency.
    This isn’t unusual in the crypto industry,
    but it means users should read the details before moving money.

    Overall, I wouldn’t call Paybis the ultimate choice, but it does
    seem like a platform worth exploring, especially for someone in Germany trying to find accessible financial tools.
    I’m still forming my opinion, but it seems interesting enough to justify further research.

Responder a kyhni spb_hson Cancelar respuesta