Skip to content

Commit f0c8a30

Browse files
authored
DOC-1128: RC - Doc Active-Active workflow changes (#1763)
* Initial draft * Tpyo fix * Another tpyo
1 parent 3b20fdf commit f0c8a30

9 files changed

+90
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
---
2+
Title: Create an Active-Active subscription
3+
linkTitle: Create Active-Active subscription
4+
description: Shows what changes when you create an Active-Active subscription (Flexible or Annual)
5+
weight: 31
6+
alwaysopen: false
7+
categories: ["RC"]
8+
aliases: /rc/subscriptions/create-active-active-subscription/
9+
---
10+
11+
To deploy Active-Active databases in Redis Enterprise Cloud, you need to create a Flexible or Annual subscription with Active-Active enabled.
12+
13+
Overall, the process is similar to [creating a traditional subscription]({{<relref "/rc/subscriptions/create-flexible-subscription">}}). However, there are some differences; you need to:
14+
15+
- [Define the regions](#define-regions) for each database instance
16+
- Define unique [CIDR addresses](#define-cidr-addresses) for each instance
17+
- [Define throughput](#define-throughput) (read and write operations) for each region
18+
19+
Active-Active databases consist of multiple copies (also called _instances_) deployed to different regions throughout the world.
20+
21+
This reduces latency for local users and improves availability should a region fail.
22+
23+
Consistency between each instance is maintained in the background; that is, each copy eventually includes updates from every region. As a result, [memory size]({{<relref "/rc/databases/create-database#memory-size">}}) and throughput increase.
24+
25+
26+
## Define regions
27+
28+
When you create a new Flexible subscription, the Active-Active Redis option appears to the right of the cloud providers.
29+
30+
{{<image filename="images/rc/create-flexible-sub-active-active-on.png" width="75%" alt="When you enable Active-Actve, you need to specify the regions for each database instance." >}}{{< /image >}}
31+
32+
33+
When you enable Active-Active Redis, the region control changes to a default showing two regions. Select the drop-down arrow to display a list of provider regions that support Active-Active databases.
34+
35+
{{<image filename="images/rc/create-sub-active-active-regions.png" width="50%" alt="Use the Region drop-down to select the regions for your Active-Active database." >}}{{< /image >}}
36+
37+
Use the checkboxes in the list to select or remove regions. The Search box lets you locate specific regions.
38+
39+
You can use a region's Remove button to remove it from the list.
40+
41+
{{<image filename="images/rc/icon-region-delete.png" width="30px" alt="Select the Delete button to remove a region from the list." >}}{{< /image >}}
42+
43+
44+
## Define CIDR addresses
45+
46+
Active-Active database instances require unique CIDR address blocks to communicate securely.
47+
48+
Use the **VCP configuration** section of the **Advanced options** to define unique address blocks for each region.
49+
50+
{{<image filename="images/rc/create-sub-active-active-cidr.png" width="75%" alt="Each region needs a unique CIDR address block to communicate securely with other instances." >}}{{< /image >}}
51+
52+
When all **Deployment CIDR** regions display a green checkmark, you're ready to continue.
53+
54+
{{<image filename="images/rc/icon-cidr-address-ok.png" width="30px" alt="Greem chackmarks indicate valid CIDR address values." >}}{{< /image >}}
55+
56+
Red exclamation marks indicate error conditions; the tool tip provides additional details.
57+
58+
{{<image filename="images/rc/icon-cidr-address-error.png" width="30px" alt="Red exclamation points indicate CIDR address problems." >}}{{< /image >}}
59+
60+
61+
## Define throughput
62+
63+
Each Active-Active instance coordinates changes with every other instance, which increases memory use and throughput.
64+
65+
When create an Active-Active database, you define the throughput for each instance.
66+
67+
{{<image filename="images/rc/create-database-active-active.png" width="75%" alt="When you create an Active-Active database, you define throughput for each region." >}}{{< /image >}}
68+
69+
Read and write operations are factored into the total throughput. Because each instance needs the ability to write to every other instance, write operations significantly affect the total, as shown in the following table:
70+
71+
| Number of regions | Read operations | Write operations | Total operations |
72+
|:-----------------:|:---------------:|:----------------:|:----------------:|
73+
| Two | 1,000 each | 1,000 each | 6,000<br/>(2,000 reads; 4,000 writes) |
74+
| Two | 1,500 each | 1,000 each | 7,000<br/>(3,000 reads; 4,000 writes) |
75+
| Two | 1,000 each | 1,500 each | 8,000<br/>(2,000 reads; 6,000 writes) |
76+
| Three | 1,000 each | 1,000 each | 12,000<br/>(3,000 reads; 9,000 writes) |
77+
78+
The total operations per second:
79+
80+
- Combines the total read ops/sec for each region
81+
- Applies the write ops/sec for each region across every region.
82+
83+
Throughput requirements grow dramatically as regions increase. As a result, consider your requirements carefully.
84+
85+
## More info
86+
87+
- [Create a Flexible subscription]({{<relref "/rc/subscriptions/create-flexible-subscription">}})
88+
- Database [memory size]({{<relref "/rc/databases/create-database#memory-size">}})
89+
- Redis Enterprise Cloud [subscription plans]({{<relref "/rc/subscriptions/">}})
90+
- [Redis Enterprise Cloud pricing](https://redis.com/redis-enterprise-cloud/pricing/)
Loading
Loading
Loading
Loading
Loading
1.02 KB
Loading
1.08 KB
Loading
1.3 KB
Loading

0 commit comments

Comments
 (0)