How to Resize Valkey Database Clusters
Validated on 24 Apr 2025 • Last edited on 10 Jun 2026
Valkey is a high-performance, open-source database that stores key-value data in memory, and is designed for caching, message queues, and primary database use. Fully compatible with Redis, Valkey serves as a drop-in replacement.
You can resize existing Valkey database clusters at any time to increase CPU and RAM. To avoid data loss, scaling down is not supported.
Resize a Database Cluster Using Automation
You can resize a database cluster using the DigitalOcean CLI (doctl) or the API.
Resize a Database Cluster via CLI
To resize a database cluster using doctl, you need to provide a value for the --size flag, which specifies the cluster’s new configuration (number of CPUs, amount of RAM, and hard disk space). Use the doctl databases options slugs command to get a list of available values.
Resize a Database Cluster via API
To resize a database cluster using the API, you need to provide a value for the size field, which specifies the cluster’s configuration (number of CPUs, amount of RAM, and hard disk space). Use the /v2/databases/options endpoint to get a list of available values.
Resize a Database Cluster Using the Control Panel
To resize a Valkey database cluster, go to the Databases page, and select the cluster you want to resize. On the cluster’s Overview page, click the Settings tab.
In the Configuration section, click Edit. Select a tab to view available Shared CPU or Dedicated CPU plans, then choose options under CPU options and Select a plan.
In the Maximize uptime for critical workloads section (for plans with 2 GB RAM or higher), you can add standby nodes.
Click Save to apply your changes.
Your cluster’s state changes from Active to Resizing until the process is complete. Provisioning can take several minutes, depending on cluster size, but does not cause downtime.