rembrembdocs

Create an Active-Active database

Shows how to create an Active-Active database

Redis Cloud

Active-Active databases store data across multiple regions and availability zones. This improves scalability, performance, and availability, especially when compared to standalone databases. See Active-Active Redis for more information.

To deploy Active-Active databases in Redis Cloud, you need a Redis Cloud Pro plan that enables Active-Active Redis and defines the regions for each copy of your databases.

Active-Active databases consist of multiple copies (also called instances) deployed to different regions throughout the world.

This reduces latency for local users and improves availability should a region fail.

Redis Cloud maintains consistency among instances in the background; that is, each copy eventually includes updates from every region. As a result, memory limit and throughput increase.

Create an Active-Active database

Before creating a Redis Cloud database, you need to create an account.

To create a database in your Redis Cloud account:

  1. Sign in to the Redis Cloud console.

  2. Select the New database button.

    The New Database button creates a new database.

    This displays the Create database screen.

  3. Select the type of subscription you need. For this guide, select Pro.

    The Subscription selection panel with Pro selected.

    Note:

    This guide shows how to create an Active-Active database with a new Pro subscription. If you already have an Active-Active subscription and want to add a database to it, see Create a Pro database in an existing subscription. Active-Active subscriptions can host a maximum of 10 databases.

After you select Pro, the Database settings section will appear.

The database settings section, with custom settings selected.

For this guide, select Custom settings. For an Active-Active database, you will need to:

  1. Set up the deployment options, including cloud vendor and region details for each instance.

  2. Define the database size requirements.

  3. Review your choices, provide payment details, and then create your databases.

The following sections provide more information.

Set up deployment details

The Setup tab specifies general settings for your Redis deployment.

The Setup tab of the new Pro Database process.

There are two sections on this tab:

General settings

Select Active-Active (Multi-region) to turn on Active-Active.

The general settings of the setup tab with Active-Active selected.

When you enable Active-Active Redis, two regions are selected by default. Select the drop-down arrow to display a list of provider regions that support Active-Active databases.

Use the Region drop-down to select the regions for your Active-Active database.

Note:

Active-Active subscriptions on Redis Cloud are limited to a maximum of 10 regions.

Use the checkboxes in the list to select or remove regions. The Search box lets you locate specific regions.

You can use a region's Remove button to remove it from the list.

Select the Delete button to remove a region from the list.

Advanced options

Each region needs a unique CIDR address block to communicate securely with other instances.

In the Advanced options section, you can:

Note:

Multi-AZ replication is required for all Active-Active databases.

When finished, choose Continue to determine your size requirements.

Select the Continue button to continue to the next step.

Sizing tab

The Sizing tab helps you specify the database, memory, and throughput requirements for your subscription.

The Sizing tab when creating a new Pro subscription.

When you first visit the Sizing tab, there are no databases defined. Select the Add button to create one.

Use the Add button to define a new database for your subscription.

This opens the Database configurations dialog, which lets you define the requirements for your new database.

New database dialog for Active-Active database.

By default, you're shown basic settings, which include:

When finished, select Save configuration to save your database configuration.

Select the Save configuration button to define your new database.

Use the Add database button to define additional databases or select the Continue button to display the Review and create tab.

Hover over a database to see the Edit and Delete icons. You can use the Edit icon to change a database or the Delete icon to remove a database from the list.

Use the Edit button to change database settings.  Use the Delete button to remove a database.

Review and Create tab

The Review and Create tab provides a cost estimate for your Redis Cloud Pro plan:

The Review & Create tab of the New Active-Active subscription screen.

Redis breaks down your databases to Redis Billing Units (RBUs), each with their own size and throughput requirements. For more info, see Billing unit types.

The Payment methods section of this tab shows which payment method you're using for this database. Select the arrow on the top right of this section to view all available payment methods.

The payment method list.

If you have not added a payment method or want to add a new payment method, select Add credit card to add a new credit card.

If you have not already added a business address to your account, you must enter one. Redis uses your business address for communication, invoicing, and tax purposes.

The Add credit card screen before a business address has already been added.

If you already have a business address, you don't need to enter one here. See Account settings to learn how to update your business address.

The Add credit card screen after a business address has already been added.

If the card's billing address is the same as your account's business address, select Same as business address to fill the billing address with your business address details.

Select Back to Sizing to make changes or Confirm & Pay to create your databases.

Select Confirm & pay to create your database.

Note that databases are created in the background. While they are provisioning, you aren't allowed to make changes. This process generally takes 10-15 minutes.

Use the Database list to check the status of your databases.

More info

On this page