GDPR Compliance

We use cookies to ensure you get the best experience on our website. By continuing to use our site, you accept our use of cookies, privacy policy and terms of service.

Technical guide

Azure Cache for Redis retirement: moving to Azure Managed Redis before the deadline

Microsoft is retiring every tier of Azure Cache for Redis. The Enterprise tiers go first, on March 31, 2027, and Basic, Standard and Premium caches are disabled after September 30, 2028. The replacement, Azure Managed Redis, runs the same Redis commands, but it is clustered by default, listens on a different port, keeps only one database and drops virtual network injection. For most apps the move is a connection string change and a test. For some it is a networking project.

Craftware Technologies · Last updated November 26, 2026 · 8-minute read

Enterprise tiersMarch 31, 2027Enterprise and Enterprise Flash retire
Basic, Standard, PremiumSeptember 30, 2028Disabled from October 1, 2028
Move toAzure Managed RedisRedis 7.4, clustered by default

The dates

Microsoft announced the retirement of every Azure Cache for Redis tier in October 2025. The dates differ by tier:

Tier New caches Retires After that
Enterprise and Enterprise Flash Blocked for all customers since April 1, 2026 March 31, 2027 Moved off the service from April 1, 2027
Basic, Standard and Premium Blocked for new customers since April 1, 2026 September 30, 2028 Disabled from October 1, 2028

Until those dates, existing caches keep running and Microsoft keeps patching them. After them, they stop. Unlike an operating system reaching end of support, there is no extended support and no paid extension: a disabled cache is gone, and so is anything your app expected to find in it.

For the Enterprise tiers, Microsoft's retirement FAQ says remaining instances are disabled from April 1, 2027, while its retirement announcement, updated in July 2026, says they will be migrated to Azure Managed Redis from that date. Either way, Microsoft picks the timing rather than you, so plan to move before March 31, 2027.

Reservations follow the same dates. A reserved-capacity purchase for Basic, Standard or Premium is honored until September 30, 2028, and you can cancel or exchange it earlier.

What replaces it

The replacement is Azure Managed Redis, built on Redis Enterprise software instead of the open-source fork Azure Cache for Redis used. Microsoft says it gives more throughput for the same memory and is more cost-effective than the tiers it replaces, and it brings features that used to require Premium or Enterprise: zone redundancy, data persistence, geo-replication and import and export on every size, plus Redis modules such as RediSearch and RedisJSON.

Sizing works differently. Instead of Basic, Standard and Premium, you choose a memory size and a performance tier: Balanced, Memory Optimized or Compute Optimized. Microsoft's advice is to start with Balanced if you are not sure. Two things to know when you pick a size:

  • About 20% of the memory is reserved for the system. A size sold as 12 GB gives you about 9.6 GB for data, so size from the Used Memory metric on your current cache, plus that overhead, not from its label.
  • High availability is optional. A non-HA instance costs about half as much and has no SLA. Microsoft suggests it as the match for a Basic cache, which never had replication, and for dev and test.

What breaks when you switch

Azure Managed Redis runs the same Redis commands, and Microsoft says it supports all the Redis functionality of the tiers it replaces. The differences are in how you connect to it and what sits around it.

It is clustered by default Client code

A Basic or Standard cache is a single node. Azure Managed Redis splits data across shards unless you choose Nonclustered mode, which only goes up to 25 GB. StackExchange.Redis, the client most .NET apps use, handles a clustered cache without special settings. The catch is commands that touch several keys at once, such as a multi-key get, a transaction or a Lua script: under the default clustering policy, those keys must sit in the same slot. If your code does that, test it, or choose the Enterprise clustering policy.

Only database 0 Data model

Basic, Standard and Premium give you 16 numbered databases, and up to 64 on Premium. Azure Managed Redis has one. Code that calls GetDatabase(2), or a connection string with defaultDatabase=, has to move to key prefixes before the migration. This one is easy to miss, because nothing fails until the move.

A new hostname and port Configuration

The hostname changes from yourcache.redis.cache.windows.net to yourcache.<region>.redis.azure.net, and the port from 6380 to 10000. A cache also accepts either TLS or plain-text connections, not both, so an old app still using port 6379 without TLS has to be fixed or given its own cache.

No virtual network injection or IP firewall rules Networking

A Premium cache injected into a virtual network, or locked down with IP firewall rules, has no direct equivalent. Azure Managed Redis uses Azure Private Link instead, with a private endpoint and private DNS set up before the app switches. This is the change most likely to need a network engineer and a change window.

Features still missing Check yours

At the time of writing, Microsoft's comparison lists keyspace notifications as not yet available, Microsoft Entra ID RBAC as not supported, scheduled update windows as in preview, and no manual reboot (there is a Flush operation instead). If your app depends on one of these, ask Microsoft support before you plan the date.

In a .NET app

