Updated on 2024-07-15 GMT+08:00

Creating a VPN for the Source Database

  1. Log in to the management console.
  2. Click in the upper left corner of the management console and select AP-Singapore.
  3. Click Service List in the upper left corner. Under Networking, select Virtual Private Network.
  4. In the navigation pane on the left, choose Virtual Private Network > VPN Gateway.
  5. On the VPN Gateways page, click Buy VPN Gateway.
  6. Configure the required parameters.

    The VPC connected to the VPN gateway must be the same as the VPC of the source RDS for MySQL instance, that is, the VPC created in Creating a VPC and Security Group.

  7. Specify the VPN connection information as prompted and click Buy Now.

    • The local subnet must be the same as the subnet of the VPC where the source RDS for MySQL DB instance is located, that is, the subnet created in Creating a VPC and Security Group.
    • The remote gateway and remote subnet are the gateway and subnet of the target VPN. The target VPN has not been created. You can enter any value and change it after the target VPN is created.

  8. After the VPN gateway is created, view its information in the VPN gateway list. The status of the VPN gateway is Not connected. When a VPN connection uses this VPN gateway, the VPN gateway enters the Normal state.