VPC Peering Connection Overview
Notes and Constraints
- VPC peering connections created between VPCs that have overlapping subnet CIDR blocks may not take effect.
- You cannot have more than one VPC peering connection between the same two VPCs at the same time.
- You cannot create a VPC peering connection between VPCs in different regions.
- Even if VPC 1 and VPC 2 are connected using a VPC peering connection, ECSs in VPC 2 cannot access the Internet through the EIP of VPC 1. If you want to allow the ECSs in VPC 2 to access the Internet through the EIP of VPC 1, you can use a NAT gateway service or configure an SNAT server. For details, see Having an ECS Without a Public IP Address Access the Internet.
- To request a VPC peering connection with a VPC of another tenant, the peer tenant must accept the request to activate the connection. If you request a VPC peering connection with a VPC of your own, the system automatically accepts the request to activate the connection.
- After a VPC peering connection is established, the local and peer tenants must add routes in the local and peer VPCs to enable communication between the two VPCs.
- VPC A is peered with both VPC B and VPC C. If VPC B and VPC C have overlapping CIDR blocks, routes with the same destinations cannot be configured for VPC A.
- To ensure security, do not accept VPC peering connections from unknown tenants.
- Either owner of a VPC in a peering connection can delete the VPC peering connection at any time. If a VPC peering connection is deleted by one of its owners, all information about this connection will be automatically deleted immediately, including routes added for the VPC peering connection.
- If VPCs connected by a VPC peering connection have overlapping CIDR blocks, the connection can only enable communication between specific (non-overlapping) subnets in the VPCs. If subnets in the two VPCs of a VPC peering connection have overlapping CIDR blocks, the peering connection will not take effect. When creating a VPC peering connection, ensure that the VPCs involved do not contain overlapping subnets.
- You cannot delete a VPC for which VPC peering connection routes have been configured.
- A VPC peering connection can be created between VPCs in same region even if one is created on the HUAWEI CLOUD Chinese Mainland console and another on the HUAWEI CLOUD international console.
Last Article: VPC Peering Connection
Next Article: VPC Peering Connection Configuration Plans
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.