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: 116,951

  1. Thanks for the comprehensive overview. Very helpful!

  2. Quinn here — I’ve tried providing liquidity and the low fees impressed me.

  3. کلینیک فوق تخصصی روشنک با بیش از یک دهه تجربه در درمان
    بیماری‌های نشیمنگاهی مانند بواسیر، شقاق، فیستول و کیست مویی، با بهره‌گیری
    از روش‌های نوین و پیشرفته
    مانند درمان با لیزر، بهترین خدمات تخصصی را به بیماران ارائه می‌دهد.
    این مرکز با تیمی مجرب و تجهیزات مدرن، علاوه بر درمان موثر، آموزش‌های پیشگیری و مشاوره‌های تخصصی را نیز در اختیار مراجعین قرار
    می‌دهد تا سلامت و کیفیت زندگی آن‌ها بهبود
    یابد. برای کسب اطلاعات بیشتر و دریافت مشاوره رایگان، به وب‌سایت
    کلینیک روشنک مراجعه کنید و از خدمات
    تخصصی ما بهره‌مند شوید.

  4. Wow that was unusual. I just wrote an incredibly long comment but after I clicked submit my comment didn’t appear.
    Grrrr… well I’m not writing all that over again. Anyways, just wanted
    to say superb blog!

    my webpage safest poker sites

  5. Diplomi_kwSn dice:

    где можно купить диплом медсестры [url=www.frei-diplom13.ru]где можно купить диплом медсестры[/url] .

  6. RichardHex dice:

    If you want to save money on prescriptions, you should try visiting this report. It shows trusted Mexican pharmacies. Huge savings at this link: п»їhttps://polkcity.us.com/# mexico farmacia.

  7. yowestogel dice:

    I personally find that fees are trustworthy service, and the execution is always smooth. Perfect for both new and experienced traders.

  8. Great blog you have here.. It’s difficult to find quality writing like yours these days.

    I seriously appreciate individuals like you! Take care!!

  9. Danielsnoni dice:

    п»їJust now, I discovered an interesting page about Indian Pharmacy exports. The site discusses WHO-GMP protocols for generic meds. For those interested in factory prices, go here: п»їonline pharmacy india. Might be useful.

  10. 888VI mobi dice:

    Hello, its pleasant piece of writing concerning media print,
    we all be familiar with media is a impressive source of
    data.

  11. LloydRop dice:

    I was wondering about ordering meds from Mexico. I found a verified site that reviews best pharmacies: п»ї[url=https://polkcity.us.com/#]prescriptions from mexico[/url]. What do you think?.

  12. Unquestionably believe that which you said.
    Your favorite justification seemed to be on the web
    the easiest thing to be aware of. I say to you, I definitely get annoyed while people consider worries
    that they just do not know about. You managed to hit
    the nail upon the top as well as defined out
    the whole thing without having side effect , people could
    take a signal. Will probably be back to get more. Thanks

  13. RichardHex dice:

    Stop overpaying and save cash on meds, I recommend checking this page. The site explains trusted Mexican pharmacies. Best prices at this link: п»ї[url=https://polkcity.us.com/#]mexico pharmacy list[/url].

  14. Nice post. I learn something new and challenging on websites I stumbleupon on a daily basis.
    It will always be interesting to read through content from other writers and use something from other web sites.

  15. کلینیک فوق تخصصی روشنک با بیش از یک دهه تجربه در درمان بیماری‌های نشیمنگاهی مانند بواسیر،
    شقاق، فیستول و کیست مویی، با
    بهره‌گیری از روش‌های نوین و پیشرفته مانند درمان با
    لیزر، بهترین خدمات تخصصی را به بیماران
    ارائه می‌دهد. این مرکز با
    تیمی مجرب و تجهیزات مدرن، علاوه بر درمان موثر، آموزش‌های
    پیشگیری و مشاوره‌های تخصصی را
    نیز در اختیار مراجعین قرار می‌دهد
    تا سلامت و کیفیت زندگی آن‌ها بهبود
    یابد. برای کسب اطلاعات بیشتر و دریافت مشاوره رایگان،
    به وب‌سایت کلینیک روشنک مراجعه کنید
    و از خدمات تخصصی ما بهره‌مند شوید.

  16. Ralphkic dice:

    п»їTo be honest, I came across a helpful report about generic pills from India. It covers WHO-GMP protocols on prescriptions. In case you need reliable shipping to USA, visit this link: п»їhttps://kisawyer.us.com/# indian pharmacy online. Worth a read.

  17. LloydRop dice:

    п»їTo be honest, I found an interesting report concerning Mexican Pharmacy standards. It explains FDA equivalents for generic meds. For those interested in Trusted pharmacy sources, visit this link: п»ї[url=https://polkcity.us.com/#]mexican drug stores[/url]. Cheers.

  18. I was skeptical, but after half a year of checking analytics, the intuitive UI convinced me.

  19. Diplomi_hzSn dice:

    купить диплом медсестры [url=https://www.frei-diplom13.ru]купить диплом медсестры[/url] .

  20. Ralphkic dice:

    п»їActually, I stumbled upon a great resource about cheap Indian generics. It details the manufacturing standards for ED medication. If you are looking for Trusted Indian sources, read this: п»їsource. Good info.

  21. https://digi262sa.netlify.app/research/digi262sa-(401)
    Steer clear of something too close to white similar to champagne and beige colors without
    talking to your daughter beforehand.

  22. Ralphkic dice:

    п»їTo be honest, I came across a great guide about buying affordable antibiotics. The site discusses the manufacturing standards when buying antibiotics. In case you need factory prices, check this out: п»їhttps://kisawyer.us.com/# india pharmacy mail order. It helped me.

  23. ggbet dice:

    After a thorough analysis conducted by our independent casino review team, GGBET ggbet has received a high security index.

  24. Ralphkic dice:

    п»їActually, I discovered a great report concerning generic pills from India. The site discusses the manufacturing standards for generic meds. For those interested in factory prices, go here: п»їhttps://kisawyer.us.com/# top 10 pharmacies in india. Worth a read.

  25. Ralphkic dice:

    п»їTo be honest, I found a great guide regarding Indian Pharmacy exports. The site discusses CDSCO regulations on prescriptions. If anyone wants factory prices, go here: п»їhttps://kisawyer.us.com/# Online medicine home delivery. It helped me.

  26. RichardHex dice:

    For those looking to save money on prescriptions, you should try checking this archive. The site explains shipping costs. Discounted options found here: п»їhttps://polkcity.us.com/# the purple pharmacy mexico.

  27. Danielsnoni dice:

    п»їLately, I found a useful page regarding ordering meds from India. It details CDSCO regulations on prescriptions. In case you need cheaper alternatives, visit this link: п»їhttps://kisawyer.us.com/# buy prescription drugs from india. Cheers.

  28. LloydRop dice:

    п»їRecently, I discovered an interesting page concerning buying affordable antibiotics. It explains FDA equivalents for ED medication. For those interested in reliable shipping to USA, go here: п»їhttps://polkcity.us.com/# farmacia mexicana en chicago. Worth a read.

Responder a website erstellen lassen Cancelar respuesta