Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Diese Seite beschreibt die Self-Service-Wartung, mit der Sie ein Wartungsupdate für Ihre Instanz außerhalb des normalen Ablaufs der geplanten Wartung annehmen können. Informationen dazu, welche Sicherheitslücken durch die einzelnen Selfservice-Wartungsupdates geschlossen werden, finden Sie im Changelog zur Wartung.
Übersicht
Memorystore for Redis veröffentlicht regelmäßig Softwareverbesserungen wie z. B. Patches für bekannte Sicherheitslücken über neue Wartungsversionen.
Memorystore for Redis führt geplante Wartungen alle paar Monate standardmäßig aus, damit Sie immer die neueste Wartungsversion haben. Sie sollten aber eine Self-Service-Wartung ausführen, wenn:
Sie ein Update vor dem nächsten geplanten Wartungsereignis benötigen.
Sie möchten über CVE-Patches auf dem Laufenden bleiben, die für die FedRAMP-Compliance erforderlich sind.
Sie müssen keine manuellen Updates auf die neueste Version ausführen. Sie können festlegen, dass Memorystore for Redis Ihre Wartungsversion während des nächsten geplanten Wartungsereignisses automatisch aktualisiert.
Auswirkungen der Self-Service-Wartung
Selfservice-Wartungsupdates wirken sich auf Ihre Anwendung genauso aus wie Standard-Wartungsupdates. Weitere Informationen finden Sie unter Auswirkungen von Wartungen.
Aktuelle Wartungsversion aufrufen
Prüfen Sie Ihre aktuelle Wartungsversion mit dem Befehl describe:
gcloud redis instances describe INSTANCE_ID
Ersetzen Sie Folgendes:
INSTANCE_ID ist die ID Ihrer Instanz.
Die Wartungsversion wird neben dem maintenanceVersion-Attribut angegeben.
Verfügbare Wartungsversionen aufrufen, auf die Sie aktualisieren können
Console
Rufen Sie in der Google Cloud Console die Seite Memorystore for Redis auf.
Wenn ein Wartungsupdate verfügbar ist, wird auf dem Tab Übersicht im Bereich Wartung der Text Update verfügbar angezeigt.
Klicken Sie auf Anzeigen und anwenden.
In der Drop-down-Liste Wartungsversion auswählen sind alle Wartungsversionen aufgeführt, auf die Sie aktualisieren können.
gcloud
Mit dem Befehl describe können Sie sich die verfügbaren Wartungsversionen anzeigen lassen:
gcloud redis instances describe INSTANCE_ID
Ersetzen Sie Folgendes:
INSTANCE_ID ist die ID Ihrer Instanz.
Die Liste der verfügbaren Wartungsversionen wird neben dem availableMaintenanceVersions-Attribut angezeigt. Wenn mit diesem Attribut keine Versionen aufgeführt sind, verwendet Ihre Instanz die neueste Version.
Instanz auf eine neue Wartungsversion aktualisieren
Console
Rufen Sie in der Google Cloud Console die Seite Memorystore for Redis auf.
Instanz auf die aktuelle Standardwartungsaktualisierung zurücksetzen
Wenn Sie aus irgendeinem Grund von der neuesten Wartungsaktualisierungsversion zur aktuellen Standardversion zurückkehren möchten, können Sie dies mit der Google Cloud CLI tun. Wenn Sie Ihre Instanz beispielsweise auf das neueste Selfservice-Wartungsupdate aktualisieren und dadurch ein Problem oder eine Regression bei Ihrer Instanz auftritt, können Sie mit dem Befehl update zur aktuellen Standardwartungsversion zurückkehren.
Führen Sie den Befehl update mit dem Wert current_default aus, um zur Wartungsversion zurückzukehren:
[[["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-09-04 (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```"]]