VPC Peering Connection Configuration Suggestions
Location |
CIDR Block |
Description |
Example |
---|---|---|---|
VPCs in the same region |
|
You can create VPC peering connections to connect entire CIDR blocks of VPCs. Then, all resources in the VPCs can communicate with each other. |
|
VPCs in the same region |
|
You can create VPC peering connections to connect specific subnets or ECSs from different VPCs.
|
Using a VPC Peering Connection to Connect Subnets in Two VPCs |
VPCs in the same region |
|
VPC peering connections are not usable. You need to replan the VPC CIDR blocks. |

A VPC peering connection can only connect VPCs in the same region. If your VPCs are in different regions, use Cloud Connect.
Alternatively, you can use enterprise routers to connect VPCs in the same region. Enterprise Router is more suitable for complex networking that needs to connect multiple VPCs. With enterprise routers, you do not have to create a large number of VPC peering connections or add too many routes. This makes your network topology simpler and more scalable.
All route tables in a VPC can have a maximum of 1,000 routes. If you want to create VPC peering connections to connect multiple VPCs, consider this restriction when planning the networking.
If there are CCE clusters, you need to avoid CIDR block overlapping between the subnets and container subnets in addition to the VPC CIDR blocks at both ends. Otherwise, communications will fail. For details, see Cross-VPC Cluster Interconnection.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot