Help Center/ Virtual Private Cloud/ FAQs/ Connectivity/ Does a VPN Allow Communication Between Two VPCs?
Updated on 2024-10-25 GMT+08:00

Does a VPN Allow Communication Between Two VPCs?

If the two VPCs are in the same region, you can use a VPC peering connection to enable communication between them.

If the two VPCs are in different regions, you can use a VPN to enable communication between the VPCs. The CIDR blocks of the two VPCs are the local and remote subnets, respectively.

In Figure 1, there is a VPC in each region: VPC-A in region A and VPC-B in region B. Each VPC is connected to a VPN connection. The two VPCs can communicate with each other through an encrypted channel on the Internet. VPN can be enabled fast and is cost-effective.
Figure 1 Connecting VPCs in different regions using VPN