Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Auf dieser Seite wird beschrieben, wie Sie die Version einer Memorystore for Valkey-Instanz aktualisieren. Eine Liste der verfügbaren Versionen finden Sie unter Unterstützte Versionen.
Weitere Informationen zum Verhalten einer Instanz während eines Upgradevorgangs finden Sie unter Verhalten beim Versionsupgrade.
Upgrade der Instanzversion durchführen
Console
Rufen Sie in der Google Cloud -Console die Seite „Memorystore for Valkey“ auf.
INSTANCE_ID: die ID Ihrer Memorystore for Valkey-Instanz.
PROJECT_ID: die Projekt-ID oder -nummer des Google Cloud Projekts, in dem sich die Instanz befindet.
REGION_ID: die Region, in der sich die Instanz befindet.
ENGINE_VERSION: Die Versionsnummer von Valkey, auf die Sie Ihre Instanz aktualisieren möchten. Die einzigen zulässigen Werte sind VALKEY_7_2 und VALKEY_8_0.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-19 (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```"]]