Content is empty
If you don't find the content you expect, please try another search term
Last updated:2020-11-03 10:14:31
Peering is a service that connects two virtual private clouds (VPCs) to synchronize data between them. The two VPCs that are connected through a peering connection act like one VPC. You can create a peering connection between two VPCs that are created in the same or different accounts in the same region or across different regions. You can configure routing policies in the two VPCs that are connected through a peering connection to transfer traffic between them. Peering does not rely on independent hardware, and is therefore free from single points of failure (SPOFs) and bandwidth bottlenecks.
Assume that you create a peering connection between VPCs A and B.
The peer CIDR blocks of the tunnel gateway in VPC A are A1 and A2, and the peer CIDR blocks of the tunnel gateway in VPC B are B1 and B2.
- VPCs A and B cannot overlap in CIDR blocks.
- The CIDR block of VPC A cannot overlap CIDR blocks B1 and B2.
- The CIDR block of VPC B cannot overlap CIDR blocks A1 and A2.
Notes:
You can create a peering connection between two VPCs that are created in the same region or across different regions. The two peering modes vary in features and billing rules because of the different physical distances between two VPCs and different underlying implementation architectures.
Item | Local peering | Cross-region peering |
---|---|---|
Bandwidth | Unlimited | 1 Mbit/s to 200 Mbit/s, adjustable at a step of 1 Mbit/s |
Billing mode | Free of charge | Subscription mode with tiered charging |
Cross-account connection | Supported | Supported |
Access permissions | The Kingsoft Cloud Elastic Compute (KEC) instances at either end of a peering connection can access all resources, such as the KEC instances, databases, and Server Load Balancing (SLB) instances, of the peer end. | The KEC instances at either end of a peering connection can access all resources, such as the KEC instances, databases, and SLB instances, of the peer end. |
Limits | Peer VPCs cannot overlap in CIDR blocks. When one VPC is connected to multiple VPCs, the CIDR blocks of the multiple peer VPCs must be unique. | Peer VPCs cannot overlap in CIDR blocks. When one VPC is connected to multiple VPCs, the CIDR blocks of the multiple peer VPCs must be unique. |
Local peering is used to pipeline applications in different VPCs in the same region.
Pure Mode