Skip to content

Upgrade the Valkey Version

Move a Managed Valkey service to a newer Valkey version. The versions you can choose are listed by exo dbaas type show valkey, see Valkey Version Lifecycle. To move from Redis to Valkey, see Upgrade to Valkey instead.

Before You Upgrade

An upgrade cannot be reverted, because downgrades are not supported. Test it first on a fork of the service, created with --valkey-fork-from.

Upgrade from the Portal

  1. Open the service in the Portal.
  2. In the menu at the top right of the service page, select Upgrade.
  3. Select the target version, then select Upgrade.

Upgrade with the API

echo '{"version":"TARGET_VERSION"}' | \
  exo api update-dbaas-service-valkey SERVICE_NAME -z ZONE

Parameters:

  • TARGET_VERSION: the target version, as a string, for example "9.1".
  • SERVICE_NAME: name of the service.
  • ZONE: zone the service runs in, for example ch-gva-2.

During the Upgrade

The upgrade creates a new instance of the service, migrates the data to it, and switches over, which involves downtime. Make sure your application reconnects.

Related Pages

Last updated on