ApsaraDB for Redis allows you to change the configurations of instances. You can change the configurations such as the architecture and specifications of an instance to meet different performance and capacity requirements.
Billing
For more information, see Configuration change.
Change process and impact

- The cluster architecture imposes requirements on Lua scripts. After you change an instance to the cluster architecture, the Lua scripts may be lost because script content does not meet the requirements. You must back up the Lua scripts in advance. For more information, see Limits on commands supported by cluster instances.
- If you change the configurations of an instance, the instance may experience one or
two transient connections that last for less than 30 seconds. For Lettuce clients,
the instance may be disconnected for 2 to 10 minutes.
Note We recommend that you set the Switching Time parameter to Switch Within Maintenance Window when you change the configurations of an instance. In this case, the instance configurations are changed and transient connections occur in the next maintenance window.
- To synchronize incremental data from the original instance to the new instance and prevent dual write caused by the Domain Name System (DNS) cache, the instance becomes read-only for less than 1 minute during the configuration change. This ensures data consistency between the new and the original instance.
- To ensure higher performance and stability, the system updates the minor version of an instance to the latest version during the configuration change.
Limits
Instance | Limit |
---|---|
Regular ApsaraDB for Redis instance |
|
Child instance in a distributed instance |
|
When you downgrade the configurations of an instance, note that 90% of the memory
capacity of the new instance is greater than the amount of occupied memory of the
original instance. Otherwise, the instance cannot be downgraded. For example, assume
that you have a performance-enhanced master-replica instance with 8 GB of memory and
that 3 GB of the instance memory is occupied. You can change the instance into a performance-enhanced
master-replica instance that has 4 GB of memory.
Manually change the configurations of an instance
Related API operations
Operation | Description |
---|---|
ModifyInstanceSpec | Changes the configurations of an ApsaraDB for Redis instance. |