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: 118,343

  1. OMT’s analysis analyses customize ideas, helping pupils fаll for their
    unique math trip towaгd test success.

    Chаnge math challenges into victories ᴡith OMT Math Tuition’ѕ blend of online
    and οn-site alternatives, Ƅacked Ьy a performance history of student excellence.

    Ꮤith students in Singapore starting official mathematics education from dɑy ⲟne and dealing ᴡith hіgh-stakes assessments, math tuition սsеs the extra edge needed tߋ attain leading efficiency іn thiѕ vital topic.

    Tuition emphasizes heuristic analytical techniques, crucial fоr taking on PSLE’s challenging word issues tһat require ѕeveral steps.

    Building confidence with constant tuition assistance іs vital, as О Levels can be
    stressful, and confident students ԁo far better undеr stress.

    Junior college math tuition cultivates critical assuming
    abilities needed to address non-routine troubles tһat typically ѕhow ᥙp in A Level mathematics assessments.

    Тhe uniqueness of OMT depends оn its customized
    curriculum tһat connects MOE syllabus voids ԝith
    supplemental resources ⅼike proprietary worksheets and remedies.

    Comprehensive solutions ρrovided ⲟn the internet leh, training yoս how
    to address issues appropriately fοr mսch better grades.

    By emphasizing conceptual understanding oveг
    memorizing understanding, math tuition outfits Singapore
    trainees fߋr the advancing test formats.

    Мy site – primary school math tuition singapore

  2. Diplomi_kiSn dice:

    кто нибудь работает медсестрой по купленному диплому [url=http://frei-diplom13.ru]http://frei-diplom13.ru[/url] .

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

  4. Hey this is kind of of off topic but I was wanting to know if blogs use WYSIWYG editors or
    if you have to manually code with HTML. I’m starting a
    blog soon but have no coding knowledge so I wanted to get guidance from someone with experience.
    Any help would be enormously appreciated!

  5. and were not half so satisfactory as his when theydid come.エロ ロボットIt was not only a pleasure,

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

  7. RichardHex dice:

    Sharing, an important analysis on Mexican Pharmacy safety. It breaks down pricing differences for antibiotics. Full info: п»ї[url=https://polkcity.us.com/#]check here[/url].

  8. The best choice I made for checking analytics. Smooth and reliable uptime.

  9. Cazrcsr dice:

    Мы изготавливаем дипломы любой профессии по приятным тарифам. Диплом об образовании в СССР считался основным документом, способствовавшим удачному трудоустройству. Заказать диплом о высшем образовании!: [url=http://f-ast.me/sherrylflora11/]f-ast.me/sherrylflora11[/url]

  10. ロボット エロThere were people there–and executioners–but as they tookno notice of us,it meant that we were invisible.

  11. Cazrvur dice:

    Мы готовы предложить дипломы психологов, юристов, экономистов и любых других профессий по доступным тарифам. Цена зависит от выбранной специальности, года выпуска и образовательного учреждения: [url=http://petitieonline.com/508227/]petitieonline.com/508227[/url]

  12. Hello! I’ve been following your site for some time now and finally got the courage to go ahead and give you a shout out from Porter Tx! Just wanted to say keep up the excellent job!

  13. This is just; as also is the reference to the sense of human interest.ロシア エロThe principle expressed is incontrovertible—but there may be something beyond it.

  14. Ralphkic dice:

    п»їRecently, I found a helpful resource about ordering meds from India. It explains WHO-GMP protocols for ED medication. In case you need factory prices, read this: п»ї[url=https://kisawyer.us.com/#]check here[/url]. Cheers.

  15. Sam here — I’ve tried learning crypto basics and the quick deposits impressed me.

  16. Hi! I’ve been following your website for a long time now and finally got the bravery to go ahead and give you a shout out from Humble Texas! Just wanted to mention keep up the great job!

  17. Danielsnoni dice:

    п»їRecently, I came across an informative report about Indian Pharmacy exports. It explains the manufacturing standards for generic meds. In case you need factory prices, read this: п»їhttps://kisawyer.us.com/# top online pharmacy india. Might be useful.

  18. ロシア エロHaving threaded the mazes of this channel for some hours,the gloom deepening every moment,

  19. RichardHex dice:

    If you want to save cash on meds, I suggest checking this archive. It reveals trusted Mexican pharmacies. Huge savings at this link: п»їsource.

  20. LloydRop dice:

    If you want to save money on prescriptions, I recommend reading this resource. It reveals where to buy cheap. Discounted options at this link: п»їpolkcity.us.com.

Responder a http://pureketoextra.net/ Cancelar respuesta