[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-05。"],[],[],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```"]]