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 migrate the network by replacing Direct Connect with Enterprise Router.
For details, see Enterprise Router Service Overview.
Architecture
Your on-premises data center can access VPC-X in region A over a Direct Connect connection that has a virtual gateway (VGW-A) and two virtual interfaces (VIF-A01 and VIF-A02). To improve the reliability of your hybrid cloud network and reduce O&M costs, you can migrate the network by replacing Direct Connect with Enterprise Router.
- 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 the enterprise router do not conflict with each other. A CIDR block larger than the on-premises CIDR block will be used to avoid route conflicts.
- Create a virtual gateway VGW-B and attach it to the enterprise router.
- Delete virtual interface VIF-A02 associated with virtual gateway VGW-A and create virtual interface VIF-B02 for virtual gateway VGW-B.
VIF-B02 is used to replace VIF-A02 after the migration. The on-premises data center can access VPC-X through the enterprise router.
- Delete virtual interface VIF-A01 associated with virtual gateway VGW-A and create virtual interface VIF-B01 for virtual gateway VGW-B.
- 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.
Enterprise Router and Direct Connect can work together to build a highly reliable hybrid cloud network. For details, see Allowing Direct Connect and VPN to Work in an Active and Standby Pair to Link an On-Premises Data Center to the Cloud.
Constraints
- If resources in a service VPC have virtual IP addresses bound, the service VPC cannot be attached to an enterprise router.
- 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.