This topic describes how to create a peering connection between two virtual private clouds (VPCs).

Background information

Procedure

  1. Log on to the Express Connect console.
  2. In the left-side navigation pane, choose VPC Peering Connections > VPC-to-VPC.
  3. Click Create Peering Connection.
  4. Configure the parameters of the peering connection.
    Parameter Description
    Account Type
    Specify whether the VPCs that you want to connect belong to the same Alibaba Cloud account.
    • Same-account: The VPCs belong to the same Alibaba Cloud account. In this case, the system creates the initiator and acceptor instances and automatically establishes a connection between them.
    • Cross-account: The VPCs belong to different Alibaba Cloud accounts. In this case, you must separately create the initiator and acceptor instances and initiate a connection request from the initiator instance.
    Connection Type
    Select the type of the peering connection.
    • VPC-to-VPC: The peering connection connects two VPCs.
    • VBR-to-VPC: The peering connection connects a VPC and a virtual border router (VBR). For more information, see Connect a VBR and a VPC.

    For this example, select VPC-to-VPC.

    Routers to Create Select the router interfaces to create.
    • Initiator and Acceptor: Both the initiator and acceptor instances are created. The initiator instance automatically connects to the acceptor instance.

      This option appears only when you set Account Type to Same-account.

    • Initiator Only: Only the initiator instance is created. The initiator instance initiates a connection request.

      Router Type of the initiator instance can be VRouter or Virtual Border Router (VBR). For a VBR-to-VPC peering connection, Router Type of the initiator instance must be Virtual Border Router (VBR).

      This option appears only when you set Account Type to Cross-account.

    • Acceptor Only: Only the acceptor instance is created.

      Router Type of the acceptor instance must be VRouter.

      This option appears only when you set Account Type to Cross-account.
      Note You must set Product Type to PostPaid. The acceptor instance is free of charge.
    Local VPC ID Select the ID of the local VPC, which is the connection initiator.
    Local Region Select the region of the local VPC.
    Peer VPC ID Select the ID of the peer VPC, which is the connection acceptor.
    Peer Region Select the region of the peer VPC.
    Bandwidth Specify the bandwidth of the peering connection.

    You do not need to specify the bandwidth for the acceptor instance. The default bandwidth is used.

    Validity Specify the subscription period.

    To enable automatic renewal upon expiration, select Auto-renewal.