Self-service maintenance

This page describes self-service maintenance, which lets you accept a maintenance update on your instance outside of the normal flow of scheduled maintenance. To see what vulnerabilities are addressed by each self-service maintenance update, see Maintenance changelog.

Overview

Memorystore for Redis regularly releases software improvements, such as patches for known vulnerabilities, through new maintenance versions. While Memorystore for Redis schedules maintenance updates once every few months to ensure you have the latest maintenance version, you might want to use self-service maintenance if:

  • You need an update sooner than your next scheduled maintenance event.
  • You want to stay up-to-date with CVE patches necessary for FedRAMP Compliance.

You're not required to manually update to the latest version. You can let Memorystore for Redis automatically update your maintenance version during your next scheduled maintenance event.

Impact of self-service maintenance

Self-service maintenance updates have the same impact on your application as standard maintenance update. For more information, see Impact of maintenance.

View your current maintenance version

Check your current maintenance version using the describe command:

gcloud redis instances describe INSTANCE_ID

Replace the following:

  • INSTANCE_ID is the ID of your instance

The maintenance version is indicated beside the maintenanceVersion attribute.

View available maintenance versions you can update to

Console

  1. Go to the Memorystore for Redis page in the Google Cloud console.

    Memorystore for Redis

  2. Click your instance ID.

  3. If a maintenance update is available, Update available text is visible in the Maintenance section of the Overview tab.

  4. Click View and Apply.

  5. The Choose Maintenance Version dropdown lists all maintenance versions you can update to.

gcloud

To view available maintenance versions, use the describe command:

gcloud redis instances describe INSTANCE_ID

Replace the following:

  • INSTANCE_ID is the ID of your instance

The list of available maintenance versions is indicated beside the availableMaintenanceVersions attribute. If no versions are listed using this attribute, then your instance has the latest version.

Update your instance to a new maintenance version

Console

  1. Go to the Memorystore for Redis page in the Google Cloud console.

    Memorystore for Redis

  2. Click your instance ID.

  3. If a maintenance update is available, Update available text appears in the Maintenance section of the Overview tab.

  4. Click View and Apply.

  5. Select your desired maintenance version from the Choose Maintenance Version dropdown.

  6. Click the Apply button.

gcloud

Use the following method to update your instance to the target maintenance version.

gcloud redis instances update INSTANCE_ID --maintenance-version=MAINTENANCE_VERSION

Replace the following:

Revert your instance to the current default maintenance update

If for any reason you want to revert from the newest maintenance update version to the current default version, you can do so using the Google Cloud CLI. For example, if you update your instance to the newest self-service maintenance update, and doing this causes an issue/regression with your instance, then you can revert back to the current default maintenance version with the update command.

Run the update command and use the value current_default to revert the maintenance version:

gcloud redis instances update INSTANCE_ID --maintenance-version=current_default