Enable zone redundancy for Azure Cache for Redis
In this article, you'll learn how to configure a zone-redundant Azure Cache instance using the Azure portal.
Azure Cache for Redis Standard, Premium, and Enterprise tiers provide built-in redundancy by hosting each cache on two dedicated virtual machines (VMs). Even though these VMs are located in separate Azure fault and update domains and highly available, they're susceptible to datacenter level failures. Azure Cache for Redis also supports zone redundancy in its Premium and Enterprise tiers. A zone-redundant cache runs on VMs spread across multiple Availability Zones. It provides higher resilience and availability.
Data transfer between Azure Availability Zones will be charged at standard bandwidth rates.
- Azure subscription - create one for free
Create a cache
To create a cache, follow these steps:
Sign in to the Azure portal and select Create a resource.
On the New page, select Databases and then select Azure Cache for Redis.
On the Basics page, configure the settings for your new cache.
Setting Suggested value Description Subscription Select your subscription. The subscription under which to create this new Azure Cache for Redis instance. Resource group Select a resource group, or select Create new and enter a new resource group name. Name for the resource group in which to create your cache and other resources. By putting all your app resources in one resource group, you can easily manage or delete them together. DNS name Enter a globally unique name. The cache name must be a string between 1 and 63 characters that contains only numbers, letters, or hyphens. The name must start and end with a number or letter, and can't contain consecutive hyphens. Your cache instance's host name will be <DNS name>.redis.cache.windows.net. Location Select a location. Select a region near other services that will use your cache. Cache type Select a Premium or Enterprise tier cache. The pricing tier determines the size, performance, and features that are available for the cache. For more information, see Azure Cache for Redis Overview.
On the Advanced page, for a Premium tier cache, choose Replica count.
Select Availability zones.
Configure your settings for clustering and/or RDB persistence.
Zone redundancy doesn't support AOF persistence or work with geo-replication currently.
It takes a while for the cache to be created. You can monitor progress on the Azure Cache for Redis Overview page. When Status shows as Running, the cache is ready to use.
Availability zones can't be changed or enabled after a cache is created.
Zone Redundancy FAQ
- Why can't I enable zone redundancy when creating a Premium cache?
- Why can't I select all three zones during cache create?
- Can I update my existing Premium cache to use zone redundancy?
- How much does it cost to replicate my data across Azure Availability Zones?
Why can't I enable zone redundancy when creating a Premium cache?
Zone redundancy is available only in Azure regions that have Availability Zones. See Azure regions with Availability Zones for the latest list.
Why can't I select all three zones during cache create?
A Premium cache has one primary and one replica node by default. To configure zone redundancy for more than two Availability Zones, you need to add more replicas to the cache you're creating.
Can I update my existing Premium cache to use zone redundancy?
No, this isn't supported currently.
How much does it cost to replicate my data across Azure Availability Zones?
When using zone redundancy configured with multiple Availability Zones, data is replicated from the primary cache node in one zone to the other node(s) in another zone(s). The data transfer charge is the network egress cost of data moving across the selected Availability Zones. For more information, see Bandwidth Pricing Details.
Learn more about Azure Cache for Redis features.
Submit and view feedback for