Self-service maintenance

This page describes self-service maintenance, which lets you accept a maintenance update on your instance outside of the typical flow of scheduled maintenance. To see which vulnerabilities are addressed by each self-service maintenance update, see Memorystore for Valkey maintenance changelogs.

Overview

Memorystore for Valkey releases software improvements regularly, such as patches for known vulnerabilities, through new maintenance versions. Although Memorystore for Valkey schedules maintenance updates once every few months to ensure that you have the latest maintenance version, you might want to use self-service maintenance if any of the following conditions apply:

  • 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 update to the latest version manually. You can let Memorystore for Valkey update your maintenance version automatically during your next scheduled maintenance event.

Impact of self-service maintenance

Self-service maintenance updates have the same impact on your applications as standard maintenance updates. For more information, see About maintenance.

View maintenance versions

You can view the following information about maintenance versions that are associated with your instance:

  • The current maintenance version.
  • Available maintenance versions to which you can update your instance.

gcloud

To view maintenance version information about your instance, use the gcloud memorystore instances describe command.

gcloud memorystore instances describe INSTANCE_ID /
--location=REGION_NAME /
--project=PROJECT_NAME

Make the following replacements:

  • INSTANCE_ID: the ID of the instance
  • REGION_NAME: the region name for the instance
  • PROJECT_NAME: the name of the Google Cloud project that contains the instance

The current maintenance version appears next to the effectiveMaintenanceVersion field. Also, the list of available maintenance versions appears next to the availableMaintenanceVersions field. If no versions appear, then your instance has the latest version.

Update your instance to a new maintenance version

You can update your instance to a newer maintenance version.

gcloud

To update the maintenance version for your instance, use the gcloud memorystore instances update command.

gcloud memorystore instances update INSTANCE_ID /
--location=REGION_NAME /
--project=PROJECT_NAME
--maintenance-version=MAINTENANCE_VERSION

Make the following replacements:

  • INSTANCE_ID: the ID of your instance.
  • REGION_NAME: the region name for the instance.
  • PROJECT_NAME: the name of the Google Cloud project that contains the instance.
  • MAINTENANCE_VERSION: the maintenance version to which you want to update your instance. To find available maintenance versions, see View maintenance versions.