Storage Engine | Supported Version | Upgrade Rules |
Redis Edition | 4.0, 5.0, 6.2, and 7.0 | Major version upgrade: Supports upgrading from an early version to a later version: An instance can be upgraded from the current version to the next later version. For example, Redis 4.0 to Redis 5.0, Redis 5.0 to Redis 6.2, and Redis 6.2 to Redis 7.0. Supports cross-version upgrade: An instance can be directly upgraded to a later target version by skipping the intermediate versions. For example, Redis 4.0 to Redis 6.2 (skipping 5.0), Redis 4.0 to Redis 7.0 (skipping 5.0 and 6.2), and Redis 5.0 to Redis 7.0 (skipping 6.2). Does not support version downgrade: Version upgrade is a one-way operation. Once completed, the version cannot be rolled back to an earlier version. For example, Redis 6.2 cannot be downgraded to Redis 5.0, and Redis 7.0 cannot be downgraded to Redis 6.2 or earlier versions. To use an early version, create an instance of the corresponding version. Minor version upgrade: The system automatically detects available minor versions for upgrades and does not support custom target versions. |
Valkey Edition | 8.0 | Major version upgrade: Currently, only Valkey 8.0 is supported. No later versions are available for upgrade. Redis 7.0 and earlier versions cannot be upgraded to Valkey 8.0. Minor version upgrade: The system automatically detects available minor versions for upgrades and does not support custom target versions. |

No. | Stage | Major Version Upgrade | Minor Version Upgrade |
1 | Request resources | Request resources for the new major-version instance, including Proxy and Redis node (primary node and replica node) resources. | Request resources for the new minor-version Redis nodes (primary node and replica nodes). |
2 | Synchronize data | Synchronize full and incremental data to the new nodes. | Synchronize full and incremental data to the new nodes. |
3 | Wait for switchover | Depending on the switchover policy you selected, perform immediate switchover or perform the switchover during the maintenance window. | Depending on the switchover policy you selected, perform immediate switchover or perform the switchover during the maintenance window. |
4 | Switch between versions | Once the switchover conditions are met, the system performs version changes and routing switchover on the Proxy, replica nodes, and primary node. This process refreshes the cluster's routing information and handles existing connections, resulting in the instance being temporarily unable to read or write (for approximately one minute) and brief disconnections of client connections. After the switchover is completed, the old-version nodes are automatically taken offline and recycled. | The system will trigger a master-replica switchover, promoting the new node to the master role and isolating the old node. Brief disconnections may occur during the node switchover. Upon completion, the system will update the Proxy routing and recycle the old-version resources. |
5 | Upgrade completed | After the upgrade is completed, the system updates the instance version information. The instance is changed to the new version and resumes external services. | After the upgrade is completed, the system updates the instance version information. The instance is changed to the new version and resumes external services. |


Parameter Name | Parameter Description |
Instance ID | ID of the instance to be upgraded. |
Instance Name | Instance Name to Be Upgraded. |
Compatible Version | The current compatible Redis version of the instance to be upgraded. |
Architecture | Architecture information of the instance to be upgraded. Currently, version upgrade is supported only for standard architecture instances. |
Memory | Memory size of the instance to be upgraded. |
Upgrade Version | Select the target version in the drop-down list. You can upgrade from an earlier version to a later version or across versions. |
Preview New Specs | Preview information of the instance specifications after upgrade. |
Switch Time | Switch Now: The switch will be performed when the data sync is almost completed (the data left to be synced is less than 10 MB). Switch in Maintenance Time: The switch will be performed during the instance maintenance time. If the switch conditions cannot be met in the current maintenance time, the switch will be attempted in the next maintenance time. You can modify the Maintenance Window on the instance details page. |
Total Fees | Upgrading the instance does not involve billing changes. |


API Name | Feature Description |
Upgrades the version of an instance | |
Upgrades the minor version of an instance |
Feedback