After you configure your Google Cloud resources, configure your Alibaba Cloud resources.
For the most up-to-date information about how to create a Virtual Border Router (VBR), see Create and manage a VBR in the Alibaba Cloud documentation.
Create a Virtual Border Router (VBR)
A VBR connects customer premises equipment to a Virtual Private Cloud (VPC) network and allows data transfer between them.
To create a VBR, follow these steps.
Console
- Log in to the Alibaba Cloud Express Connect console .
-
On the Virtual Border Routerpage, click Create VBR, and then set the following parameters:
- For Physical Connection Interface, select Express Connect circuit, and then select the Express Connect circuit IDfrom the list.
- For VLAN ID, enter the VLAN ID that you used earlier when configuring Google resources.
- For Set VBR Bandwidth Value, enter your desired bandwidth.
- For IPv4 Address (Alibaba Cloud Gateway), enter the BGP peer IP address of the Google Cloud Router BGP peering.
- For IPv4 Address (Data Center Gateway), enter the Cloud Router BGP IP address of the Google Cloud Router BGP peering.
-
Click OK.
Create a VBR-to-VPC network connection
To connect the VBR to a VPC network, follow these steps.
Console
- In the Express Connect console, go to the VPC Peering Connections > VBR-to-VPCpage.
-
Click Create Peering Connection, and then set the following parameters:
- For Initiator Region, select the region where you created the VBR.
- For Initiator VBR, select the VBR that you created.
- For Acceptor Region Type, select Intra-Regionif the VPC network is in the same region as the VBR. Select Inter-Regionif the VPC network is in a different region.
- For Acceptor VPC, select the VPC network that you want to connect to Google Cloud.
- Select the I have read and accept the Terms of Service for Express Connect Peering Connections (Pay-As-You-Go)checkbox.
-
Click OK.
Create a custom route in the VPC network
To create a custom route in the VPC network, follow these steps:
Console
- In the VPC console, on the Route Tablespage, click the route table.
- On the specific route table page, choose the Custom Routetab under the Route Entry Listtab.
-
Click Add Route Entry, and then set the following parameters:
- For Destination CIDR Block, enter the VPC IP address range in Google Cloud.
- For Next Hop Type, select Router Interface (To VBR), click General Routing, and then select the VBR.
-
Click OK.
Create a custom route in the VBR
To create a custom route in the VBR, follow these steps.
Console
- In the Express Connect console, on the Virtual Border Routerpage, click the VBR.
- On the specific VBRpage, click the Routestab.
-
Click Add Route, and then set the following parameters:
- For Next Hop Type, select VPC.
- For Destination CIDR Block, enter the VPC network IP address range on Alibaba Cloud.
- For Next Hop, select the VPC network.
-
Click OK.
Configure BGP peering in a VBR
To set up BGP peering in the VBR, follow these steps.
Console
- In the Express Connect console, on the Virtual Border Routerpage, click the VBR.
- On the corresponding VBRpage, click the BGP Groupstab.
-
Click Create BGP Group, and then set the following parameters:
- For Peer ASN, enter the ASN that you specified in the Cloud Router on Google Cloud.
- If you configured BGP MD5 authentication on your Google Cloud Router BGP peering, for BGP Key, enter the BGP MD5 key.
- Click OK.
-
On the corresponding VBRpage, click the BGP Peerstab.
-
Click Create BGP Peer, and then set the following parameters:
- For BGP Group, select the BGP group.
- For BGP Peer IP, enter the VLAN attachment's Cloud Router BGP IP.
- If you enabled Bidirectional Forwarding Detection (BFD) on your Google Cloud Router BGP peering, check the Enable BFDoption.
- Click OK.
-
On the corresponding VBRpage, click the Advertised BGP Subnetstab.
-
Click Advertise BGP Subnet, and then set the following parameters:
- For Advertised Subnet, enter the VPC network IP address range on Alibaba Cloud.
- Click OK.