In an ASP.NET Core app, Redis usually sits behind one of a handful of features: the distributed cache (AddStackExchangeRedisCache), session state, output caching, a SignalR backplane, or Data Protection keys. All of them use StackExchange.Redis, so the connection string is the main change:

yourcache.eastus.redis.azure.net:10000,password=<access key>,ssl=True,abortConnect=False

Before you move, search the code and configuration for:

  • GetDatabase( with a number, and defaultDatabase= in connection strings
  • port 6379 or 6380, and .redis.cache.windows.net in app settings, Key Vault secrets and infrastructure templates
  • multi-key commands, transactions and Lua scripts
  • subscriptions to __keyspace@ or __keyevent@ channels, which depend on keyspace notifications

Data Protection keys deserve a special note. If an app stores them in Redis and they are not copied, every user is signed out and every protected cookie or token becomes unreadable at the switch. Either copy the data, or move the keys to Azure Blob Storage with Key Vault first, which is the more durable home for them anyway.

Two ways to move

Microsoft's migration tooling Same hostname

You create the Azure Managed Redis instance first, then start a migration from the old cache. Azure points the old hostname at the new instance, so apps reconnect with the same hostname and access key and see a blip of a few seconds. It can copy database 0 as part of the move. It has real limits: you don't control the exact moment of the cutover, every app moves at once, the old hostname is removed later, and it does not support caches that use virtual network injection or geo-replication. It also does not copy firewall rules, managed identities, persistence settings or keyspace notification settings. Data copying is not available for clustered caches or caches behind private endpoints.

A side-by-side switch Your timing

You build the new instance, point one app at a time to the new hostname, and retire the old cache when nothing connects to it. For a cache that only holds data the app can rebuild, the switch can be as simple as a configuration change and a cold cache for a few minutes. For data that has to survive, Premium caches can export an RDB file to import, and Microsoft also documents tools for copying live data. This is the route for injected networks, geo-replicated caches, and anything where you want to choose the minute of the change.

Microsoft recommends doing either during off-business hours and testing on a non-production cache first.

Find every cache you have

Azure Resource Graph lists every cache in every subscription you can see. Run it in Cloud Shell or the Resource Graph Explorer:

resources
| where type =~ 'microsoft.cache/redis' or type =~ 'microsoft.cache/redisenterprise'
| project name, resourceGroup, location, type, sku = tostring(sku.name)

Azure Managed Redis shares the redisEnterprise resource type with the retiring Enterprise tier, so read the SKU column: Enterprise_ and EnterpriseFlash_ are retiring, and Balanced_, MemoryOptimized_ and ComputeOptimized_ are already Azure Managed Redis. For each retiring cache, note:

  • Which apps connect to it, and whether anything else, such as a reporting job or a function app, does too.
  • Whether its data matters. A pure cache can start empty; session state, queues and Data Protection keys cannot.
  • How it is networked: public with firewall rules, virtual network injection, or a private endpoint.
  • Which databases it uses and whether anything relies on keyspace notifications.
  • Who owns it. Caches created by a vendor or a former developer often live in a resource group nobody checks.

A sensible order of work

01

Inventory

Every cache, its tier and SKU, the apps that use it, whether its data matters and how it is networked.

02

Enterprise caches first

They retire on March 31, 2027. Use Microsoft's tooling, which keeps the hostname and data, unless the cache is geo-replicated.

03

Fix the code

Move off numbered databases, test multi-key commands against a clustered cache, and replace keyspace notifications if you use them.

04

Sort out the network

For injected or firewalled caches, set up Private Link and private DNS for the new instance before any app is pointed at it.

05

Move dev and test, then production

Size from real memory use, switch in off-hours, and update every app to the new hostname afterward instead of relying on the old one.

06

Update the templates

Change the Bicep, ARM or Terraform that creates caches, or the next environment someone builds will try to create a tier Azure no longer offers.

The retirement is in 2028 for most caches, but an Enterprise cache has four months left. Find out which kind you have this week.

Where the hard part usually is

For a cache that holds nothing important and sits on a public endpoint, the move takes an afternoon. The time goes elsewhere: a Premium cache injected into a virtual network that has to become a private endpoint, an app that quietly uses database 3, Data Protection keys that sign everyone out if they are lost, and a cache a former vendor set up that three apps turn out to share. If the app around the cache is also on .NET 8 or an in-process Azure Functions app, it is worth planning the moves together; see the .NET 8 and 9 end of support guide and the Azure Functions in-process migration guide.

If you want a senior engineer to go through your caches with you, our Azure cloud services team plans and runs Azure migrations like this one, and the free Microsoft end-of-support dates table tracks the other Microsoft deadlines on the same calendar.

More guides

Craftware Technologies builds and modernizes custom .NET and Azure software from Sugar Land, Texas, with senior engineers in US Central time. If you run Azure Cache for Redis behind an ASP.NET Core or other .NET app and want the move to Azure Managed Redis planned and done without an outage, sales@craftwaretech.com reaches us.