All Products
Search
Document Center

ApsaraDB RDS:Change the vSwitch

Last Updated:Sep 03, 2024

This topic describes how to change the vSwitch of an ApsaraDB RDS for MariaDB instance.

Prerequisites

The RDS instances uses the subscription or pay-as-you-go billing method.

Impacts

  • When you switch your RDS instance to a different vSwitch, a transient connection that lasts approximately 30 seconds occurs. Make sure that your application is configured to automatically reconnect to your RDS instance.

  • After the vSwitch of your RDS instance is changed, the virtual IP addresses (VIPs) of your RDS instance change. We recommend that you connect your application to your RDS instance by using an endpoint. For more information, see Configure endpoints for an ApsaraDB RDS for PostgreSQL instance.

  • Any change to the VIP will affect the availability of your RDS instance for a short period of time. Refresh and view the connection information in the ApsaraDB RDS console.

  • VIP changes interrupt the connection between your RDS instance and Data Management (DMS) and the connection between your RDS instance and Data Transmission Service (DTS) for a short period of time. After the VPC and vSwitch of your RDS instance are changed, the connections are automatically resumed.

  • If the DNS cache exists on your database client, you can read data but cannot write data. We recommend that you clear the cache on the client at the earliest opportunity.

Procedure

  1. Go to the Instances page. In the top navigation bar, select the region in which the RDS instance resides. Then, find the RDS instance and click the ID of the instance.

  2. In the left-side navigation pane, click Database Connection.

  3. Click Switch vSwitch.

  4. In the dialog box that appears, configure the Change To parameter and click OK.

    Note

    If you want to create a vSwitch, click go to the VPC console.

  5. In the message that appears, click OK.