Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menjelaskan cara mengupgrade versi instance Memorystore for Valkey. Untuk mengetahui daftar versi yang tersedia, lihat Versi yang didukung.
Untuk mengetahui informasi selengkapnya tentang perilaku instance selama operasi upgrade, lihat Perilaku upgrade versi.
Mengupgrade versi instance
Konsol
Di konsol Google Cloud , buka halaman Memorystore for Valkey.
INSTANCE_ID: ID instance Memorystore for Valkey
Anda.
PROJECT_ID: project ID atau nomor project Google Cloud tempat
instance berada.
REGION_ID: region tempat instance berada.
ENGINE_VERSION: nomor versi Valkey yang ingin Anda gunakan untuk mengupgrade instance. Satu-satunya nilai yang dapat diterima adalah VALKEY_7_2 dan
VALKEY_8_0.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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```"]]