Administration · Valkey

Administration

Valkey setup tips

Linux

Memory

Imaging

Replication

Security

Running Valkey on EC2

Upgrading or restarting a Valkey instance without downtime

Valkey is designed to be a long-running process in your server. You can modify many configuration options without a restart using the CONFIG SET command. You can also switch from AOF to RDB snapshots persistence, or the other way around, without restarting Valkey. Check the output of the CONFIG GET * command for more information.

From time to time, a restart is required, for example, to upgrade the Valkey process to a newer version, or when you need to modify a configuration parameter that is currently not supported by the CONFIG command.

Follow these steps to avoid downtime.

If you are using Valkey Sentinel or Valkey Cluster, the simplest way to upgrade to newer versions is to upgrade one replica after the other. Then you can perform a manual failover to promote one of the upgraded replicas to primary, and finally promote the last replica.