If you no longer need to use a cloud disk that is attached to an RDS Custom instance as a data disk or want to attach the disk to another RDS Custom instance in the same zone, you must first detach the cloud disk from the instance. This topic describes how to detach a cloud disk from an RDS Custom instance.
Prerequisites
The cloud disk that you want to detach is attached to an RDS Custom instance as a data disk and is in the In Use state.
To prevent data loss and ensure data integrity, we recommend that you stop reading data from or writting data to the cloud disk before you detach it.
Procedure
Log on to the ApsaraDB RDS console. In the left-side navigation pane, choose .
Click the ID of the instance from which you want to detach the cloud disk. In the left-side navigation pane, click Storage Information.
In the Action column corresponding to the cloud disk that you want to detach, click Detach.
In the message that appears, click OK.
Related API operation
You can also call the DetachRCDisk operation to detach a pay-as-you-go cloud disk that is attached to an RDS Custom instance as a data disk from the instance. For more information, see DetachRCDisk.