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

  1. где купить дайсон в санкт петербурге [url=https://pylesos-dn-8.ru/]pylesos-dn-8.ru[/url] .

  2. санкт петербург магазин дайсон [url=https://dn-pylesos-4.ru/]dn-pylesos-4.ru[/url] .

  3. b2xbet dice:

    This is very interesting, You are a very skilled blogger. I’ve joined your feed and look forward to seeking more of your great post. Also, I have shared your site in my social networks!

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

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

  6. Louiscaf dice:

    Chào anh em, bác nào muốn tìm chỗ nạp rút nhanh để gỡ gạc Tài Xỉu thì tham khảo chỗ này. Không lo lừa đảo: https://pacebhadrak.org.in/#. Chúc các bác rực rỡ.

  7. b2xbet dice:

    Hi! This post could not be written any better! Reading through this post reminds me of my good old room mate! He always kept talking about this. I will forward this article to him. Pretty sure he will have a good read. Many thanks for sharing!

  8. b2xbet dice:

    Thank you for any other fantastic article. The place else may anyone get that kind of information in such an ideal method of writing? I’ve a presentation subsequent week, and I’m on the look for such information.

  9. Inez dice:

    This post will asasist the internet people for uilding up
    new webpage or evven a weblog frokm start to end.

  10. b2xbet dice:

    Magnificent beat ! I wish to apprentice while you amend your web site, how can i subscribe for a blog website? The account aided me a acceptable deal. I had been a little bit acquainted of this your broadcast offered bright clear concept

  11. доставка алкоголя круглосуточно москва [url=https://www.alcohub10.ru]доставка алкоголя круглосуточно москва[/url] .

  12. Louiscaf dice:

    Chào cả nhà, ai đang tìm sân chơi đẳng cấp để cày cuốc Game bài đừng bỏ qua địa chỉ này. Nạp rút 1-1: [url=https://pacebhadrak.org.in/#]Đăng nhập BJ88[/url]. Về bờ thành công.

  13. dyson gen5 купить в спб [url=https://dn-pylesos-3.ru/]dn-pylesos-3.ru[/url] .

  14. AnthonyZex dice:

    Chào cả nhà, người anh em nào cần chỗ nạp rút nhanh để cày cuốc Tài Xỉu thì tham khảo chỗ này. Không lo lừa đảo: sun win. Chúc các bác rực rỡ.

  15. b2xbet dice:

    What’s up everyone, it’s my first visit at this web site, and article is truly fruitful in support of me, keep up posting these types of articles.

  16. Best Surrogacy Agencies Best Surrogacy Agencies are those that combine legal transparency, ethical medical standards, and real support for intended parents at every step of the journey

  17. экскурсии на автобусе санкт [url=https://avtobusnye-ekskursii-po-spb.ru/]avtobusnye-ekskursii-po-spb.ru[/url] .

  18. Joshuatop dice:

    Chao c? nha, bac nao mu?n tim ch? n?p rut nhanh d? choi Da Ga d?ng b? qua con hang nay. Dang co khuy?n mai: [url=https://gramodayalawcollege.org.in/#]Nha cai Dola789[/url]. Chi?n th?ng nhe.

  19. экскурсии санкт петербург на автобусе [url=https://avtobusnye-ekskursii-po-spb.ru/]экскурсии санкт петербург на автобусе[/url] .

  20. b2xbet dice:

    Thanks on your marvelous posting! I truly enjoyed reading it, you will be a great author. I will make sure to bookmark your blog and may come back very soon. I want to encourage you to definitely continue your great posts, have a nice weekend!

  21. pinup_qxPa dice:

    pin-up ios üçün yüklə [url=https://www.pinup2009.help]https://www.pinup2009.help[/url]

  22. AnthonyZex dice:

    Hello mọi người, ai đang tìm nhà cái uy tín để giải trí Tài Xỉu đừng bỏ qua trang này nhé. Không lo lừa đảo: https://pacebhadrak.org.in/#. Về bờ thành công.

  23. KevinLew dice:

    Chao anh em, ngu?i anh em nao c?n ch? n?p rut nhanh d? g? g?c Casino thi vao ngay ch? nay. Uy tin luon: T?i Sunwin. Chuc anh em may m?n.

  24. b2xbet dice:

    Hello, the whole thing is going perfectly here and ofcourse every one is sharing information, that’s actually fine, keep up writing.

  25. b2xbet dice:

    Nice answers in return of this matter with genuine arguments and describing all about that.

  26. Louiscaf dice:

    Chào anh em, ai đang tìm chỗ nạp rút nhanh để cày cuốc Game bài đừng bỏ qua địa chỉ này. Nạp rút 1-1: [url=https://pacebhadrak.org.in/#]BJ88[/url]. Chiến thắng nhé.

  27. b2xbet dice:

    Greetings! Very useful advice in this particular post! It is the little changes that will make the most significant changes. Many thanks for sharing!

  28. Great article, exactly what I was looking for.

  29. freelancer dice:

    i enjoy reading your articles, it is simply amazing, you are doing great work, do you post often? i will be checking you out again for your next post. you can check out webdesignagenturnürnberg.de the best webdesign agency in nuremberg Germany

  30. StephenPhoth dice:

    Chào cả nhà, nếu anh em đang kiếm nhà cái uy tín để giải trí Nổ Hũ thì tham khảo con hàng này. Tốc độ bàn thờ: Tải app BJ88. Chúc anh em may mắn.

  31. StephenPhoth dice:

    Hi các bác, nếu anh em đang kiếm trang chơi xanh chín để giải trí Nổ Hũ thì tham khảo trang này nhé. Uy tín luôn: [url=https://homemaker.org.in/#]Game bài đổi thưởng[/url]. Chiến thắng nhé.

  32. b2xbet dice:

    I am curious to find out what blog system you happen to be working with? I’m having some small security problems with my latest blog and I’d like to find something more risk-free. Do you have any recommendations?

  33. Уникальный подход к азартным
    играм предлагает new retro казино онлайн, new retro casino бонус за регистрацию.

  34. I am truly thankful to the owner of this website who has shared this great
    post at here.

  35. b2xbet dice:

    I used to be able to find good info from your content.

  36. b2xbet dice:

    Nice blog here! Also your website rather a lot up fast! What web host are you the use of? Can I get your affiliate link on your host? I wish my site loaded up as quickly as yours lol

  37. Joshuatop dice:

    Hi cac bac, ai dang tim ch? n?p rut nhanh d? cay cu?c Game bai thi tham kh?o trang nay nhe. Dang co khuy?n mai: nha cai dola789. Chi?n th?ng nhe.

Responder a 8xbetacademy.com lừa đảo công an việt nam cảnh báo truy quét cấm gấp Cancelar respuesta