Migrate RDS instance zone

Last Updated: Dec 06, 2017

Description

Migrate an instance to another zone. For example, if Instance 1 is currently located in the “cn-hangzhou-a” zone of East China 1 (Hangzhou), you can call this interface to migrate the instance to the “cn-hangzhou-b” zone of Hangzhou.

Note: In cross-zone migration, instances must be migrated within the same physical location. For example, instances in a zone of East China 1 (Hangzhou) cannot be migrated to zones of North China 1 (Qingdao).

Request parameters

Name Type Required? Description
Action String Yes Required parameter. Value: MigrateToOtherZone.
DBInstanceId String Yes Instance ID.
ZoneId String Yes The DescribeRegions function can be used to view available zones.

Return parameters

Name Type Description
<Public Return Parameters> - For more information, see Public parameters.

Example

  • Request example

    1. https://rds.aliyuncs.com/?Action=MigrateToOtherZone
    2. &DBInstanceId=rdsaiiabnaiiabn
    3. &ZoneId=cn-hangzhou-b
    4. &<Public Request Parameters>
  • Return example

    XML format:

    1. <MigrateToOtherZoneResponse>
    2. <RequestId>65BDA532-28AF-4122-AA39-B382721EEE64</RequestId>
    3. </MigrateToOtherZoneResponse>

    JSON format:

    1. {
    2. "RequestId": " 65BDA532-28AF-4122-AA39-B382721EEE64"
    3. }
Thank you! We've received your feedback.