This topic describes how to change the virtual private cloud (VPC) and vSwitch for an AnalyticDB for MySQL Data Warehouse Edition (V3.0) cluster.
Changing the VPC and vSwitch for a cluster is an asynchronous operation. During the change process, you may encounter transient connections and read and write failures, and the cluster status changes to Modifying Network Address. We recommend that you perform the change operation during off-peak hours and make sure that your application can be automatically reconnected to the cluster. When the cluster status changes to Running, the change operation is complete.
Changing the VPC and vSwitch for a cluster may result in a virtual IP address (VIP) change. We recommend that you use the VPC endpoint of the cluster to connect to the cluster. The endpoint does not change. Example: am-bp13er819d288****90650.ads.aliyuncs.com.
After the change operation is completed, the Domain Name Server (DNS) cache that is stored on your computer is refreshed and you may fail to connect to the cluster for several minutes.
If you change the VPC and vSwitch for a cluster in elastic mode, you can delete the original VPC and vSwitch after the change. If you change the VPC and vSwitch for a cluster in reserved mode, you cannot delete the original VPC and vSwitch after the change because specific underlying applications are deployed in the original VPC and vSwitch.
After you change the VPC and vSwitch for a cluster, the IP address whitelists are not automatically updated. If the CIDR block of the cluster changes, the IP address whitelists may become invalid. In this case, you must reconfigure the IP address whitelists.
Log on to the AnalyticDB for MySQL console. In the upper-left corner of the console, select a region. In the left-side navigation pane, click Clusters. On the Data Warehouse Edition (V3.0) tab, find the cluster that you want to manage and click the cluster ID.
In the Network Information section, click Change VPC and vSwitch to the right of the VPC ID.
In the Change VPC and vSwitch dialog box, select a VPC and a vSwitch.Note
If no options are displayed, the region does not contain other VPCs or vSwitches. In this case, you can create a VPC and a vSwitch. For more information, see Create and manage a VPC.