Dedicated block storage clusters allow you to migrate disks into or out of a cluster, or between different clusters. To manage public cloud disks in a dedicated block storage cluster for exclusive use, you can migrate the disks into the cluster. If a dedicated block storage cluster expires or is released and you want to retain the disks, you can migrate them from the cluster to the public cloud.
Prerequisites
The dedicated block storage cluster is not expired.
Only pay-as-you-go disks can be migrated. If the disk is a subscription disk, you must first change its billing method to pay-as-you-go. For more information, see Change the billing method of a disk.
The disk must be in the In_use (In_use) or Available (Available) state.
If the disk is attached to an ECS instance, the instance must be in the Running (Running) or Stopped (Stopped) state. The ECS instance cannot be in the Expired (Expired) state or have an overdue payment.
Before you migrate a disk, create a snapshot to back up its data. For more information, see Create a snapshot.
Precautions
Disk performance may be affected during migration. Avoid migrating disks during peak business hours. For more information about the performance of different disk categories, see Block storage performance.
The disk migration may fail because of resource issues.
Constraints
Migration phase | Constraint |
Before migration | Before you migrate a disk, make sure that it meets the following conditions. Otherwise, the migration fails.
|
During migration | The following operations are not supported on a disk that is being migrated:
|
Billing
After a disk is migrated, its billing method changes based on the migration scenario. For more information, see Billing for disk migration.
Procedure
Go to the Dedicated Block Storage Cluster page.
Log on to the Elastic Block Storage console.
In the navigation pane on the left, choose .
In the top navigation bar, select the region and resource group of the resource that you want to manage.
Find the cluster that contains the disk that you want to migrate and click its cluster ID.
On the cluster details page, click the Disk Management tab. Then, click Migrate In or Migrate Out.
Migrate In: Migrates disks from the public cloud or other dedicated block storage clusters to this cluster.
Migrate Out: Migrates disks from this cluster to the public cloud or other dedicated block storage clusters.
On the migration page, select the disks that you want to migrate and click OK to start the migration.
The migration may take several hours or longer. The duration depends on the migration throughput, storage size, and original disk category.
You can check the migration progress and disk status in one of the following ways:
Method 1: Return to the Disk Management tab, find the disk that is being migrated, and verify that the disk status is Migrating.
Method 2: Go to the Tasks page in the ECS console to view the task status.
Method 3: Call the DescribeTaskAttribute API operation to view the task progress.