Switch the VPC for an RDS instance

Last Updated: Aug 02, 2017

You can migrate an RDS instance from one VPC to another VPC. Firstly, you have to switch the network type of the RDS instance to the classic network, and then switch it to the VPC.

Note:

The VPC switch will cause an ephemeral disconnection for the RDS instance. Ensure that you have set an automatic reconnection mechanism for it.

Procedure

  1. Log on to the RDS console.

  2. Switch the network type to the classic network:

    1. Click the ID of the target RDS instance.

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

    3. In the Connection information section, click Switch to Classic.

    4. Click OK in the pop-up dialog.

  3. Switch the network type to VPC:

    1. Click Refresh to check the database status.

    2. After the network type is changed to the classic network, click Switch to VPC.

    3. In the pop-up dialog, select a new VPC and VSwitch for the RDS instance and then click OK.

Thank you! We've received your feedback.