Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menjelaskan pemeliharaan mandiri, yang memungkinkan Anda menerima
update pemeliharaan pada instance di luar alur normal pemeliharaan
terjadwal. Untuk melihat kerentanan yang ditangani oleh setiap update pemeliharaan mandiri, lihat Log perubahan pemeliharaan.
Ringkasan
Memorystore for Redis secara rutin merilis peningkatan software seperti
patch untuk kerentanan yang diketahui, melalui versi pemeliharaan baru.
Meskipun Memorystore for Redis menjadwalkan update pemeliharaan setiap beberapa
bulan sekali untuk memastikan bahwa Anda memiliki versi pemeliharaan terbaru, sebaiknya gunakan
pemeliharaan mandiri jika:
Anda memerlukan update lebih cepat daripada peristiwa pemeliharaan terjadwal berikutnya.
Anda ingin terus mendapatkan patch CVE yang diperlukan untuk Kepatuhan FedRAMP.
Anda tidak perlu mengupdate ke versi terbaru secara manual. Anda dapat
mengizinkan Memorystore for Redis mengupdate versi pemeliharaan secara otomatis selama
peristiwa pemeliharaan terjadwal berikutnya.
Dampak pemeliharaan mandiri
Update pemeliharaan mandiri memiliki dampak yang sama pada aplikasi Anda seperti update pemeliharaan standar. Untuk mengetahui informasi selengkapnya, lihat Dampak pemeliharaan.
Melihat versi pemeliharaan saat ini
Periksa versi pemeliharaan saat ini menggunakan perintah describe:
gcloud redis instances describe INSTANCE_ID
Ganti kode berikut:
INSTANCE_ID adalah ID instance Anda
Versi pemeliharaan ditunjukkan di samping atribut
maintenanceVersion.
Melihat versi pemeliharaan yang tersedia yang dapat Anda update
Konsol
Buka halaman Memorystore for Redis di Google Cloud konsol.
Jika update pemeliharaan tersedia, teks Update tersedia akan terlihat di bagian Pemeliharaan pada tab Ringkasan.
Klik Lihat dan Terapkan.
Dropdown Choose Maintenance Version mencantumkan semua versi pemeliharaan
yang dapat Anda update.
gcloud
Untuk melihat versi pemeliharaan yang tersedia, gunakan perintah describe:
gcloud redis instances describe INSTANCE_ID
Ganti kode berikut:
INSTANCE_ID adalah ID instance Anda
Daftar versi pemeliharaan yang tersedia ditunjukkan di samping
atribut availableMaintenanceVersions. Jika tidak ada versi yang tercantum menggunakan atribut ini, berarti instance Anda memiliki versi terbaru.
Mengupdate instance ke versi pemeliharaan baru
Konsol
Buka halaman Memorystore for Redis di Google Cloud konsol.
Kembalikan instance Anda ke update pemeliharaan default saat ini
Jika karena alasan apa pun Anda ingin mengembalikan dari versi update pemeliharaan terbaru
ke versi default saat ini, Anda dapat melakukannya menggunakan Google Cloud CLI. Misalnya, jika Anda mengupdate instance ke update pemeliharaan mandiri
terbaru, dan melakukan hal ini menyebabkan masalah/regresi pada instance, Anda
dapat kembali ke versi pemeliharaan default saat ini dengan perintah update.
Jalankan perintah update dan gunakan nilai current_default untuk mengembalikan versi
pemeliharaan:
[[["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-08-19 UTC."],[],[],null,["# Self-service maintenance\n\nThis page describes self-service maintenance, which lets you accept a\nmaintenance update on your instance outside of the normal flow of scheduled\nmaintenance. To see what vulnerabilities are addressed by each self-service\nmaintenance update, see [Maintenance changelog](/memorystore/docs/redis/maintenance-changelog).\n\nOverview\n--------\n\nMemorystore for Redis regularly releases software improvements, such as\npatches for known vulnerabilities, through new maintenance versions.\nWhile Memorystore for Redis schedules maintenance updates once every few\nmonths to ensure you have the latest maintenance version, you might want to use\nself-service maintenance if:\n\n- You need an update sooner than your next scheduled maintenance event.\n- You want to stay up-to-date with CVE patches necessary for FedRAMP Compliance.\n\nYou're not required to manually update to the latest version. You can\nlet Memorystore for Redis automatically update your maintenance version during\nyour next scheduled maintenance event.\n| **Note:** You can only update your instance maintenance version to a newer version.\n\n### Impact of self-service maintenance\n\nSelf-service maintenance updates have the same impact on your application as\nstandard maintenance update. For more information, see [Impact of maintenance](/memorystore/docs/redis/about-maintenance#impact_of_maintenance).\n\nView your current maintenance version\n-------------------------------------\n\nCheck your current maintenance version using the `describe` command: \n\n```\ngcloud redis instances describe INSTANCE_ID\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eINSTANCE_ID\u003c/var\u003e is the ID of your instance\n\nThe maintenance version is indicated beside the `maintenanceVersion`\nattribute.\n\nView available maintenance versions you can update to\n-----------------------------------------------------\n\n### Console\n\n1. Go to the **Memorystore for Redis** page in the Google Cloud console.\n\n [Memorystore for Redis](https://console.cloud.google.com/memorystore/redis/instances?)\n2. Click your instance ID.\n\n3. If a maintenance update is available, *Update available* text is visible\n in the **Maintenance** section of the **Overview** tab.\n\n4. Click **View and Apply**.\n\n5. The **Choose Maintenance Version** dropdown lists all maintenance versions\n you can update to.\n\n### gcloud\n\nTo view available maintenance versions, use the `describe` command: \n\n```\ngcloud redis instances describe INSTANCE_ID\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eINSTANCE_ID\u003c/var\u003e is the ID of your instance\n\nThe list of available maintenance versions is indicated beside the\n`availableMaintenanceVersions` attribute. If no versions are listed using this\nattribute, then your instance has the latest version.\n\nUpdate your instance to a new maintenance version\n-------------------------------------------------\n\n### Console\n\n1. Go to the **Memorystore for Redis** page in the Google Cloud console.\n\n [Memorystore for Redis](https://console.cloud.google.com/memorystore/redis/instances?)\n2. Click your instance ID.\n\n3. If a maintenance update is available, *Update available* text appears\n in the **Maintenance** section of the **Overview** tab.\n\n4. Click **View and Apply**.\n\n5. Select your desired maintenance version from the **Choose Maintenance\n Version** dropdown.\n\n6. Click the **Apply** button.\n\n### gcloud\n\nUse the following method to update your instance to the target maintenance\nversion. \n\n```\ngcloud redis instances update INSTANCE_ID --maintenance-version=MAINTENANCE_VERSION\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eINSTANCE_ID\u003c/var\u003e is the ID of your instance\n- \u003cvar translate=\"no\"\u003eMAINTENANCE_VERSION\u003c/var\u003e is the maintenance version to apply. You can find these values by [Viewing available maintenance versions you can update\n to](/memorystore/docs/redis/self-service-maintenance#view_available_maintenance_versions_you_can_update_to).\n\nRevert your instance to the current default maintenance update\n--------------------------------------------------------------\n\nIf for any reason you want to revert from the newest maintenance update version\nto the current default version, you can do so using the Google Cloud CLI. For\nexample, if you update your instance to the newest self-service maintenance\nupdate, and doing this causes an issue/regression with your instance, then you\ncan revert back to the current default maintenance version with the `update`\ncommand.\n\nRun the `update` command and use the value `current_default` to revert the maintenance\nversion: \n\n```\ngcloud redis instances update INSTANCE_ID --maintenance-version=current_default\n```"]]