Skip to content

Commit 1ecb717

Browse files
committed
replicas
1 parent b34633f commit 1ecb717

File tree

2 files changed

+21
-41
lines changed

2 files changed

+21
-41
lines changed
Lines changed: 21 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,48 @@
11
---
2-
title: Add replicas to Azure Cache for Redis
3-
description: Learn how to add more replicas to your Premium tier Azure Cache for Redis instances
2+
title: Add replicas to a Premium cache
3+
description: Learn how to create a Premium tier Azure Cache for Redis instances with added replicas.
44

55

66

7-
ms.topic: conceptual
8-
ms.date: 08/11/2020
7+
ms.topic: how-to
8+
ms.date: 05/12/2025
99
appliesto:
1010
- ✅ Azure Cache for Redis
1111
---
1212

1313
# Add replicas to Azure Cache for Redis
1414

15-
In this article, you'll learn how to set up an Azure Cache for Redis instance with additional replicas using the Azure portal.
15+
Azure Cache for Redis Standard and Premium tiers offer redundancy by hosting each cache on two dedicated virtual machines (VMs) configured as primary and replica. If the primary VM becomes unavailable, the replica automatically takes over as the new primary.
1616

17-
Azure Cache for Redis Standard and Premium tiers offer redundancy by hosting each cache on two dedicated virtual machines (VMs). These VMs are configured as primary and replica. When the primary VM becomes unavailable, the replica detects that and takes over as the new primary automatically. You can now increase the number of replicas in a Premium cache up to three, giving you a total of four VMs backing a cache. Having multiple replicas results in higher resilience than what a single replica can provide.
17+
For a Premium cache, you can increase the number of replicas up to three, giving a total of four VMs backing a cache. Having multiple replicas provides higher resilience than a single replica. This article describes how to create an Azure Cache for Redis Premium cache with added replicas by using the Azure portal. You can't change the number of replicas after you create the cache.
1818

1919
## Prerequisites
2020

21-
* Azure subscription[create one for free](https://azure.microsoft.com/free/)
21+
You need an Azure subscription. If you don't have one, [create a free account](https://azure.microsoft.com/free/).
2222

23-
## Create a cache
23+
## Create a Premium cache with added replicas
2424

25-
To create a cache, follow these steps:
25+
1. Create a cache by following the instructions at [Quickstart: Create an Azure Redis cache](quickstart-create-redis.md).
2626

27-
1. Sign in to the [Azure portal](https://portal.azure.com) and select **Create a resource**.
28-
29-
1. On the **New** page, select **Databases** and then select **Azure Cache for Redis**.
27+
On the **Basics** page, select [Premium](https://azure.microsoft.com/pricing/details/cache/) for **Cache SKU** and select a **Size** from **P0** to **P6**.
3028

31-
:::image type="content" source="media/cache-create/new-cache-menu.png" alt-text="Select Azure Cache for Redis.":::
32-
33-
1. On the **Basics** page, configure the settings for your new cache.
34-
35-
| Setting | Suggested value | Description |
36-
| ------------ | ------- | -------------------------------------------------- |
37-
| **Subscription** | Select your subscription. | The subscription under which to create this new Azure Cache for Redis instance. |
38-
| **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. |
39-
| **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*. |
40-
| **Location** | Select a location. | Select a [region](https://azure.microsoft.com/regions/) near other services that will use your cache. |
41-
| **Cache type** | Select a [Premium 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). |
42-
43-
1. On the **Advanced** page, choose **Replica count**.
29+
1. On the **Advanced** tab, increase the number of replicas for **Replica count** to **2** or **3** replicas.
4430

4531
:::image type="content" source="media/cache-how-to-multi-replicas/create-multi-replicas.png" alt-text="Replica count.":::
4632

47-
1. Configure your settings for clustering or relational database persistence.
48-
49-
> [!NOTE]
50-
> Currently, you can't use Append-only File (AOF) persistence or geo-replication with multiple replicas (more than one replica).
51-
>
52-
53-
1. Leave other options in their default settings.
33+
1. Configure clustering, data persistence, and other settings as desired.
5434

55-
1. Select **Create**.
35+
> [!IMPORTANT]
36+
> You can't use Append-only File (AOF) data persistence or geo-replication if you create more than one replica.
5637
57-
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.
38+
1. Select **Review + Create**, and when validation passes, select **Create**.
5839

59-
> [!NOTE]
60-
> The number of replicas in a cache can't be changed after it's created.
61-
>
40+
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.
6241

63-
## Next Steps
42+
> [!NOTE]
43+
> You can't change the number of replicas in a cache after the cache is created.
6444
65-
Learn more about Azure Cache for Redis features.
45+
## Related content
6646

67-
> [!div class="nextstepaction"]
68-
> [Azure Cache for Redis Premium service tiers](cache-overview.md#service-tiers)
47+
- [Azure Cache for Redis Premium service tiers](cache-overview.md#service-tiers)
48+
- [Azure Cache for Redis pricing](https://azure.microsoft.com/pricing/details/cache/)
54.5 KB
Loading

0 commit comments

Comments
 (0)