---
title: "Upgrade the Valkey Version"
description: "Upgrade an Exoscale Managed Valkey service to a newer Valkey version from the Portal or the Exoscale API."
url: https://community.exoscale.com/product/dbaas/service-specific/valkey/how-to/upgrade-version/
product: "Valkey"
section: product
last_updated: 2026-11-24
---
> For AI agents: the documentation index is at https://community.exoscale.com/llms.txt. Every page is available as markdown at `<page URL>index.md` or with `Accept: text/markdown`.

# 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](https://community.exoscale.com/product/dbaas/service-specific/valkey/reference/version-lifecycle/index.md). To move from Redis to Valkey, see [Upgrade to Valkey](https://community.exoscale.com/product/dbaas/service-specific/valkey/how-to/upgrading-to-valkey/index.md) instead.

## Before You Upgrade

An upgrade cannot be reverted, because downgrades are not supported. Test it first on a
[fork](https://community.exoscale.com/product/dbaas/how-to/backups-restore/index.md#forks) of the service, created with
`--valkey-fork-from`.

## Upgrade from the Portal

1. Open the service in the [Portal](https://portal.exoscale.com/).
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

```bash
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

- [Valkey Version Lifecycle](https://community.exoscale.com/product/dbaas/service-specific/valkey/reference/version-lifecycle/index.md)
- [Manage Backups and Restores](https://community.exoscale.com/product/dbaas/how-to/backups-restore/index.md)
- [Manage Maintenance Windows](https://community.exoscale.com/product/dbaas/how-to/maintenance-windows/index.md)

