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

  1. pinup_wkPa dice:

    pin-up withdraw [url=pinup2009.help]pinup2009.help[/url]

  2. KevinLew dice:

    Chao c? nha, n?u anh em dang ki?m ch? n?p rut nhanh d? gi?i tri N? Hu thi vao ngay ch? nay. Khong lo l?a d?o: BJ88. Chi?n th?ng nhe.

  3. Joshuatop dice:

    Hi cac bac, bac nao mu?n tim san choi d?ng c?p d? choi Game bai d?ng b? qua trang nay nhe. Khong lo l?a d?o: [url=https://pacebhadrak.org.in/#]Nha cai BJ88[/url]. Chi?n th?ng nhe.

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

  5. winpot dice:

    I am really enjoying the theme/design of your weblog. Do you ever run into any web browser compatibility issues? A handful of my blog readers have complained about my site not working correctly in Explorer but looks great in Opera. Do you have any solutions to help fix this issue?

  6. winpot dice:

    This post is genuinely a pleasant one it helps new web people, who are wishing in favor of blogging.

  7. Joshuatop dice:

    Chao anh em, ai dang tim san choi d?ng c?p d? choi N? Hu thi tham kh?o d?a ch? nay. Khong lo l?a d?o: [url=https://gramodayalawcollege.org.in/#]Dola789[/url]. V? b? thanh cong.

  8. visitor dice:

    Youth academy news, promising talents and breakthrough performances

  9. Louiscaf dice:

    Xin chào 500 anh em, ai đang tìm trang chơi xanh chín để giải trí Game bài thì vào ngay địa chỉ này. Uy tín luôn: [url=https://gramodayalawcollege.org.in/#]Dola789 đăng nhập[/url]. Chúc các bác rực rỡ.

  10. KevinLew dice:

    Chao c? nha, bac nao mu?n tim ch? n?p rut nhanh d? gi?i tri N? Hu thi xem th? trang nay nhe. Uy tin luon: [url=https://homemaker.org.in/#]Link t?i Sunwin[/url]. V? b? thanh cong.

  11. дайсон спб официальный [url=https://dn-pylesos-3.ru/]dn-pylesos-3.ru[/url] .

  12. Joshuatop dice:

    Xin chao 500 anh em, ngu?i anh em nao c?n trang choi xanh chin d? choi Tai X?u thi xem th? trang nay nhe. Uy tin luon: sun win. Chi?n th?ng nhe.

  13. pinup_bxPa dice:

    pin-up aviator qaydaları pin-up [url=www.pinup2009.help]pin-up aviator qaydaları pin-up[/url]

  14. пылесос dyson спб [url=https://pylesos-dn-8.ru/]pylesos-dn-8.ru[/url] .

  15. дайсон официальный сайт [url=https://pylesos-dn-6.ru/]pylesos-dn-6.ru[/url] .

  16. AnthonyZex dice:

    Xin chào 500 anh em, người anh em nào cần cổng game không bị chặn để chơi Nổ Hũ đừng bỏ qua con hàng này. Uy tín luôn: Nhà cái Dola789. Chiến thắng nhé.

  17. leadnest.click – Color palette felt calming, nothing distracting, just focused, thoughtful design.

  18. winpot dice:

    I think the admin of this web site is truly working hard in support of his web site, since here every data is quality based material.

  19. KevinLew dice:

    Xin chao 500 anh em, ngu?i anh em nao c?n san choi d?ng c?p d? choi Casino thi xem th? trang nay nhe. Dang co khuy?n mai: [url=https://homemaker.org.in/#]Game bai d?i thu?ng[/url]. Chuc cac bac r?c r?.

  20. пылесосы dyson [url=https://pylesos-dn-10.ru/]pylesos-dn-10.ru[/url] .

  21. winpot dice:

    I’ve learn several good stuff here. Certainly worth bookmarking for revisiting. I surprise how so much effort you set to create this sort of wonderful informative web site.

  22. winpot dice:

    These are in fact fantastic ideas in concerning blogging. You have touched some fastidious factors here. Any way keep up wrinting.

  23. Louiscaf 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 Game bài thì vào ngay chỗ này. Đang có khuyến mãi: [url=https://homemaker.org.in/#]Tải Sunwin[/url]. Về bờ thành công.

  24. dyson v15 detect absolute купить в спб [url=https://dn-pylesos-kupit-4.ru/]dn-pylesos-kupit-4.ru[/url] .

  25. дайсон пылесос спб [url=https://dn-pylesos-4.ru/]dn-pylesos-4.ru[/url] .

  26. StephenPhoth dice:

    Chào anh em, người anh em nào cần chỗ nạp rút nhanh để gỡ gạc Nổ Hũ thì vào ngay đị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é.

  27. winpot dice:

    Wonderful article! We will be linking to this particularly great article on our site. Keep up the good writing.

  28. pinup_elOt dice:

    pin-up juego de minas [url=https://pinup2003.help/]pin-up juego de minas[/url]

  29. slot gacor dice:

    Good post. I learn something new and challenging on sites I stumbleupon everyday.
    It’s always helpful to read through articles from
    other writers and use something from other web sites.

  30. дайсон официальный сайт [url=https://pylesos-dn-8.ru/]дайсон официальный сайт[/url] .

  31. winpot dice:

    I’d like to find out more? I’d love to find out some additional information.

  32. Louiscaf dice:

    Hello mọi người, người anh em nào cần sân chơi đẳng cấp để chơi Nổ Hũ thì xem thử địa chỉ này. Đang có khuyến mãi: [url=https://pacebhadrak.org.in/#]bj88[/url]. Húp lộc đầy nhà.

  33. Joshuatop dice:

    Hi cac bac, ai dang tim nha cai uy tin d? g? g?c Game bai d?ng b? qua ch? nay. N?p rut 1-1: https://pacebhadrak.org.in/#. Hup l?c d?y nha.

  34. Hi there friends, fastidious piece of writing and
    pleasant urging commented here, I am truly
    enjoying by these.

  35. Joshuatop dice:

    Xin chao 500 anh em, n?u anh em dang ki?m ch? n?p rut nhanh d? choi Casino thi tham kh?o trang nay nhe. T?c d? ban th?: https://gramodayalawcollege.org.in/#. V? b? thanh cong.

  36. Louiscaf dice:

    Hi các bác, nếu anh em đang kiếm sân chơi đẳng cấp để cày cuốc Game bài thì tham khảo địa chỉ này. Nạp rút 1-1: [url=https://homemaker.org.in/#]Sunwin web[/url]. Chúc các bác rực rỡ.

  37. togel online dice:

    It is perfect time to make some plans for the future and it is time to be happy.
    I have read this post and if I could I desire to suggest
    you few interesting things or suggestions.
    Perhaps you can write next articles referring to this
    article. I wish to read more things about it!

  38. KevinLew dice:

    Chao anh em, bac nao mu?n tim ch? n?p rut nhanh d? choi Tai X?u d?ng b? qua con hang nay. T?c d? ban th?: [url=https://gramodayalawcollege.org.in/#]nha cai dola789[/url]. Chuc cac bac r?c r?.

  39. winpot dice:

    Hey just wanted to give you a quick 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 browsers and both show the same results.

Responder a RobertPeedy Cancelar respuesta