Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menjelaskan cara mengupgrade versi Redis dari instance Memorystore for Redis. Untuk mengetahui daftar versi yang tersedia, lihat Versi yang didukung.
Untuk mengetahui informasi selengkapnya tentang perilaku instance selama operasi upgrade, lihat Perilaku upgrade versi.
[[["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-05 UTC."],[],[],null,["# Upgrade the Redis version of an instance\n\nThis page describes how to upgrade the Redis version of a Memorystore for Redis\ninstance. For a list of available versions, see [Supported versions](/memorystore/docs/redis/supported-versions).\nFor more information about instance behavior during an upgrade operation, see [Version upgrade behavior](/memorystore/docs/redis/version-upgrade-behavior).\n\nUpgrading the instance version\n------------------------------\n\n**Important:** You can upgrade the version of an instance to any newer version. For example `3.2` to `7.0`. \n\n### Console\n\n1. Go to the Memorystore for Redis page in the Google Cloud console \n [Memorystore for Redis](https://console.cloud.google.com/memorystore/redis/instances?)\n2. Click the instance ID of the instance you want to upgrade\n3. In the **Configuration** section, next to **Redis Version** , click **UPGRADE**\n4. Click the **UPGRADE** button in the dialog to upgrade your instance\n\n### gcloud\n\nTo upgrade the Redis version of your instance, enter the following command,\nreplacing \u003cvar translate=\"no\"\u003evariables\u003c/var\u003e with appropriate values: \n\n```\ngcloud redis instances upgrade instance-id --redis-version=version --region=region\n```\n\nWhere:\n\n- \u003cvar translate=\"no\"\u003einstance-id\u003c/var\u003e is your instance ID\n- \u003cvar translate=\"no\"\u003eversion\u003c/var\u003e is the version you want to upgrade to:\n - Acceptable values are: `redis_4_0`, `redis_5_0`, `redis_6_x`, `redis_7_0`, and `redis_7_2`\n- \u003cvar translate=\"no\"\u003eregion\u003c/var\u003e is the region in which the instance is provisioned\n\nFor example: \n\n```\ngcloud redis instances upgrade myinstance --redis-version=redis_7_0 --region=us-central1\n```"]]