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
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/cache-faq.yml
+6-17Lines changed: 6 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ metadata:
7
7
ms.author: franlanglois
8
8
ms.service: cache
9
9
ms.topic: faq
10
-
ms.date: 04/12/2022
10
+
ms.date: 09/08/2022
11
11
12
12
title: Azure Cache for Redis FAQ
13
13
summary: |
@@ -41,33 +41,22 @@ sections:
41
41
42
42
- question: How do I know if a cache is affected?
43
43
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.
45
45
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.":::
47
47
48
-
Any cache injected into a Classic VNet defaults to being built on Cloud Services.
49
48
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?
61
50
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:
63
52
64
53
- Migrate to a new cache using Private Links (recommended).
65
54
66
55
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.
67
56
68
57
- Migrate to a new cache in a new Azure Resource Manager VNet subnet.
69
58
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).
71
60
72
61
- question: My cache isn't using VNet injection, but I received notice that I need to migrate. What should I do?
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:
Copy file name to clipboardExpand all lines: articles/azure-cache-for-redis/cache-how-to-version.md
+30-13Lines changed: 30 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,12 @@
1
1
---
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
4
4
author: flang-msft
5
+
5
6
ms.author: franlanglois
6
7
ms.service: cache
7
-
ms.topic: conceptual
8
-
ms.date: 06/03/2022
8
+
ms.topic: how-to
9
+
ms.date: 09/08/2022
9
10
10
11
---
11
12
@@ -14,14 +15,14 @@ ms.date: 06/03/2022
14
15
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.
15
16
16
17
> [!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.
18
19
>
19
20
20
21
## Prerequisites
21
22
22
-
* Azure subscription - [create one for free](https://azure.microsoft.com/free/)
23
+
- Azure subscription - [create one for free](https://azure.microsoft.com/free/)
23
24
24
-
## Create a cache using the Azure portal
25
+
## How to create a cache using the Azure portal
25
26
26
27
To create a cache, follow these steps:
27
28
@@ -35,9 +36,9 @@ To create a cache, follow these steps:
|**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*. |
41
42
|**Location**| Select a location. | Select a [region](https://azure.microsoft.com/regions/) near other services that will use your cache. |
42
43
|**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). |
43
44
@@ -47,10 +48,12 @@ To create a cache, follow these steps:
47
48
48
49
1. Select **Create**.
49
50
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.
@@ -59,11 +62,15 @@ For more information on how to manage Azure Cache for Redis with Azure PowerShel
59
62
60
63
## Create a cache using Azure CLI
61
64
65
+
To create a cache using Azure CLI:
66
+
62
67
```azurecli-interactive
63
68
az redis create --resource-group resourceGroupName --name cacheName --location westus2 --sku Standard --vm-size c0 --redisVersion="6"
64
69
```
70
+
65
71
For more information on how to manage Azure Cache for Redis with Azure CLI, see [here](cli-samples.md)
66
72
73
+
<!--
67
74
## Upgrade an existing Redis 4 cache to Redis 6
68
75
69
76
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:
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.":::
114
128
115
129
## FAQ
116
130
117
131
### What features aren't supported with Redis 6?
118
132
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.
120
134
121
135
### Can I change the version of my cache after it's created?
122
136
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).
124
140
125
141
## Next Steps
126
142
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)
127
144
- To learn more about Redis 6 features, see [Diving Into Redis 6.0 by Redis](https://redis.com/blog/diving-into-redis-6/)
128
145
- To learn more about Azure Cache for Redis features: [Azure Cache for Redis Premium service tiers](cache-overview.md#service-tiers)
0 commit comments