Skip to content

Commit ccee834

Browse files
Merge pull request #289957 from flang-msft/Umang---fxl-Redis-OSS-tiers-Zone-Resiliency-default
Umang---fxl-Redis-OSS-tiers-Zone-Resiliency-default
2 parents 01d9452 + 36d71be commit ccee834

10 files changed

+133
-68
lines changed

articles/azure-cache-for-redis/cache-high-availability.md

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Various high availability options are available in the Standard, Premium, and En
2020
| Option | Description | Availability | Standard | Premium | Enterprise |
2121
| ------------------- | ------- | ------- | :------: | :---: | :---: |
2222
| [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|
2424
| 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) |
2525
| [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|
2626
| [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 [
6161

6262
## Zone redundancy
6363

64-
Applicable tiers: **Standard (preview)**, **Premium**, **Enterprise**, **Enterprise Flash**
64+
Applicable tiers: **Standard**, **Premium**, **Enterprise**, **Enterprise Flash**
6565

6666
Recommended for: **High availability**, **Disaster recovery - intra region**
6767

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.
7269

7370
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.
7471

7572
> [!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).
7774
7875
### Premium tier
7976

@@ -102,19 +99,21 @@ When a data node becomes unavailable or a network split happens, a failover simi
10299

103100
### Regional availability
104101

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:
106103

107104
| Americas | Europe | Middle East | Africa | Asia Pacific |
108105
|---|---|---|---|---|
109106
| 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 ||||
118117

119118
Zone-redundant Enterprise and Enterprise Flash tier caches are available in the following regions:
120119

articles/azure-cache-for-redis/cache-how-to-geo-replication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: Learn how to use cross-region replication to provide disaster recov
66

77
ms.topic: how-to
88
ms.custom: engagement-fy23
9-
ms.date: 12/15/2023
9+
ms.date: 11/15/2024
1010

1111
---
1212

@@ -39,6 +39,7 @@ _Passive geo-replication_ is only available in the Premium tier of Azure Cache f
3939
To configure geo-replication between two caches, the following prerequisites must be met:
4040

4141
- Both caches are [Premium tier](cache-overview.md#service-tiers) caches.
42+
- Both caches should have only one replica per primary per shard.
4243
- Both caches are in the same Azure subscription.
4344
- 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.
4445
- Both caches are created and in a running state.
@@ -49,7 +50,6 @@ To configure geo-replication between two caches, the following prerequisites mus
4950
5051
Some features aren't supported with geo-replication:
5152

52-
- Zone Redundancy isn't supported with geo-replication.
5353
- Persistence isn't supported with geo-replication.
5454
- Caches with more than one replica can't be geo-replicated.
5555
- Clustering is supported if both caches have clustering enabled and have the same number of shards.

articles/azure-cache-for-redis/cache-how-to-zone-redundancy.md

Lines changed: 72 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@ description: Learn how to set up zone redundancy for your Premium and Enterprise
55

66

77
ms.topic: conceptual
8-
ms.date: 08/05/2024
8+
ms.date: 11/15/2024
99

1010
---
1111

1212
# Enable zone redundancy for Azure Cache for Redis
1313

1414
In this article, you learn how to configure a zone-redundant Azure Cache instance using the Azure portal.
1515

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+
1619
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.
1720

1821
## Prerequisites
@@ -27,57 +30,96 @@ To create a cache, follow these steps:
2730

2831
1. On the **New** page, select **Databases** and then select **Azure Cache for Redis**.
2932

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.":::
3134

3235
1. On the **Basics** page, configure the settings for your new cache.
3336

3437
| Setting | Suggested value | Description |
3538
| ------------ | ------- | -------------------------------------------------- |
3639
| **Subscription** | Select your subscription. | The subscription under which to create this new Azure Cache for Redis instance. |
3740
| **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_. |
3942
| **Location** | Select a location. | Select a [region](https://azure.microsoft.com/regions/) near other services that use your cache. |
4043
| **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). |
4144

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.":::
4647

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.":::
4858

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)**.
5060

5161
:::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.":::
5262

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-
6563
1. Configure your settings for clustering and/or RDB persistence.
6664

6765
> [!NOTE]
6866
> 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-
>
7167
7268
1. Select **Create**.
7369

7470
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.
7571

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+
76118
## Zone Redundancy FAQ
77119

78120
- [Why can't I enable zone redundancy when creating a Premium cache?](#why-cant-i-enable-zone-redundancy-when-creating-a-premium-cache)
79121
- [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)
81123
- [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)
82124

83125
### 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
90132

91133
### Can I update my existing Standard or Premium cache to use zone redundancy?
92134

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.
94139

95140
> [!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.
97142
98143
> [!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.
100145
101146
### How much does it cost to replicate my data across Azure Availability Zones?
102147

0 commit comments

Comments
 (0)