Send feedback
Upgrade the Redis version of an instance
Stay organized with collections
Save and categorize content based on your preferences.
This page describes how to upgrade the version of a Memorystore for Redis instance.
For a list of available versions, see Supported versions .
Caution : Upgrading an instance's version causes a
connection reset for a couple of minutes or less, which makes the instance
temporarily unavailable. Because of this reset, your application might fail to
write or update a small amount of data. This can result in a stale or
inconsistent cache while the instance is unavailable. You might also experience
a delay of several minutes before core metrics appear. For more information, see
About upgrading the
Redis version of an instance .
Upgrading the instance version
Important: You can upgrade the version of an instance to any newer version. For example 3.2 to 7.0.
Console
Go to the Memorystore for Redis page in the Google Cloud console
Memorystore for Redis
Click the instance ID of the instance you want to upgrade
In the Configuration section, next to Redis Version , click
UPGRADE
Click the UPGRADE button in the dialog to upgrade your instance
gcloud To upgrade the Redis version of your instance, enter the following command,
replacing variables with appropriate values:
gcloud redis instances upgrade instance-id --redis-version=version --region=region
Where:
instance-id is your instance ID
version is the version you want to upgrade to:
Acceptable values are: redis_4_0, redis_5_0, redis_6_x,
redis_7_0, and redis_7_2
region is the region in which the instance is provisioned
For example:
gcloud redis instances upgrade myinstance --redis-version=redis_7_0 --region=us-central1
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-12 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-11-12 UTC."],[],[]]