How Do I Enable Communications Between Two VPCs and an On-premises Network?
Network Topology
IDC–VPC 1–VPC 2
IDC indicates an on-premises data center. A VPN connection is established between VPC 1 and the IDC.
Procedure
- Check whether the two VPCs are in the same region.
- If so, use a VPC peering connection or Cloud Connect connection to connect the two VPCs. Such a connection is free of charge.
- If not, use a Cloud Connect connection to connect the two VPCs. You need to pay for the Cloud Connect bandwidth.
- Establish a VPN connection between the IDC and one VPC (VPC 1 in this example).
In the on-premises data center, set subnets of VPC 1 and VPC 2 as remote subnets. The local subnet of VPC 1 must contain the subnet connected through a VPC peering connection or Cloud Connect connection. The subnet route of the VPC peering connection or Cloud Connect connection needs to destine for the on-premises subnet.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.