High availability and replication

Describes database replication and high availability as it affects Redis Cloud.

Database replication helps ensure high availability.

When replication is enabled, your dataset is duplicated to create a replica that is synchronized with the primary dataset.

Replication allows for automatic failover and greater fault tolerance. It can prevent data loss in the event of a hardware or zone failure.

Options and plan support

Redis Cloud supports three levels of replication:

  • No replication means that you will have a single copy of your database.

  • Single-zone replication means that your database will have a primary and a replica located in the same cloud zone. If anything happens to the primary, the replica takes over and becomes the new primary.

  • Multi-zone replication means that the primary and its replicas are stored in different zones. This means that your database can remain online even if an entire zone becomes unavailable.

Your replication options depend on your subscription plan:

  • Free Redis Cloud Essentials plans do not support replication.
  • Paid Redis Cloud Essentials plans and Redis Cloud Pro plans let you choose between multi-zone or single-zone replication when creating a subscription. You can also turn off replication.

After database creation, you can still enable or turn off replication. However, zone settings are only configurable during database creation.

Performance impact

Replication can affect performance as traffic increases to synchronize all copies.

Dataset size

For both Redis Cloud Essentials and Redis Cloud Pro, replication doubles the dataset size you need for your database.

For Redis Cloud Essentials, the size of the plan you choose includes replication. Therefore, if you choose replication, the dataset size you can use is half of the stated plan size. For example, if you choose a 1GB plan, Redis allocates 512 MB for the dataset size, and the other 512 MB for replication.

For Redis Cloud Pro, you also need to double the amount of memory needed if you choose replication.

Zone setting maintenance

Zone settings can only be defined when a subscription is created. You cannot change these settings once the subscription becomes active.

This means you can't convert a multi-zone subscription to a single zone (or vice-versa).

To use different zone settings, create a new subscription with the preferred settings and then migrate data from the original subscription.

Availability zones

You can reduce network transfer costs and network latency by ensuring your Redis Cloud cluster and your application are located in the same availability zone.

To specify the availability zone for your cluster, select Manual Selection under Allowed Availability Zones.

For Google Cloud clusters and self-managed AWS cloud accounts, select an availability zone from the Zone name list.

Select one availability zone when Multi-AZ is turned off.

For all other AWS clusters, select an availability zone ID from the Zone IDs list. For more information on how to find an availability zone ID, see the AWS docs.

For hosted AWS clusters, select availability zone IDs from the Zone IDs list.

If Multi-AZ is enabled, you must select three availability zones from the list.

Select Manual selection to select three availability zones when Multi-AZ is enabled.

For more information on availability zones, see the Google Cloud docs or the AWS docs.

More info

To learn more about high availability and replication, see:

RATE THIS PAGE
Back to top ↑