Skip to main content

Manage Aiven for Valkey™ versions

Aiven for Valkey™ supports multiple versions of Valkey running concurrently in the platform. Choose a version that best fits your needs and upgrade your service when ready.

Supported Valkey versions

From version 9.0, Aiven for Valkey supports two major upstream Valkey versions at a time. These are the two latest major versions that are stable on the Aiven Platform. You can select either version when you create a service or upgrade an existing service. If you do not select a version, the default is the latest stable version on the Aiven Platform.

See the supported versions in the Aiven for Valkey version reference.

Before you upgrade

Available or upcoming upgrades

Track upgrades for your service via:

  • Aiven Console: Service Overview page > Maintenance section > List of available mandatory and optional upgrades
  • Email: notifications for automated upgrades

Downgrade restriction

Downgrading to a previous version is not supported due to potential data format incompatibilities. Always test upgrades in a non-production environment first.

To revert to a previous version:

  1. Create a service with the desired version.
  2. Restore data from a backup taken before the upgrade.
  3. Update your application connection strings.

Prerequisites for upgrade

Before upgrading your service:

  • Test in development: Test the upgrade in a development environment first.
  • Backup your data: Ensure you have recent backups. Backups are automatic, but verify they exist.

To upgrade your service version, check that:

Upgrade your service

  1. In the Aiven Console, go to your Valkey service.

  2. On the Overview page, go to the Maintenance section.

  3. Click Actions > Upgrade version.

  4. Select a version to upgrade to.

    warning

    When you click Upgrade:

    • The system applies the upgrade immediately.
    • You cannot downgrade the service to a previous version.
  5. Click Upgrade.

Version selection for new services

When creating an Aiven for Valkey service:

  • Default version: The latest stable version on the Aiven Platform is the default version.
  • Explicit selection: You can specify a version using the valkey_version parameter.
  • Version availability: Only versions in available state can be selected.

Example (CLI):

avn service create SERVICE_NAME \
--service-type valkey \
--plan PLAN_NAME \
--cloud CLOUD_NAME \
-c valkey_version="N.N"

Parameters:

  • SERVICE_NAME: Name of your service
  • PLAN_NAME: Service plan
  • CLOUD_NAME: Cloud region identifier
  • N.N: Service version, for example 8.1

Related pages

Service maintenance