All Products
Search
Document Center

:Detach a cloud disk from an instance

Last Updated:Nov 23, 2025

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

  1. Log on to the ApsaraDB RDS console. In the left-side navigation pane, choose RDS Custom > Instances.

  2. Click the ID of the instance from which you want to detach the cloud disk. In the left-side navigation pane, click Storage Information.

  3. In the Action column corresponding to the cloud disk that you want to detach, click Detach.

  4. 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.

References

Introduction to RDS Custom