Help Center/ Enterprise Router/ Best Practices/ Setting Up a Hybrid Cloud Network Using Enterprise Router and a Pair of Active/Standby Direct Connect Connections (Global DC Gateway)/ Process of Setting Up a Hybrid Cloud Network Using Enterprise Router and a Pair of Active/Standby Direct Connect Connections (Global DC Gateway)
Updated on 2024-12-09 GMT+08:00

Process of Setting Up a Hybrid Cloud Network Using Enterprise Router and a Pair of Active/Standby Direct Connect Connections (Global DC Gateway)

Table 1 describes the overall process of setting up a hybrid cloud network using an enterprise router and a pair of active/standby Direct Connect connections.

Table 1 Process of setting up a hybrid cloud network

Step

Description

Step 1: Create Cloud Resources

  1. Create an enterprise router. (Only one enterprise router is required in the same region.)
  2. Create a service VPC with a subnet.
  3. Create an ECS in the VPC.

Step 2: Attach the VPC to the Enterprise Router

  1. Attach the VPC to the enterprise router.
  2. In the route table of the VPC, add a route with the enterprise router as the next hop and the on-premises network CIDR block as the destination.

Step 3: Attach the Global DC Gateways to the Enterprise Router

  1. Establish connectivity using one connection and verify connectivity.
    1. Create a Direct Connect connection to connect the on-premises data center to the cloud over a line you leased from a carrier.
    2. Create a global DC gateway.
    3. Create a virtual interface to connect the global DC gateway to the connection.
    4. Set up a peer link between the global DC gateway and the enterprise router.
    5. Configure routes on the network device in the on-premises data center.
    6. Log in to the ECS and run the ping command to verify connectivity.
  2. Establish connectivity using the other connection and verify connectivity. For details, see 1.

Step 4: Configure Active/Standby Routes on the Enterprise Router and on the On-Premises Network

  1. In the enterprise router route table, check whether the BGP routes learned by the enterprise router through the global DC gateway attachments are working in an active/standby pair and the route learned through the global DC gateway DGW-A attachment is preferred.
    • If the AS_Path lengths are different due to different Direct Connect links, active and standby routes are automatically formed. In this case, you do not need to configure a route policy.
    • In other cases, perform 2 to configure active and standby routes on the enterprise router.
  2. (Optional) Configure active/standby routes on the enterprise router.
    Adding a policy value to the AS_Path of the route may cause network loops. Before configuring a route policy, check your network plan.
    1. Create a route policy that contains two nodes.
    2. Associate the route policy with the propagation of each global DC gateway attachment to enable the BGP routes learned by the enterprise router through the global DC gateway attachments to work in an active/standby pair.
  3. Configure active/standby routes on the on-premises network device.