Cloud Enterprise Network (CEN) helps you build a high-quality network environment. CEN provides a simplified networking method to build a hybrid cloud with a scale and communication capability at the enterprise level. This topic describes how to combine Express Connect circuits, virtual private network (VPN) gateways, and Smart Access Gateway (SAG) instances to build a hybrid cloud.
Network topology
The following network topology is used in this example:
- Data centers in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Guangzhou) regions are deployed by an enterprise.
- In addition, the enterprise created virtual private clouds (VPCs) in the China (Beijing), China (Shanghai), China (Hangzhou), and China (Shenzhen) regions.
- The data centers in the China (Beijing) and China (Shanghai) regions are connected to Alibaba Cloud by using Express Connect circuits. The virtual border routers (VBRs) of the Express Connect circuits are attached to a CEN instance.
- The data center in the China (Hangzhou) region is connected to the VPC in the China (Hangzhou) region by using a VPN gateway.
- The data center in the China (Guangzhou) region is connected to Alibaba Cloud by using an SAG instance. The Cloud Connect Network (CCN) instance to which the SAG instance belongs is attached to the CEN instance.
- The VPCs of the enterprise in the China (Beijing), China (Shanghai), China (Shenzhen), and China (Hangzhou) regions are attached to the CEN instance.
Subnetting
To build a hybrid cloud, make sure that the CIDR blocks that you want to connect do
not overlap with each other. The following table describes the CIDR blocks in this
example.
Network | CIDR block |
---|---|
Data center in China (Hangzhou) | 10.1.1.0/24 |
Data center in China (Guangzhou) | 10.1.2.0/24 |
Data center in China (Beijing) | 10.1.3.0/24 |
Data center in China (Shanghai) | 10.1.4.0/24 |
VPC in China (Beijing) | 192.168.1.0/24 |
VPC in China (Shenzhen) | 192.168.2.0/24 |
VPC in China (Shanghai) | 192.168.3.0/24 |
VPC in China (Hangzhou) | 192.168.4.0/24 |
Methods that are used to connect data centers to Alibaba Cloud
The data centers are connected to Alibaba Cloud by using the following methods:
- Connect the data centers in the China (Beijing) and China (Shanghai) regions to Alibaba Cloud by using Express Connect circuits
- Connect the data center in the China (Hangzhou) region to Alibaba Cloud by using a VPN gateway
- Connect the data center in the China (Guangzhou) region to Alibaba Cloud by using an SAG instance
Connect the data centers in the China (Beijing) and China (Shanghai) regions to Alibaba Cloud by using Express Connect circuits
Procedure:
Connect the data center in the China (Hangzhou) region to Alibaba Cloud by using a VPN gateway
Procedure:
Connect the data center in the China (Guangzhou) region to Alibaba Cloud by using an SAG instance
Procedure:
Connect the data centers in all regions
Repeat the preceding procedures to connect all data centers by using CEN.
- The data centers in the China (Beijing) and China (Shanghai) regions are connected to Alibaba Cloud by using Express Connect circuits over BGP. Therefore, attach the VBRs to the CEN instance.
- The data center in the China (Hangzhou) region is connected to Alibaba Cloud by using a VPN gateway. Therefore, attach the VPC for which the VPN gateway is created to the CEN instance.
- The data center in the China (Guangzhou) region is connected to Alibaba Cloud by using an SAG instance. Therefore, attach the CCN instance that is associated with the SAG instance to the CEN instance.
The CEN instance dynamically advertises the routes from the attached network instances
to avoid route overlapping. This way, a hybrid cloud is built for the data centers
and the attached network instances can communicate with each other.
For example, the following tables describe the route tables of the CPE in the China
(Beijing) region, the VBR in the China (Beijing) region, and the VPC in the China
(Shenzhen) region:
Destination CIDR block | Next hop | Route type |
---|---|---|
10.1.1.0/24 | BGP peer: VBR in China (Beijing) | BGP route |
10.1.2.0/24 | BGP peer: VBR in China (Beijing) | BGP route |
10.1.4.0/24 | BGP peer: VBR in China (Beijing) | BGP route |
192.168.1.0/24 | BGP peer: VBR in China (Beijing) | BGP route |
192.168.2.0/24 | BGP peer: VBR in China (Beijing) | BGP route |
192.168.3.0/24 | BGP peer: VBR in China (Beijing) | BGP route |
192.168.4.0/24 | BGP peer: VBR in China (Beijing) | BGP route |
Destination CIDR block | Next hop | Route type |
---|---|---|
10.1.3.0/24 | BGP peer: CPE in China (Beijing) | BGP route |
10.1.1.0/24 | VPC in China (Hangzhou) | CEN route |
10.1.2.0/24 | CCN | CEN route |
10.1.4.0/24 | VBR in China (Shanghai) | CEN route |
192.168.1.0/24 | VPC in China (Beijing) | CEN route |
192.168.2.0/24 | VPC in China (Shenzhen) | CEN route |
192.168.3.0/24 | VPC in China (Shanghai) | CEN route |
192.168.4.0/24 | VPC in China (Hangzhou) | CEN route |
Destination CIDR block | Next hop | Route type |
---|---|---|
10.1.1.0/24 | VPC in China (Hangzhou) | CEN route |
10.1.2.0/24 | CCN | CEN route |
10.1.3.0/24 | VBR in China (Beijing) | CEN route |
10.1.4.0/24 | VBR in China (Shanghai) | CEN route |
192.168.1.0/24 | VPC in China (Beijing) | CEN route |
192.168.3.0/24 | VPC in China (Shanghai) | CEN route |
192.168.4.0/24 | VPC in China (Hangzhou) | CEN route |