Stay organized with collections
Save and categorize content based on your preferences.
This page describes how to upgrade the version of a Memorystore for Valkey
instance. For a list of available versions, see Supported versions.
For more information about the behavior of an instance during an upgrade
operation, see Version upgrade behavior.
Upgrade the instance version
Console
In the Google Cloud console, go to the Memorystore for Valkey page.
[[["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 2025-09-04 UTC."],[],[],null,["# Upgrade the Valkey version of an instance\n\nThis page describes how to upgrade the version of a Memorystore for Valkey\ninstance. For a list of available versions, see [Supported versions](/memorystore/docs/valkey/supported-versions).\nFor more information about the behavior of an instance during an upgrade\noperation, see [Version upgrade behavior](/memorystore/docs/valkey/about-upgrading-version#version-upgrade-behavior).\n\nUpgrade the instance version\n----------------------------\n\n**Important:** You can upgrade the version of an instance to any newer version. For example, you can upgrade from `7.2` to `8.0`. \n\n### Console\n\n1. In the Google Cloud console, go to the Memorystore for Valkey page.\n\n [Memorystore for Valkey](https://console.cloud.google.com/memorystore/valkey/instances?)\n2. Click the ID of the instance that you want to upgrade.\n\n3. In the **Configurations** section, next to **Valkey Version** , click\n **Upgrade**.\n\n4. In the **Upgrade instance version** dialog, do the following:\n\n 1. Click the **Version** menu.\n 2. Select the version to which you want to upgrade your instance.\n 3. Click **Update instance**.\n\n### gcloud\n\nTo upgrade the version of your instance, use the [`gcloud memorystore instances update`](/sdk/gcloud/reference/memorystore/instances/update) command. \n\n```\ngcloud memorystore instances update INSTANCE_ID \\\n--project=PROJECT_ID \\\n--location=REGION_ID \\\n--engine-version=ENGINE_VERSION\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eINSTANCE_ID\u003c/var\u003e: the ID of your Memorystore for Valkey instance.\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the project ID or number of the Google Cloud project where the instance is located.\n- \u003cvar translate=\"no\"\u003eREGION_ID\u003c/var\u003e: the region where the instance is located.\n- \u003cvar translate=\"no\"\u003eENGINE_VERSION\u003c/var\u003e: the version number of Valkey to which you want to upgrade your instance. The only acceptable values are `VALKEY_7_2` and `VALKEY_8_0`.\n\nFor example: \n\n```\ngcloud memorystore instances update my-instance \\\n--project=my-project \\\n--location=us-central1 \\\n--engine-version=VALKEY_8_0\n```"]]