Network and Resource Planning
- Network Planning: Plan the VPC and enterprise router route tables.
- Resource Planning: Plan the quantity, names, and main parameters of cloud resources, including global DC gateways, virtual interfaces, VPC, ECS, and enterprise router.
Network Planning
During the migration, you need to add routes to the VPC and enterprise router route tables. For details, see Table 1.
The following figures show the network in different phases.
- Networking topology before migration
- Networking topology during migration
- Networking topology after migration
The routes in the figures are only examples for your reference. You need to plan routes based on service requirements.
Route Table |
Description |
---|---|
VPC route table |
Table 2 lists all the routes in the VPC route table.
|
Enterprise router route table |
Table 3 lists all the routes in the enterprise router route table. During the migration, add routes pointing to the VPC CIDR block and global DC gateway to forward the traffic between the VPC and Direct Connect connections through the enterprise router.
If Default Route Table Association and Default Route Table Propagation are enabled for the enterprise router, routes with destinations set to the attachments are automatically added when you attach the VPC and virtual gateways to the enterprise router.
|
VPC |
Route Table |
Destination |
Next Hop Type |
Next Hop |
Route Type |
Description |
Phase |
---|---|---|---|---|---|---|---|
VPC-X |
rtb-vpc-X |
172.16.0.0/16 |
Direct Connect gateway |
VGW-A |
System |
Destined for the on-premises network CIDR block |
|
10.0.0.0/30 |
Direct Connect gateway |
VGW-A |
System |
Destined for the local and remote gateways of VIF-A01 |
|
||
10.1.0.0/30 |
Direct Connect gateway |
VGW-A |
System |
Destined for the local and remote gateways of VIF-A02 |
|
||
172.16.0.0/15 |
Enterprise router |
ER-X |
Custom |
Destined for the large CIDR block |
|
||
172.16.0.12/32 |
Enterprise router |
ER-X |
Custom |
Destined for any on-premises server to verify communications |
During migration |
Enterprise Router |
Route Table |
Destination |
Next Hop |
Attached Resource |
Route Type |
Description |
Phase |
---|---|---|---|---|---|---|---|
ER-X |
defaultRouteTable |
192.168.0.0/16 |
er-attach-VPC-X |
VPC-X |
Propagated |
Destination: VPC-X |
|
172.16.0.0/16 |
er-attach-DGW-B01 er-attach-DGW-B02 |
DGW-B01 DGW-B02 |
Propagated |
Destination: on-premises network CIDR block If the next hop is two global DC gateways, the two global DC gateway attachments work in load balancing mode. If load balancing is not required, you can modify the route policy to make the two global DC gateway attachments work in an active/standby pair. |
|
||
10.0.0.0/30 |
er-attach-DGW-B01 |
DGW-B01 |
Propagated |
Destination: local and remote gateways of VIF-B01 |
|
||
10.1.0.0/30 |
er-attach-DGW-B02 |
DGW-B02 |
Propagated |
Destination: local and remote gateways of VIF-B02 |
|
Resource Planning
During the migration, you need to create the required number of enterprise routers, global DC gateways, and virtual interfaces. After the migration is complete, the original resources can be released. Table 4 describes the required resources.
The following resource planning details are only for your reference. You need to plan resources based on service requirements.
Resource |
Quantity |
Description |
Phase |
---|---|---|---|
VPC |
1 |
A VPC is required for running your workloads.
|
|
Direct Connect connection |
2 |
In this example, there are two connections: DC-01 and DC-02. No new connection is created during the migration. |
|
Direct Connect virtual gateway |
1 |
The virtual gateway connected to the VPC.
|
|
Direct Connect virtual interface associated with the virtual gateway |
2 |
There are two virtual interfaces.
|
|
Direct Connect global DC gateway |
2 |
Two global DC gateways are created and are used to replace virtual gateway VGW-A.
|
|
Direct Connect virtual interface associated with the global DC gateway |
2 |
The following are the two virtual interfaces after the migration. VIF-B01 is used to replace VIF-A01, and VIF-B02 is used to replace VIF-A02.
|
|
Enterprise router |
1 |
The enterprise router that is in the same region as the service VPC.
NOTICE:
Do not enable Auto Add Routes when you create the VPC attachment. If this option is enabled, Enterprise Router automatically adds routes (with this enterprise router as the next hop and 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 as the destinations) to all route tables of the VPC. During the migration, manually add routes with destinations set to the large CIDR block in the VPC route table. |
|
ECS |
1 |
An ECS is required to verify connectivity.
|
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.