All Products
Search
Document Center

Platform For AI:Manage Lingjun hubs

Last Updated:Dec 22, 2023

You can use Lingjun hubs to connect different Lingjun Virtual Private Datacenters (VPDs) and connect Lingjun VPDs to Lingjun connections. This helps you establish a Lingjun network with ease. This topic describes how to manage Lingjun hubs.

Background information

  • A Lingjun hub is a core forwarding network element within a region and can forward traffic between network instances in the same region. You can use a Lingjun hub to connect multiple network instances such as Lingjun VPDs and Lingjun connections at the same time. The connection between a network instance and a Lingjun hub is called a network instance connection.

  • Each Lingjun hub contains a route table. You can create custom routing policies in the route table or use the routing policy that is automatically created by the system. In a routing policy, you can configure the source network instance for advertising routes and the destination network instance for receiving routes. Only network instances that are configured with routing policies can be connected to each other.

  • In a Lingjun hub, multiple Lingjun VPDs can be connected to each other and share the same Lingjun connection, as shown in Figure 1. In a Lingjun network, multiple Lingjun connections can be used, as shown in Figure 2.

  • High reliability and high quality

    The underlying layer of a Lingjun hub supports load balancing by using multiple physical routes and multiple physical devices. In this case, if a device or link is interrupted, traffic can be switched within seconds. Multiple sets of high-quality transmission links exist between any two nodes in a Lingjun network. If an underlying link is interrupted, the network is automatically converged.

  • Secure and flexible enterprise-class networking

    You can create a custom routing policy for a Lingjun hub to meet your enterprise-class networking requirements.

Procedure

  1. Create a Lingjun hub.

  2. Create a network instance connection. You can create a network instance connection for a Lingjun hub to connect Lingjun VPDs and Lingjun connections to the Lingjun hub.

  3. Create a routing policy. You can create a routing policy to connect network instances.

    Note

    Both network instance connections and routing policies belong to Lingjun hubs.

Create a Lingjun hub

  1. Log on to the Intelligent Computing Lingjun console.

  2. In the left-side navigation pane, choose Network Resources > Lingjun Hubs. You can search for a Lingjun hub by specifying the Instance ID or Instance Name condition.

  3. Click Create Lingjun Hub. On the Create Lingjun Hub page, configure the Name, Zone, and Description parameters.

    Important

    You cannot change the zone of a Lingjun hub after the hub is created. We recommend that you select the zone of Lingjun nodes and Lingjun connections. This can minimize network access latency.

  4. Click OK.

    Note

    You can create up to four Lingjun hubs in a region.

Create a network instance connection

Warning

While a network instance connection is being created for a Lingjun hub, packet loss within seconds may occur in the traffic in the Lingjun hub. We recommend that you create a network instance connection during off-peak hours.

You can create a network instance connection in a Lingjun hub.

  1. Log on to the Intelligent Computing Lingjun console.

  2. In the left-side navigation pane, choose Network Resources > Lingjun Hubs.

  3. Click the ID or name of the Lingjun hub for which you want to create a network instance connection.

  4. On the Instance Details page, view the basic information about the Lingjun hub.

  5. Click the Network Instance Connection tab to view the created network instance connections.

  6. Click Create Network Instance Connection. In the Create Network Instance Connection panel, configure parameters such as Connection Name and Network Instance Type.

    Important

    To create a network instance connection across accounts, perform the following operations:

    1. Grant permissions to the current Lingjun hub within your Alibaba Cloud account by using the other Alibaba Cloud account. For more information, see the Authorize Lingjun hubs across accounts section of the "Manage Lingjun VPDs" topic and the Authorize Lingjun hubs across accounts section of the "Manage Lingjun connections" topic.

    2. Set the Account of Resources parameter to Across Accounts.

  7. Click Yes.

    Important

    If you select All routes from this Lingjun hub are automatically received., the system automatically creates a routing policy for the Lingjun hub after the network instance connection is created. This way, the network instance connection automatically receives all the routes from other network instances in the Lingjun hub, including the routes from network instances that are added later.

Create a routing policy

You can create a routing policy for a Lingjun hub to control the received routes of all network instance connections that are associated with the Lingjun hub. If no routing policy is configured for a Lingjun hub, all network instance connections that are associated with the Lingjun hub cannot receive routes.

You can use one of the following methods to create a routing policy:

  • Automatically create a routing policy. To automatically create a routing policy, select All routes from this Lingjun hub are automatically received. when you create a network instance connection.

  • Manually create a routing policy. To manually create a routing policy, perform the following steps:

    1. In the left-side navigation pane, choose Network Resources > Lingjun Hubs.

    2. Click the ID or name of the Lingjun hub for which you want to create a routing policy.

    3. On the Instance Details page, click the Routing Policy tab to view the created routing policies.

    4. Click Create Routing Policy. In the Create Routing Policy panel, configure parameters such as Policy ID, Source Instance for Advertising Route, and Destination Instance for Receiving Route.

      Note
      • If you set the Policy Action parameter to Allow, the source and destination instances can be connected. If you set the Policy Action parameter to Deny, the source and destination instances cannot be connected.

      • If you create two routing policies that involve the same source and destination instances, the system preferentially matches the routing policy whose policy ID is smaller.

    5. Click Yes.

View the routes of a network instance

  1. In the left-side navigation pane, choose Network Resources > Lingjun Hubs.

  2. Click the ID or name of the Lingjun hub that you want to view.

  3. On the Instance Details page, click the Routing Policy tab to view the ID of the source or destination network instance, policy ID, and policy status. Click the Network Instance Routing Information tab. On this tab, filter routes by specifying the network instance ID or name.

    Note

    A routing policy can be in the Available, Unavailable, In Progress, or Deleting state.

Delete a routing policy

  1. In the left-side navigation pane, choose Network Resources > Lingjun Hubs.

  2. Click the ID or name of the Lingjun hub that you want to manage.

  3. On the Instance Details page, click the Routing Policy tab. On this tab, find the routing policy that you want to delete and click Delete in the Actions column.

  4. In the Delete message, click Yes.

Delete a network instance connection

  1. In the left-side navigation pane, choose Network Resources > Lingjun Hubs.

  2. Click the ID or name of the Lingjun hub that you want to manage.

  3. On the Instance Details page, click the Network Instance Connection tab. On this tab, find the network instance connection that you want to delete and click Delete in the Actions column.

  4. In the Delete message, click Yes.

Delete a Lingjun hub

Important

Before you delete a Lingjun hub, make sure that the Lingjun hub does not have a network instance connection or routing policy.

  1. In the left-side navigation pane, choose Network Resources > Lingjun Hubs.

  2. On the Lingjun Hubs page, find the Lingjun hub that you want to delete and click Delete in the Actions column.

  3. In the Delete message, click Yes.