You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[Standard replication](#standard-replication-for-high-availability)| Dual-node replicated configuration in a single data center with automatic failover | 99.9% (see [details](https://azure.microsoft.com/support/legal/sla/cache/v1_1/)) |Yes|Yes|Yes|
23
-
|[Zone redundancy](#zone-redundancy)| Multi-node replicated configuration across Availability Zones, with automatic failover | 99.9% in Premium; 99.99% in Enterprise (see [details](https://azure.microsoft.com/support/legal/sla/cache/v1_1/)) |Yes (Preview)|Yes|Yes|
23
+
|[Zone redundancy](#zone-redundancy)| Multi-node replicated configuration across Availability Zones, with automatic failover | 99.9% in Premium; 99.99% in Enterprise (see [details](https://azure.microsoft.com/support/legal/sla/cache/v1_1/)) |Yes|Yes|Yes|
24
24
| Geo-replication | Linked cache instances in two regions, with user-controlled failover | Premium; Enterprise (see [details](https://azure.microsoft.com/support/legal/sla/cache/v1_1/)) |No|[Passive](#passive-geo-replication)|[Active](#active-geo-replication)|
25
25
|[Import/Export](#importexport)| Point-in-time snapshot of data in cache. | 99.9% (see [details](https://azure.microsoft.com/support/legal/sla/cache/v1_1/)) |No|Yes|Yes|
26
26
|[Persistence](#persistence)| Periodic data saving to storage account. | 99.9% (see [details](https://azure.microsoft.com/support/legal/sla/cache/v1_1/)) |No|Yes|Preview|
@@ -61,19 +61,16 @@ Also, Azure Cache for Redis provides more replica nodes in the Premium tier. A [
Recommended for: **High availability**, **Disaster recovery - intra region**
67
67
68
-
Azure Cache for Redis supports zone redundant configurations in the Standard (preview), Premium, and Enterprise tiers. A [zone redundant cache](cache-how-to-zone-redundancy.md) can place its nodes across different [Azure Availability Zones](../reliability/availability-zones-overview.md) in the same region. It eliminates data center or Availability Zone outage as a single point of failure and increases the overall availability of your cache.
69
-
70
-
> [!NOTE]
71
-
> On the Premium caches, only _automatic zone allocation_ is in public preview. Manual selection of availability zones us unchanged. Manual selection is GA (General Availability).
68
+
Azure Cache for Redis supports zone redundant configurations in the Standard, Premium, and Enterprise tiers. A [zone redundant cache](cache-how-to-zone-redundancy.md) can place its nodes across different [Azure Availability Zones](../reliability/availability-zones-overview.md) in the same region. It eliminates data center or Availability Zone outage as a single point of failure and increases the overall availability of your cache.
72
69
73
70
If a cache is configured to use two or more zones as described earlier in the article, the cache nodes are created in different zones. When a zone goes down, cache nodes in other zones are available to keep the cache functioning as usual.
74
71
75
72
> [!IMPORTANT]
76
-
> You can now enable _automatic zone allocation_for all caches in applicable tiers and regions. For more information, see [Enable zone redundancy for Azure Cache for Redis](cache-how-to-zone-redundancy.md).
73
+
> Azure Cache For Redis by default creates zone redundant caches for Premium, Standard Tiers using _Automatic_Zonal_Allocation_ in regions that support zones. For more information, see [Enable zone redundancy for Azure Cache for Redis](cache-how-to-zone-redundancy.md).
77
74
78
75
### Premium tier
79
76
@@ -102,19 +99,21 @@ When a data node becomes unavailable or a network split happens, a failover simi
102
99
103
100
### Regional availability
104
101
105
-
Zone-redundant Premium tier caches are available in the following regions:
102
+
Zone-redundant Premium, Standard tier caches are available in the following regions:
106
103
107
104
| Americas | Europe | Middle East | Africa | Asia Pacific |
108
105
|---|---|---|---|---|
109
106
| Brazil South | France Central | Qatar Central | South Africa North | Australia East |
110
-
| Canada Central | Germany West Central ||| Central India |
111
-
| Central US | North Europe ||| Japan East |
112
-
| East US | Norway East ||| Korea Central |
113
-
| East US 2 | UK South ||| Southeast Asia |
114
-
| South Central US | West Europe ||| East Asia |
115
-
| US Gov Virginia | Sweden Central ||| China North 3 |
116
-
| West US 2 | Switzerland North ||||
117
-
| West US 3 | Poland Central ||||
107
+
| Canada Central | Italy North | UAE North || Central India |
108
+
| Central US | Germany West Central | Israel Central || Japan East |
109
+
| East US | Norway East ||||
110
+
| East US 2 | North Europe ||| Southeast Asia |
111
+
| South Central US | UK South ||| East Asia |
112
+
| US Gov Virginia | West Europe ||| China North 3 |
113
+
| West US 2 | Sweden Central |||Korea Central |
114
+
| West US 3 | Switzerland North ||| New Zealand North |
115
+
| Mexico Central | Poland Central ||||
116
+
||Spain Central ||||
118
117
119
118
Zone-redundant Enterprise and Enterprise Flash tier caches are available in the following regions:
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/cache-how-to-geo-replication.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ description: Learn how to use cross-region replication to provide disaster recov
6
6
7
7
ms.topic: how-to
8
8
ms.custom: engagement-fy23
9
-
ms.date: 12/15/2023
9
+
ms.date: 11/15/2024
10
10
11
11
---
12
12
@@ -39,6 +39,7 @@ _Passive geo-replication_ is only available in the Premium tier of Azure Cache f
39
39
To configure geo-replication between two caches, the following prerequisites must be met:
40
40
41
41
- Both caches are [Premium tier](cache-overview.md#service-tiers) caches.
42
+
- Both caches should have only one replica per primary per shard.
42
43
- Both caches are in the same Azure subscription.
43
44
- The secondary linked cache is either the same cache size or a larger cache size than the primary linked cache. To use geo-failover, both caches must be the same size.
44
45
- Both caches are created and in a running state.
@@ -49,7 +50,6 @@ To configure geo-replication between two caches, the following prerequisites mus
49
50
50
51
Some features aren't supported with geo-replication:
51
52
52
-
- Zone Redundancy isn't supported with geo-replication.
53
53
- Persistence isn't supported with geo-replication.
54
54
- Caches with more than one replica can't be geo-replicated.
55
55
- Clustering is supported if both caches have clustering enabled and have the same number of shards.
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/cache-how-to-zone-redundancy.md
+72-27Lines changed: 72 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,17 @@ description: Learn how to set up zone redundancy for your Premium and Enterprise
5
5
6
6
7
7
ms.topic: conceptual
8
-
ms.date: 08/05/2024
8
+
ms.date: 11/15/2024
9
9
10
10
---
11
11
12
12
# Enable zone redundancy for Azure Cache for Redis
13
13
14
14
In this article, you learn how to configure a zone-redundant Azure Cache instance using the Azure portal.
15
15
16
+
> [!NOTE]
17
+
> In regions that don't support zones, the option to enable zone redundancy is disabled. For a list of regions that support zones, see [Azure Cache for Redis - zones supported regions](cache-high-availability.md#regional-availability).
18
+
16
19
Azure Cache for Redis Standard (preview), 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](/azure/virtual-machines/availability) and highly available, they're susceptible to data center-level failures. Azure Cache for Redis also supports zone redundancy in its Standard (preview), Premium, and Enterprise tiers. A zone-redundant cache runs on VMs spread across multiple [Availability Zones](../reliability/availability-zones-overview.md). It provides higher resilience and availability.
17
20
18
21
## Prerequisites
@@ -27,57 +30,96 @@ To create a cache, follow these steps:
27
30
28
31
1. On the **New** page, select **Databases** and then select **Azure Cache for Redis**.
29
32
30
-
:::image type="content" source="media/cache-create/new-cache-menu.png" alt-text="Select Azure Cache for Redis.":::
33
+
:::image type="content" source="media/cache-create/new-cache-menu.png" alt-text="Select Azure Cache for Redis.":::
31
34
32
35
1. On the **Basics** page, configure the settings for your new cache.
|**Subscription**| Select your subscription. | The subscription under which to create this new Azure Cache for Redis instance. |
37
40
|**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. |
38
-
|**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*. |
41
+
|**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_. |
39
42
|**Location**| Select a location. | Select a [region](https://azure.microsoft.com/regions/) near other services that use your cache. |
40
43
|**Cache type**| Select a [Premium or Enterprise tier](https://azure.microsoft.com/pricing/details/cache/) 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](cache-overview.md). |
41
44
42
-
1. For Standard or Premium tier cache, select **Advanced** in the Resource menu. To enable zone resiliency with automatic zone allocation, select **(Preview) Select zones automatically**.
43
-
44
-
> [!NOTE]
45
-
> On the Premium caches, only _automatic zone selection_ is in public preview. Manual selection of availability zones us unchanged. Manual selection is GA (General Availability).
45
+
1.**Standard** tier caches are always created as zone redundant using [Automatic Zonal Allocation](#automatic-zonal-allocation) in the [regions that support availability zones](cache-high-availability.md#regional-availability).
46
+
:::image type="content" source="media/cache-how-to-zone-redundancy/create-standard-cache-default-as-az.png" alt-text="Screenshot showing the Advanced tab with a red box around Availability zones for Standard cache.":::
46
47
47
-
:::image type="content" source="media/cache-how-to-zone-redundancy/cache-availability-zone.png" alt-text="Screenshot showing the Advanced tab with a red box around Availability zones.":::
48
+
1. For **Premium** tier caches, select **Advanced** in the Resource menu. In regions that support zones, Zone redundancy for this tier can be enabled using couple of ways.
49
+
1. Using [Automatic Zonal Allocation](#automatic-zonal-allocation):
50
+
-**Allocate zones automatically** is the default option selected for **Availability Zones**.
51
+
:::image type="content" source="media/cache-how-to-zone-redundancy/create-premium-cache-default-as-az.png" alt-text="Screenshot showing the Advanced tab with a red box around Availability zones for Premium cache.":::
52
+
1. Using **UserDefined Zonal Allocation**:
53
+
- For **Premium** tier caches, **Availability zones** setting can be edited by the user, using which they can select non-zonal or manually select zones for the cache.
54
+
- Selecting NoZones:
55
+
:::image type="content" source="media/cache-how-to-zone-redundancy/create-premium-cache-as-non-az.png" alt-text="Screenshot showing the Advanced tab with a red box around Availability zones and its None option for Premium cache.":::
56
+
- When choosing zones manually, the number of availability zones must always be less than or equal to the total number of nodes for the cache:
57
+
:::image type="content" source="media/cache-how-to-zone-redundancy/cache-premium-replica-count.png" alt-text="Screenshot showing Availability zones set to one and Replica count set to three.":::
48
58
49
-
For an Enterprise tier cache, select **Advanced** in the Resource menu. For **Zone redundancy**, select **Zone redundant (recommended)**.
59
+
1. For an Enterprise tier cache, select **Advanced** in the Resource menu. For **Zone redundancy**, select **Zone redundant (recommended)**.
50
60
51
61
:::image type="content" source="media/cache-how-to-zone-redundancy/cache-enterprise-create-zones.png" alt-text="Screenshot showing the Advanced tab with a red box around Zone redundancy.":::
52
62
53
-
Automatic zone allocation increases the overall availability of your cache by automatically spreading it across multiple availability zones. Using availability zones makes the cache more resilient to outages in a data center. For more information, see [Zone redundancy](cache-high-availability.md#zone-redundancy).
54
-
55
-
> [!IMPORTANT]
56
-
> Automatic Zone Allocation cannot be modified once enabled for a cache.
57
-
58
-
> [!IMPORTANT]
59
-
> Enabling Automatic Zone Allocation (preview) is currently NOT supported for Geo-replicated caches or caches with VNET injection.
60
-
61
-
1. Availability zones can be selected manually for Premium tier caches. The number of availability zones must always be less than or equal to the total number of nodes for the cache.
62
-
63
-
:::image type="content" source="media/cache-how-to-zone-redundancy/cache-premium-replica-count.png" alt-text="Screenshot showing Availability zones set to one and Replica count set to three.":::
64
-
65
63
1. Configure your settings for clustering and/or RDB persistence.
66
64
67
65
> [!NOTE]
68
66
> Zone redundancy doesn't support Append-only File (AOF) persistence with multiple replicas (more than one replica).
69
-
> Zone redundancy doesn't work with geo-replication currently.
70
-
>
71
67
72
68
1. Select **Create**.
73
69
74
70
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.
75
71
72
+
## Automatic Zonal Allocation
73
+
74
+
Azure Cache for Redis automatically allocates zones to the cache on behalf of the user based on the number of nodes per shard and region's zonal support such that the cache is spread across multiple zones for high availability.
75
+
76
+
With this type of allocation, users don't need to worry about choosing the zones manually for the cache and the capacity issues associated with the zones as Azure handles them.
77
+
78
+
The actual zones that are allocated to the cache are abstracted from the user.
79
+
80
+
The REST API spec for different types of zonal allocation can be found at: [Create - ZonalAllocationPolicy](/rest/api/redis/redis/create#zonalallocationpolicy).
81
+
82
+
If the property `ZonalAllocationPolicy` is not passed in the request, Azure assigns its value for caches based on the region's zonal supportability and capacity.
83
+
84
+
The supported values for the property `ZonalAllocationPolicy` are:
85
+
86
+
1.**Automatic**
87
+
88
+
This value can be passed to let Azure allocate zones automatically to the cache.
89
+
90
+
In the regions that support zones, it is selected as default option for caches starting with _2024-11-01_ API version if `ZonalAllocationPolicy` isn't passed in the request.
91
+
92
+
1.**UserDefined**
93
+
94
+
Users are allowed to pass this value only for Premium caches and can be passed in the request body while manually selecting the zones.
95
+
96
+
1.**NoZones**
97
+
98
+
Users are allowed to pass this value only for Premium caches. This is the only value supported in the regions that don't support zones.
99
+
100
+
- This value can't be passed by user in the request for Standard caches, since they can't explicitly choose for non zonal standard caches.
101
+
102
+
It is selected as default option for caches if `ZonalAllocationPolicy` isn't passed in the request in cases:
103
+
104
+
- Regions that don't support zones (irrespective of API version used).
105
+
- All Regions (irrespective of zonal support) if API version used is less than _2024-11-01_.
106
+
107
+
> [!IMPORTANT]
108
+
> Automatic Zonal Allocation can't be modified once enabled for a cache.
109
+
110
+
> [!IMPORTANT]
111
+
>
112
+
> - Starting with 2024-11-01 API version, Automatic Zonal Allocation is chosen as default option for Premium, Standard caches. In rare cases, when sufficient zonal capacity is unavailable to at-least allocate two zones, and user does not pass `ZonalAllocationPolicy` in the request, Azure will create a non-zonal cache which user can verify by checking the `ZonalAllocationPolicy` property in the response.
113
+
> - Hence, it is recommended not to pass `ZonalAllocationPolicy` in the request body while creating the cache as it will enable Azure to choose the best option among **Automatic**, **NoZones** for the cache based on the region's zonal supportability and capacity. Otherwise, users can pass `ZonalAllocationPolicy` if they want to explicitly use a specific zonal allocation policy.
114
+
115
+
> [!IMPORTANT]
116
+
> Users can update their existing non-zonal or cache with manually selected zones to use Automatic Zonal Allocation by updating the cache with `ZonalAllocationPolicy` set to **Automatic**. For more information regarding the update process, see [Migrate an Azure Cache for Redis instance to availability zone support](#can-i-update-my-existing-standard-or-premium-cache-to-use-zone-redundancy).
117
+
76
118
## Zone Redundancy FAQ
77
119
78
120
-[Why can't I enable zone redundancy when creating a Premium cache?](#why-cant-i-enable-zone-redundancy-when-creating-a-premium-cache)
79
121
-[Why can't I select all three zones during cache create?](#why-cant-i-select-all-three-zones-during-cache-create)
80
-
- Can I update my existing Standard or Premium cache to use zone redundancy?]
122
+
-[Can I update my existing Standard or Premium cache to use zone redundancy?](#can-i-update-my-existing-standard-or-premium-cache-to-use-zone-redundancy)
81
123
-[How much does it cost to replicate my data across Azure Availability Zones?](#how-much-does-it-cost-to-replicate-my-data-across-azure-availability-zones)
82
124
83
125
### Why can't I enable zone redundancy when creating a Premium cache?
@@ -90,13 +132,16 @@ A Premium cache has one primary and one replica node by default. To configure zo
90
132
91
133
### Can I update my existing Standard or Premium cache to use zone redundancy?
92
134
93
-
Yes, updating an existing Standard or Premium cache to use zone redundancy is supported. You can enable it by selecting **Allocate Zones automatically** from the **Advanced settings** on the Resource menu. You can't disable zone redundancy once you enable it.
135
+
- Yes, updating an existing Standard or Premium cache to use zone redundancy is supported in-place (Preview). Users can enable it by navigating to the **Advanced settings** on the Resource menu and selecting **Allocate Zones automatically** check-box followed by the save button. You can't disable zone redundancy once you enable it.
136
+
- For more details, look into [Migrate an Azure Cache for Redis instance to availability zone support](/azure/reliability/migrate-cache-redis)
137
+
- This can also be done by passing `ZonalAllocationPolicy` as `Automatic`in the request body while updating the cache. For more information regarding the update process using REST API, see [Update - ZonalAllocationPolicy](/rest/api/redis/redis/update#zonalallocationpolicy).
138
+
- Updating `ZonalAllocationPolicy` to any other value than `Automatic`isn't supported.
94
139
95
140
> [!IMPORTANT]
96
-
> Automatic Zone Allocation cannot be modified once enabled for a cache.
141
+
> Automatic Zonal Allocation can't be modified once enabled for a cache.
97
142
98
143
> [!IMPORTANT]
99
-
> Enabling Automatic Zone Allocation is currently NOT supported for Geo Replicated caches or caches with VNet injection.
144
+
> Enabling Automatic Zonal Allocation for an existing cache (which is created with a different zonal allocation) is currently NOT supported for Geo Replicated caches or caches with VNet injection.
100
145
101
146
### How much does it cost to replicate my data across Azure Availability Zones?
0 commit comments