If you are looking to squeeze every drop of performance out of your Redis Cloud Essentials Database, then matching the AWS availability zones of your application to your Redis Cloud Essentials database may be of interest. First you should know why this process matters and if you need to bother with it at all.

Note: If you have a Multi-AZ subscription in Redis Cloud Essentials, you do not need to perform AWS Zone Mapping.

Why Do Zone Mapping?

As you probably know, AWS operates regions across the world and Availability Zones (AZ) inside each region where they host the Amazon AWS cloud infrastructure.

The Availability Zones may be named the same for different AWS accounts, but under the hood are actually resides on different infrastructure. This can cause latency overhead when your app and your database are not located on the same physical infrastructure. Since your app runs under your AWS account and your Redis Cloud Essentials databases is under Redis Labs' AWS account, you may suffer from this issue.

To overcome this issue, we came up with an automatic process that can map AZs that are designated to your AWS account and cross-reference them with our AZ. This allows us to make sure your app and database are co-located on the same physical AZ and by that reducing unnecessary latency.

How to MAP Zones

  1. Log in to your Redis Cloud Essentials account
  2. Navigate to Settings page from the menu and then the Account tab
  3. Press the Map your AWS Zones button
  4. Enter the Access Key ID and Secret Access Key for an unprivileged AWS user.
  5. Press on Map Zones button.

Allow the process a few minutes to complete as it maps the availability zones. Once complete, you see this:


When the process is complete, the next time you go to create a new subscription, the drop down for "Cloud" has the zone letter in it.


For existing subscriptions in Redis Cloud Essentials, you now see the Availability Zone they are using. To reduce the latency described above:

  1. Create a new subscription in the correct AZ
  2. Create a new database
  3. Migrate your data over to the new database.

While simple, this causes some downtime. If downtime is not an option, please contact support for further assistance.

Unprivileged user creation

Redis Cloud Essentials requires an AWS IAM user to perform the zone mapping. It is recommended to create a new and restricted account for security reasons. To do this:

  1. Create a new user in your AWS account where your application is hosted.
  2. Create access keys for that user.
  3. Give the user this IAM policy:

        "Version": "2012-10-17",
        "Statement": [
                "Sid": "RLZoneMapping",
                "Effect": "Allow",
                "Action": [
                "Resource": [

If you are unfamiliar on how to create a new user in AWS, please see their documentation on the topic.

Note: Redis Cloud Essentials does not store these credentials and once the zone mapping process is complete, please remove the created user