Skip to content

Commit 3145dd8

Browse files
authored
Merge pull request #209974 from flang-msft/fxl---update/add-content-for-redis-6
fxl---upgrade redis 4 to 6
2 parents 11864a8 + 1f7df85 commit 3145dd8

14 files changed

+112
-30
lines changed

articles/azure-cache-for-redis/TOC.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@
121121
items:
122122
- name: Choose a cache tier
123123
href: cache-overview.md#choosing-the-right-tier
124+
- name: Upgrade to a new version
125+
href: cache-how-to-upgrade.md
124126
- name: Set Redis version
125127
href: cache-how-to-version.md
126128
- name: Distribute your cache with clustering

articles/azure-cache-for-redis/cache-faq.yml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
ms.author: franlanglois
88
ms.service: cache
99
ms.topic: faq
10-
ms.date: 04/12/2022
10+
ms.date: 09/08/2022
1111

1212
title: Azure Cache for Redis FAQ
1313
summary: |
@@ -41,33 +41,22 @@ sections:
4141
4242
- question: How do I know if a cache is affected?
4343
answer: |
44-
Affected caches fit into one of three groups:
44+
Please check Azure Advisor Recommendations. If your cache is affected, you see a recommendation in your subscription.
4545
46-
- Caches using Classic Virtual Network (VNet) injection
46+
:::image type="content" source="media/cache-faq/cache-advisor-upgrade.png" alt-text="Screenshot that Advisor recommendation to migrate cache from cloud services.":::
4747
48-
Any cache injected into a Classic VNet defaults to being built on Cloud Services.
4948
50-
- Caches in an Azure Resource Manager (ARM) VNet subnet that once contained a Cloud Services-based cache.
51-
52-
Once a Cloud Services-based cache is contained in a VNet subnet, all other caches in that subnet must also rely on Cloud Services
53-
54-
- Caches using geo-replication that were once replicated with a cache built on Cloud Services.
55-
56-
This case is rare, but there are a few caches that are use Cloud Services because they were originally geo-replicated with a Cloud Services-based cache.
57-
58-
Emails will go out to customers identifying the specific subscriptions and cache names affected. If you’d like to confirm whether your cache is affected, send an email to [[email protected]](mailto:[email protected]).
59-
60-
- question: What is the solution?
49+
- question: How do I migrate Cloud Services (classic) caches to Azure Virtual Machine Scale Sets?
6150
answer: |
62-
We have migrated most caches from being built on Cloud Services (class) to being built on virtual machine scale sets. Migrating to virtual machine scale sets removes the dependency. There are two ways to initiate this process for caches in a VNet:
51+
We have migrated most caches from being built on Cloud Services (class) to being built on Azure Virtual Machine Scale Sets. Migrating to Azure Virtual Machine Scale Sets removes the dependency. There are two ways to initiate this process for caches in a VNet:
6352
6453
- Migrate to a new cache using Private Links (recommended).
6554
6655
Create a new cache that uses Private Link for network isolation rather than VNet injection and [migrate your data to this cache](cache-vnet-migration.md). This option gives you the best and most secure network isolation experience, while also ensuring that all new caches are created using updated infrastructure.
6756
6857
- Migrate to a new cache in a new Azure Resource Manager VNet subnet.
6958
70-
This option will fix the underlying dependency on Cloud Services while maintaining a similar VNet experience. We have migrated most caches from being built on Cloud Services (class) to being built on virtual machine scale sets. To migrate, delete the existing cache and create a new cache in a new Azure Resource Manager VNet subnet. For recommended options for migrating the data in the cache, see [Migrate to Azure Cache for Redis](cache-migration-guide.md).
59+
This option will fix the underlying dependency on Cloud Services while maintaining a similar VNet experience. We have migrated most caches from being built on Cloud Services (class) to being built on Azure Virtual Machine Scale Sets. To migrate, delete the existing cache and create a new cache in a new Azure Resource Manager VNet subnet. For recommended options for migrating the data in the cache, see [Migrate to Azure Cache for Redis](cache-migration-guide.md).
7160
7261
- question: My cache isn't using VNet injection, but I received notice that I need to migrate. What should I do?
7362
answer: |
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
title: How to upgrade the Redis version of Azure Cache for Redis
3+
description: Learn how to upgrade the version of Azure Cache for Redis
4+
author: flang-msft
5+
6+
ms.author: franlanglois
7+
ms.service: cache
8+
ms.topic: how-to
9+
ms.date: 09/08/2022
10+
ms.custom: template-how-to
11+
---
12+
13+
14+
# How to upgrade an existing Redis 4 cache to Redis 6
15+
16+
Azure Cache for Redis supports upgrading the version of your Azure Cache for Redis from Redis 4 to Redis 6. Upgrading is permanent, and it might cause a brief connection issue similar to regular monthly maintenance. As a precautionary step, we recommend exporting the data from your existing Redis 4 cache and testing your client application with a Redis 6 cache in a lower environment before upgrading.
17+
18+
For more information, see [here](cache-how-to-import-export-data.md) for details on how to export.
19+
20+
## Prerequisites
21+
22+
- Azure subscription - [create one for free](https://azure.microsoft.com/free/)
23+
24+
### Limitations
25+
26+
- Upgrading a Basic tier cache results in brief unavailability and data loss.
27+
- Upgrading on geo-replicated cache isn't supported. You must manually unlink the cache instances before upgrading.
28+
- Upgrading a cache with a dependency on Cloud Services isn't supported. You should migrate your cache instance to virtual machine scale set before upgrading. For more information, see [Caches with a dependency on Cloud Services (classic)](/azure/azure-cache-for-redis/cache-faq) for details on cloud services hosted caches.
29+
30+
### Check the version of a cache
31+
32+
Before you upgrade, check the Redis version of a cache by selecting **Properties** from the Resource menu of the Azure Cache for Redis. We recommend you use Redis 6.
33+
34+
:::image type="content" source="media/cache-how-to-upgrade/cache-version-portal.png" alt-text="Screenshot of properties selected in the Resource menu.":::
35+
36+
## Upgrade using the Azure portal
37+
38+
1. In the Azure portal, select the Azure Cache for Redis instance that you want to upgrade from Redis 4 to Redis 6.
39+
40+
1. On the left side of the screen, select **Advanced settings**.
41+
42+
1. If your cache instance is eligible to be upgraded, you should see the following blue banner. If you want to proceed, select the text in the banner.
43+
44+
:::image type="content" source="media/cache-how-to-upgrade/blue-banner-upgrade-cache.png" alt-text="Screenshot informing you that you can upgrade your cache to Redis 6 with additional features. Upgrading your cache instance cannot be reversed.":::
45+
46+
1. A dialog box displays a popup notifying you that upgrading is permanent and might cause a brief connection blip. Select **Yes** if you would like to upgrade your cache instance.
47+
48+
:::image type="content" source="media/cache-how-to-upgrade/dialog-version-upgrade.png" alt-text="Screenshot showing a dialog with more information about upgrading your cache with Yes selected.":::
49+
50+
1. To check on the status of the upgrade, navigate to **Overview**.
51+
52+
:::image type="content" source="media/cache-how-to-upgrade/upgrade-status.png" alt-text="Screenshot showing Overview in the Resource menu. Status shows cache is being upgraded.":::
53+
54+
## Upgrade using Azure CLI
55+
56+
To upgrade a cache from 4 to 6 using the Azure CLI, use the following command:
57+
58+
```azurecli-interactive
59+
az redis update --name cacheName --resource-group resourceGroupName --set redisVersion=6
60+
```
61+
62+
## Upgrade using PowerShell
63+
64+
To upgrade a cache from 4 to 6 using PowerShell, use the following command:
65+
66+
```powershell-interactive
67+
Set-AzRedisCache -Name "CacheName" -ResourceGroupName "ResourceGroupName" -RedisVersion "6"
68+
```
69+
70+
## Next steps
71+
72+
- To learn more about Azure Cache for Redis versions, see lin[Set Redis version for Azure Cache for Redis](cache-how-to-version.md)
73+
- To learn more about Redis 6 features, see [Diving Into Redis 6.0 by Redis](https://redis.com/blog/diving-into-redis-6/)
74+
- To learn more about Azure Cache for Redis features: [Azure Cache for Redis Premium service tiers](cache-overview.md#service-tiers)

articles/azure-cache-for-redis/cache-how-to-version.md

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
---
2-
title: Set Redis version for Azure Cache for Redis
3-
description: Learn how to configure Redis version
2+
title: Set the Redis version of Azure Cache for Redis
3+
description: Learn how to configure the version of Azure Cache for Redis
44
author: flang-msft
5+
56
ms.author: franlanglois
67
ms.service: cache
7-
ms.topic: conceptual
8-
ms.date: 06/03/2022
8+
ms.topic: how-to
9+
ms.date: 09/08/2022
910

1011
---
1112

@@ -14,14 +15,14 @@ ms.date: 06/03/2022
1415
In this article, you'll learn how to configure the Redis software version to be used with your cache instance. Azure Cache for Redis offers the latest major version of Redis and at least one previous version. It will update these versions regularly as newer Redis software is released. You can choose between the two available versions. Keep in mind that your cache will be upgraded to the next version automatically if the version it's using currently is no longer supported.
1516

1617
> [!NOTE]
17-
> At this time, Redis 6 does not support ACL, and geo-replication between a Redis 4 and 6 cache.
18+
> At this time, Redis 6 does not support Access Control Lists (ACL) or geo-replication between a Redis 4 cache and Redis 6 cache.
1819
>
1920
2021
## Prerequisites
2122

22-
* Azure subscription - [create one for free](https://azure.microsoft.com/free/)
23+
- Azure subscription - [create one for free](https://azure.microsoft.com/free/)
2324

24-
## Create a cache using the Azure portal
25+
## How to create a cache using the Azure portal
2526

2627
To create a cache, follow these steps:
2728

@@ -35,9 +36,9 @@ To create a cache, follow these steps:
3536

3637
| Setting | Suggested value | Description |
3738
| ------------ | ------- | -------------------------------------------------- |
38-
| **Subscription** | Select your subscription. | The subscription under which to create this new Azure Cache for Redis instance. |
39-
| **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. |
40-
| **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+
| **Subscription** | Select your subscription. | The subscription under which to create this new Azure Cache for Redis instance. |
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. |
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*. |
4142
| **Location** | Select a location. | Select a [region](https://azure.microsoft.com/regions/) near other services that will use your cache. |
4243
| **Cache type** | Select a [cache tier and size](https://azure.microsoft.com/pricing/details/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). |
4344

@@ -47,10 +48,12 @@ To create a cache, follow these steps:
4748

4849
1. Select **Create**.
4950

50-
It takes a while for the cache to create. You can monitor progress on the Azure Cache for Redis **Overview** page. When **Status** shows as **Running**, the cache is ready to use.
51+
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.
5152

5253
## Create a cache using Azure PowerShell
5354

55+
To create a cache using PowerShell:
56+
5457
```azurepowershell
5558
New-AzRedisCache -ResourceGroupName "ResourceGroupName" -Name "CacheName" -Location "West US 2" -Size 250MB -Sku "Standard" -RedisVersion "6"
5659
```
@@ -59,11 +62,15 @@ For more information on how to manage Azure Cache for Redis with Azure PowerShel
5962

6063
## Create a cache using Azure CLI
6164

65+
To create a cache using Azure CLI:
66+
6267
```azurecli-interactive
6368
az redis create --resource-group resourceGroupName --name cacheName --location westus2 --sku Standard --vm-size c0 --redisVersion="6"
6469
```
70+
6571
For more information on how to manage Azure Cache for Redis with Azure CLI, see [here](cli-samples.md)
6672

73+
<!--
6774
## Upgrade an existing Redis 4 cache to Redis 6
6875
6976
Azure Cache for Redis supports upgrading your Redis cache server major version from Redis 4 to Redis 6. Upgrading is permanent and it might cause a brief connection blip. As a precautionary step, we recommend exporting the data from your existing Redis 4 cache and testing your client application with a Redis 6 cache in a lower environment before upgrading. For more information, see [here](cache-how-to-import-export-data.md) for details on how to export.
@@ -111,18 +118,28 @@ To upgrade a cache from 4 to 6 using PowerShell, use the following command:
111118
```powershell-interactive
112119
Set-AzRedisCache -Name "CacheName" -ResourceGroupName "ResourceGroupName" -RedisVersion "6"
113120
```
121+
-->
122+
123+
## How to check the version of a cache
124+
125+
You can check the Redis version of a cache by selecting **Properties** from the Resource menu of the Azure Cache for Redis.
126+
127+
:::image type="content" source="media/cache-how-to-version/cache-version-portal.png" alt-text="Screenshot of properties selected in the Resource menu.":::
114128

115129
## FAQ
116130

117131
### What features aren't supported with Redis 6?
118132

119-
At this time, Redis 6 doesn't support ACL, and geo-replication between a Redis 4 and 6 cache.
133+
At this time, Redis 6 doesn't support Access Control Lists (ACL). Geo-replication between a Redis 4 cache and a Redis 6 cache is also not supported.
120134

121135
### Can I change the version of my cache after it's created?
122136

123-
You can upgrade your existing Redis 4 caches to Redis 6, see [here](#upgrade-an-existing-redis-4-cache-to-redis-6) for details. Upgrading your cache instance is permanent and you cannot downgrade your Redis 6 caches to Redis 4 caches.
137+
You can upgrade your existing Redis 4 caches to Redis 6. Upgrading your cache instance is permanent and you can't downgrade your Redis 6 caches to Redis 4 caches.
138+
139+
For more information, see [How to upgrade an existing Redis 4 cache to Redis 6](cache-how-to-upgrade.md).
124140

125141
## Next Steps
126142

143+
- To learn more about upgrading your cache, see [How to upgrade an existing Redis 4 cache to Redis 6](cache-how-to-upgrade.md)
127144
- To learn more about Redis 6 features, see [Diving Into Redis 6.0 by Redis](https://redis.com/blog/diving-into-redis-6/)
128145
- To learn more about Azure Cache for Redis features: [Azure Cache for Redis Premium service tiers](cache-overview.md#service-tiers)
102 KB
Loading
86.6 KB
Loading
73.4 KB
Loading
92.2 KB
Loading
86.3 KB
Loading

0 commit comments

Comments
 (0)