Updated on 2022-09-15 GMT+08:00

Creating a VPN for the Source

  1. Log in to the .
  2. Click in the upper left corner and select region EU-Dublin.
  3. Click the service list icon on the left and choose Networking > Virtual Private Network.
  4. In the navigation pane on the left, choose Virtual Private Network > VPN Gateways.
  5. On the VPN Gateways page, click Buy VPN Gateway.
  6. Specify a gateway name and other information.

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

  7. Specify the VPN connection information and click Submit.

    • The local subnet must be the same as the VPC subnet where the source RDS for MySQL instance is located, that is, the subnet created in Creating a VPC and Security Group.
    • The remote gateway and subnet are the gateway and subnet of the destination VPN. If the destination VPN is not created, enter a random value and change it after the destination VPN is created.

  8. After the VPN gateway is created, view its information in the VPN gateway list. Its status is Not connected. If this VPN gateway is in use by a VPC connection, the VPN gateway status changes to Normal.