dotnet / aspire

Tools, templates, and packages to accelerate building observable, production-ready apps
https://learn.microsoft.com/dotnet/aspire
MIT License
3.95k stars 485 forks source link

Add support for Azure Redis enterprise #6831

Open eerhardt opened 4 days ago

eerhardt commented 4 days ago

Is there an existing issue for this?

Is your feature request related to a problem? Please describe the problem.

See https://www.youtube.com/watch?v=qlF-WyoW7Mc which introduced Azure Managed Redis, a fully managed, hyperscale-ready Redis solution that integrates the latest Redis innovations. It delivers up to 99.999% availability while ensuring a cost-effective total cost of ownership.

Our current AddAzureRedis hosting integration uses the "Microsoft.Cache/redis" resource provider. But the new Azure Managed Redis uses 'Microsoft.Cache/redisEnterprise'

Describe the solution you'd like

We should add a new method (or an option to the existing method) to provision these new Azure Redis instances. They are faster to stand up, offer more features with reduced cost.

Additional context

cc @CawaMS

eerhardt commented 4 days ago

See https://github.com/CawaMS/Aspire_eShop_redis-WIP, which is an example .NET Aspire app that uses these new Redis offerings by doing azd infra synth and then hand editing the bicep to point to the new resource provider.