Overview
Scenario
- Multiple connections may lead to complex networking and incur higher O&M costs.
- Connections are independent of each other and cannot work in load balancing or active/standby mode.
To improve the reliability of your hybrid cloud network and reduce O&M costs, you can use an enterprise router to reconstruct the network.
This practice describes how you can use an enterprise router and global DC gateways to migrate a network set up through Direct Connect without interrupting services.
Architecture
Your on-premises data center is connected to the desired VPC (VPC-X) through Direct Connect, and VPC-X, virtual gateway VGW-A, and two virtual interfaces (VIF-A01 and VIF-A02) are in the same region. To improve the reliability of your hybrid cloud network and reduce O&M costs, you can use global DC gateways and Enterprise Router to migrate the network.
- Before the migration, virtual gateway VGW-A directly connects to VPC-X and works with virtual interfaces VIF-A01 and VIF-A02 to allow the on-premises data center to access VPC-X.
- During migration
- Attach VPC-X and virtual gateway VGW-A to an enterprise router. In the route table of VPC-X, ensure that the routes of the virtual gateway and of the enterprise router do not conflict with each other. A CIDR block larger than the on-premises network CIDR block will be used to avoid route conflicts.
- Create a global DC gateway DGW-B01.
- Delete virtual interface VIF-A01 created for virtual gateway VGW-A, create virtual interface VIF-B01 for global DC gateway DGW-B01, and attach global DC gateway DGW-B01 to the enterprise router.
Virtual interface VIF-B01 is used to replace virtual interface VIF-A01 after the migration. The on-premises data center can access VPC-X through the enterprise router.
- Create global DC gateway DGW-B02.
- Delete virtual interface VIF-A02 created for virtual gateway VGW-A, create virtual interface VIF-B02 for global DC gateway DGW-B02, and attach global DC gateway DGW-B02 to the enterprise router.
- When the on-premises data center can access the VPC through the enterprise router, delete virtual gateway VGW-A.
Advantages
- Enterprise routers support route learning, which frees you from complex configurations and simplifies O&M.
- Enterprise routers make it possible for multiple connections to work in load balancing or active/standby mode.
Constraints
Using Enterprise Router to migrate a network set up through Direct Connect may cause intermittent disconnections. Submit a service ticket to evaluate the migration solution.
If a service VPC is being used by ELB, VPC Endpoint, NAT Gateway (private NAT gateway), Distributed Cache Service (DCS), or hybrid DNS, this VPC cannot be attached to an enterprise router.
