Help Center> Virtual Private Network> FAQ> Related Operations on the Console> What Are the Relationships Between a VPC, a VPN Gateway, and a VPN Connection?

What Are the Relationships Between a VPC, a VPN Gateway, and a VPN Connection?

  • A VPC is a private network on the cloud. Multiple VPCs can be created in the same region but are isolated from each other. A VPC can be divided into multiple subnets.
  • A VPN gateway is created based on a VPC and is the access point of a VPN connection. Only one VPN gateway can be purchased for each VPC, but multiple VPN connections can be created for each gateway.
  • A VPN connection is created based on a VPN gateway and is used to connect a VPC to an on-premises data center (or a VPC in another region). That is, each VPN connection connects to a gateway of an on-premises data center.

    The number of VPN connections is irrelevant to the number of local subnets and remote subnets. It is only related to the number of data centers (or VPCs in other regions) connected to your VPC. The created VPN connections are displayed in the VPN connection list. You can also view the number of VPN connections created for each VPN gateway.