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: 146,077

  1. If some one wishes expert view regarding blogging and site-building
    afterward i recommend him/her to pay a visit this web site, Keep up the fastidious work.

  2. Vaughnprido dice:

    https://usmedsoutlet.shop/# canadian pharmacy discount code

  3. I read this paragraph fully on the topic of the comparison of most up-to-date and earlier technologies,
    it’s remarkable article.

  4. Mitchket dice:

    you can try here
    [url=https://russian-traditional-clothes.com/]russian traditional clothing[/url]

  5. laki55 bd dice:

    I like the helpful information you provide in your articles.

    I will bookmark your blog and check again here regularly.
    I am quite sure I will learn lots of new stuff right here!
    Good luck for the next!

  6. LCG Bet app dice:

    Thanks on your marvelous posting! I certainly enjoyed reading it, you might be a great author.I will
    be sure to bookmark your blog and will come back
    sometime soon. I want to encourage you to definitely continue your great job, have a nice evening!

  7. 最新成人网站 提供创新的成人娱乐内容。发现 安全的新平台 以获得现代化的体验。

    Review my website … BRUTAL PORN CLIPS

  8. The interface is scalable features, and I enjoy using the API here. My withdrawals were always smooth.

  9. pinup_mxPl dice:

    pin-up ödəniş səhifəsi [url=http://pinup2007.help]http://pinup2007.help[/url]

  10. Dennisburry dice:

    [url=https://sazhaem-sad-i-ogorod.blogspot.com/2026/01/blog-post_52.html]Когда сажать баклажаны на рассаду по лунному календарю весной 2026 года[/url]

  11. школьное образование онлайн [url=https://shkola-onlajn-25.ru/]школьное образование онлайн[/url] .

  12. Удобство и современный дизайн обеспечат [url=https://electro-rulon.ru] автоматические шторы зебра Прокарниз [/url], которыми легко управлять с пульта или смартфона.
    Качество и вид материалов влияют на внешний вид и эксплуатационные характеристики.

  13. The fiat on-ramp tools are wide token selection and clear transparency.

  14. WilliamDig dice:

    US Meds Outlet: US Meds Outlet – online pharmacy india

  15. онлайн школа для школьников с аттестатом [url=https://shkola-onlajn-25.ru/]онлайн школа для школьников с аттестатом[/url] .

  16. WilliamDig dice:

    mexican pharmacy: medication in mexico – mexican pharmacy online

  17. школа онлайн обучение для детей [url=https://shkola-onlajn-25.ru/]школа онлайн обучение для детей[/url] .

  18. WilliamDig dice:

    india online pharmacy: Indo-Generic Export – india online pharmacy

  19. casino london uk, 888 poker login australia and how many gambling casinos are in the united states, or how
    to play pokies in canada

    Feel free to visit my blog … goplayslots.net

  20. Whoonga dice:

    I think that everything said was very reasonable. But, what about this?
    what if you typed a catchier title? I am not saying your content is not solid., but what if you added something to maybe get people’s attention? I mean Infraestructura como código
    – Politraining is a little plain. You might glance at Yahoo’s front page and see
    how they create post titles to grab people to open the links.
    You might add a video or a related pic or two to get people interested about everything’ve written. In my
    opinion, it could bring your website a little livelier.

  21. I am sure this article has touched all the internet people, its really really fastidious piece of writing on building up new web site.

  22. StephenThura dice:

    pharmacies in mexico [url=https://bajameddirect.com/#]BajaMed Direct[/url] farmacia mexicana online

  23. производитель рулонных штор [url=https://rulonnye-shtory-s-elektroprivodom90.ru/]rulonnye-shtory-s-elektroprivodom90.ru[/url] .

  24. HarryUntox dice:

    cheap scripts pharmacy: canadian pharmacy coupon – canadian world pharmacy

  25. HarryUntox dice:

    canada pharmacy world: US Meds Outlet – US Meds Outlet

  26. WilliamDig dice:

    canadian pharmacy online reviews: US Meds Outlet – US Meds Outlet

  27. HarryUntox dice:

    US Meds Outlet: canadian 24 hour pharmacy – US Meds Outlet

  28. StephenThura dice:

    US Meds Outlet [url=https://usmedsoutlet.shop/#]US Meds Outlet[/url] mail order prescription drugs from canada

  29. pinup_lkPl dice:

    pin-up Azərpoçt ilə depozit [url=https://www.pinup2007.help]pin-up Azərpoçt ilə depozit[/url]

  30. GichardSep dice:

    Hello every one, here every one is sharing such know-how, therefore it’s fastidious to read this website, and I used to go to see this website all the time.
    либет казино

  31. GrantRab dice:

    топ сайты игровых автоматов “Самые выигрышные слоты” — это не мистическая формула, а скорее комбинация математических показателей (RTP, волатильность), бонусных функций, тематики и, конечно же, долгожданной удачи. Ориентируясь на высокий RTP, учитывая волатильность, соответствующую вашему стилю игры, и используя демо-режим для ознакомления, вы сможете найти игровые автоматы, которые принесут вам не только азарт, но и максимальное удовольствие от процесса игры. Помните, что главное в игре — это получить положительные эмоции, а выигрыши, пусть и желанные, должны оставаться приятным бонусом.

  32. I wanted to thank you for this wonderful read!!

    I absolutely loved every bit of it. I have you saved as a favorite to look at
    new stuff you post…

  33. StephenThura dice:

    india pharmacy [url=https://indogenericexport.shop/#]Indo-Generic Export[/url] top 10 online pharmacy in india

  34. 1win_sxEl dice:

    aviator en 1win [url=1win5773.help]aviator en 1win[/url]

  35. Hey! I know this is kind of off topic but I was wondering if you knew where I could get a captcha plugin for my comment form?

    I’m using the same blog platform as yours and I’m having problems finding
    one? Thanks a lot!

  36. готовые рулонные шторы цена [url=https://rulonnye-shtory-s-elektroprivodom90.ru/]rulonnye-shtory-s-elektroprivodom90.ru[/url] .

  37. Удобство и современный дизайн обеспечат [url=https://electro-rulon.ru] недорогие рулонные шторы с электроприводом прокарниз
    подключить рулонную штору к умному дому [/url], которыми легко управлять с пульта или смартфона.
    Монтаж рулонных штор с электроприводом обычно не вызывает сложностей.

  38. StephenThura dice:

    BajaMed Direct [url=http://bajameddirect.com/#]BajaMed Direct[/url] reputable mexican pharmacy

  39. онлайн школы для детей [url=https://shkola-onlajn-25.ru/]онлайн школы для детей[/url] .

  40. HarryUntox dice:

    US Meds Outlet: economy pharmacy – US Meds Outlet

  41. betleao dice:

    Howdy exceptional blog! Does running a blog like this require
    a massive amount work? I have virtually no expertise in computer programming but I
    was hoping to start my own blog in the near future. Anyway, should you have any recommendations or
    tips for new blog owners please share. I know this is off subject nevertheless
    I just wanted to ask. Appreciate it!

  42. DMT Vape dice:

    I know this site presents quality dependent articles or reviews and additional information, is there
    any other web page which presents these kinds of data in quality?

  43. Randytaito dice:

    http://usmedsoutlet.com/# canadian pharmacies that deliver to the us

  44. ClarkGinee dice:

    Аренда квартир в Ташкенте на длительный срок от 500 у.е и выше арендовать квартиру в ташкент сити

  45. онлайн-школа с аттестатом бесплатно [url=https://shkola-onlajn-25.ru/]онлайн-школа с аттестатом бесплатно[/url] .

  46. ClarkGinee dice:

    Аренда квартир в Ташкенте на длительный срок от 500 у.е и выше арендовать квартиру в центре ташкента

Responder a Vaughnprido Cancelar respuesta