Scaling Redis Instances

This page describes how to scale Cloud Memorystore for Redis instances.

Scaling an instance

This section describes how to scale an existing Redis instance using either the Cloud SDK or the Google Cloud Platform Console. Scale instances during a period of low activity to minimize the performance impact on your application.

When reducing a Standard Tier instance’s capacity, you must choose a size greater than the amount of data being stored or scaling fails. For example, if your instance is using 5.5 GB of storage, you can resize the instance to a minimum of 6 GB. The amount of storage your instance uses is visible on its details page in the GCP Console.

After scaling Standard Tier instances, there may be stale or inconsistent data in the cache. Your application should be resilient enough to handle these inconsistencies.

For more information about an instance's behavior during scaling, see Behavior During Scaling.

Console

  1. Go to the Cloud Memorystore page in the Google Cloud Platform Console.
    Cloud Memorystore
  2. Click the Instance ID of the instance you want to resize.
  3. Click Edit.
  4. In the Instance capacity section, drag the slider or enter a new size in the field to update the instance's capacity.
  5. Click Save.

Gcloud

Enter the following command:

gcloud beta redis instances update INSTANCE_ID --region=REGION_ID --size=SIZE

For example:

gcloud beta redis instances update myinstance --region=us-central1 --size 100

Was this page helpful? Let us know how we did:

Send feedback about...

Google Cloud Memorystore for Redis