You can create a peering connection to connect two virtual private clouds (VPCs). In addition, you can create a peering connection to connect a VPC and a virtual border router (VBR).
Initiator and acceptor
When you establish a peering connection between two VPCs or between a VPC and a VBR, one end of the peering connection functions as the initiator. The other end of the peering connection functions as the acceptor. Only the initiator can initiate the peering connection. The acceptor must wait for the initiator to initiate the peering connection. The concepts of initiator and acceptor are only used to control how a peering connection is established. Data transmission between the initiator and acceptor is bidirectional. Therefore, after the peering connection is established, both the initiator and acceptor can send and receive data.
When you connect two VPCs under the same account, you can specify the initiator and acceptor in the Express Connect console. After you specify the initiator and acceptor, the system automatically initiates a connection request and then establishes a peering connection. You do not need to manually send a connection request. To connect two VPCs under different accounts, you must manually send a request to establish a peering connection.
|Whether the configuration of the peer is required before a peering connection is initiated||Yes||Yes|
|Initiate connection requests||Yes||No|
|Send messages to the peer after the peering connection is established||Yes||Yes|
Connection stages and states
The initiator sends a connection request to the acceptor to establish a peering connection. After the acceptor accepts the request, the peering connection is established.
|Stage||State of the peering connection on the initiator||State of the peering connection on the acceptor|
|Send a connection request from the initiator||Connecting||Accepting|
|Successfully establish a peering connection||Active||Active|
|Deactivate a peering connection||Deactivating||Deactivating|
|Close a peering connection||Inactive||Inactive|
|Resend a connection request||Activating||Activating|