You can migrate your RDS instance from one zone to another in the same region. The attributes, configuration, and connection address of the instance remain unchanged after the migration. The time required for the migration varies depending on the data volume of the instance. In typical cases, the migration takes a few hours.
Services may be disconnected for 30 seconds during cross-zone migration. Make sure that your application is configured to reconnect to the instance after the application is disconnected. Pay attention to the following information:
- Cross-zone migration causes changes to virtual IP addresses (VIPs). We recommend that you connect your application to the connection address of the instance instead of the VIP.
- Clear the cache on the client to prevent data write-in failures.
- Any change to the VIP affects the availability of DRDS for a short period of time. Refresh the page and view the connection information in the DRDS console.
- Any change to the VIP affects the operation of DMS and DTS for a short period of time. After the migration is complete, you can use DMS and DTS normally.
|Migrate an RDS instance from one zone to another||The zone where the RDS instance is located is in full load or cannot meet the performance requirements of the instance.|
|Migrate an RDS instance from one zone to multiple zones||The master and slave nodes are deployed in different equipment rooms in different
zones to enhance disaster tolerance.
Compared with single-zone instances, multi-zone instances can withstand disasters at higher levels. For example, single-zone instances can tolerate server- and rack-related faults, whereas multi-zone instances can tolerate data center-related faults.
|Migrate an RDS instance from multiple zones to one zone||Specific function requirements are required.|
This feature is free of charge even if you migrate instances from one zone to multiple zones.
- MySQL 5.5, MySQL 5.6, and MySQL 5.7 (based on local SSDs)
- SQL Server 2008 R2
- PostgreSQL 10 High-availability Edition and PostgreSQL 9.4
- PPAS 10
The region where the RDS instance is located consists of multiple zones. For more information about regions and zones, see Regions and zones.
- Log on to the RDS console.
- In the upper-left corner, select the region where the target RDS instance is located.
- Find the target RDS instance and click its ID.
- Click Migrate Across Zones.
- In the displayed dialog box, specify the destination zone, VSwitch, and migration
time, and then click OK.
Note To change the maintenance window, follow these steps:
- Click Change.
- In the Configuration Information section, change the maintenance window and click Save.
- Refresh the page, and perform the migration again.
- Click Change.