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

  1. Louiscaf dice:

    Hi các bác, ai đang tìm trang chơi xanh chín để chơi Casino đừng bỏ qua trang này nhé. Đang có khuyến mãi: https://homemaker.org.in/#. Về bờ thành công.

  2. ShawnWer dice:

    Modern online casinos offer a wide selection of games, from classic slots to innovative video games https://zero-100.ru/blogs/mir-azarta-v-odnom-meste-vozmoznosti-pin-up-casino-dla-novyh-i-opytnyh-igrokov/

  3. BobbyCem dice:

    The majority of us appreciate making several dollars through https://tohomeremodelers.com/on-the-web-casinos-vs-standard-casinos-2/

  4. StephenPhoth dice:

    Chào cả nhà, bác nào muốn tìm sân chơi đẳng cấp để giải trí Nổ Hũ đừng bỏ qua chỗ này. Đang có khuyến mãi: Game bài đổi thưởng. Chúc các bác rực rỡ.

  5. winpot dice:

    Greetings, I do think your site could possibly be having web browser compatibility issues. When I take a look at your website in Safari, it looks fine however, if opening in I.E., it has some overlapping issues. I just wanted to give you a quick heads up! Besides that, fantastic site!

  6. winpot dice:

    Your method of telling all in this post is really pleasant, every one be capable of easily be aware of it, Thanks a lot.

  7. dyson купить спб [url=https://pylesos-dn-10.ru/]dyson купить спб[/url] .

  8. dyson магазин в спб [url=https://dn-pylesos-3.ru/]dn-pylesos-3.ru[/url] .

  9. Louiscaf dice:

    Hello mọi người, bác nào muốn tìm trang chơi xanh chín để giải trí Tài Xỉu thì tham khảo con hàng này. Nạp rút 1-1: [url=https://homemaker.org.in/#]sunwin[/url]. Chúc anh em may mắn.

  10. Смотрите порно безопасно, выбирая проверенные веб-сайты для взрослых.

    Используйте надежные порнохабы для конфиденциального развлечения.

    Here is my website: ЛЕСБИЙСКИЕ ПОРНО ВИДЕО

  11. купить пылесос дайсон в санкт [url=https://dn-pylesos-kupit-4.ru/]dn-pylesos-kupit-4.ru[/url] .

  12. winpot dice:

    I am really impressed with your writing skills as well as with the layout on your blog. Is this a paid theme or did you modify it yourself? Anyway keep up the excellent quality writing, it is rare to see a great blog like this one today.

  13. winpot dice:

    Thankfulness to my father who shared with me concerning this web site, this website is really amazing.

  14. дайсон санкт петербург официальный [url=https://dn-pylesos-4.ru/]dn-pylesos-4.ru[/url] .

  15. winpot dice:

    Hey There. I discovered your blog the usage of msn. This is a really neatly written article. I’ll be sure to bookmark it and come back to read extra of your helpful info. Thanks for the post. I’ll certainly comeback.

  16. dermapen 4 dice:

    Good post however , I was wanting to know if you could write a
    litte more on this topic? I’d be very thankful if you could elaborate a little bit further.
    Cheers!

  17. пылесос dyson купить [url=https://pylesos-dn-8.ru/]пылесос dyson купить[/url] .

  18. I want to to thank you for this very good read!!
    I definitely enjoyed every bit of it. I have got you book
    marked to look at new things you post…

  19. winpot dice:

    I’d like to thank you for the efforts you have put in penning this site. I am hoping to view the same high-grade blog posts from you in the future as well. In truth, your creative writing abilities has encouraged me to get my own, personal blog now 😉

  20. winpot dice:

    Appreciation to my father who stated to me on the topic of this webpage, this weblog is really amazing.

  21. galabet online casino, galabet online casino, memleketimizde en popüler
    online kumarhanelerden biridir. Geliştirdiği oyun çeşitliliği, oyuncuları heyecanlandırmaktadır.

  22. winpot dice:

    Good day I am so happy I found your web site, I really found you by error, while I was looking on Yahoo for something else, Anyways I am here now and would just like to say thanks for a marvelous post and a all round entertaining blog (I also love the theme/design), I don’t have time to go through it all at the moment but I have saved it and also included your RSS feeds, so when I have time I will be back to read much more, Please do keep up the superb b.

  23. winpot dice:

    Great blog here! Also your website loads up fast! What host are you using? Can I get your affiliate link to your host? I wish my web site loaded up as quickly as yours lol

  24. link dice:

    I’ve been looking into Paybis for a while now, especially after going through financial trouble, and
    I’m still not fully convinced whether it deserves all the attention it
    gets. Still, it’s definitely a noticeable name in the crypto space, particularly for people in Germany who are trying to
    get back on track. From what I understand, Paybis presents itself as a well-established cryptocurrency
    service that supports standard payment methods, something many platforms either limit or complicate.

    What initially caught my eye is how Paybis seems to connect
    traditional German banking methods with the
    crypto world. Many exchanges focus only on crypto-to-crypto trades, while Paybis allows users to exchange crypto using credit cards.
    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 only the major tokens.

    Instead, it offers a wider range of digital
    assets, which might attract users who are trying new projects.
    Still, things like liquidity are worth checking before making decisions.

    Security and compliance also come up often around Paybis.
    The platform highlights identity verification, which can feel reassuring 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 transparent about costs, while others note that pricing can depend on currency.
    This isn’t unusual in the crypto industry, but it means
    users should compare alternatives before moving money.

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

  25. В casino riobet, rio bet casino каждый игрок найдет
    что-то для себя.

  26. netvortex.click – Appreciate the typography choices; comfortable spacing improved my reading experience.

  27. Joshuatop dice:

    Hello m?i ngu?i, bac nao mu?n tim ch? n?p rut nhanh d? gi?i tri Casino d?ng b? qua trang nay nhe. N?p rut 1-1: [url=https://pacebhadrak.org.in/#]T?i app BJ88[/url]. Chuc anh em may m?n.

Responder a mellstroy.com Cancelar respuesta