An Elastic Network Interface (ENI) is a virtual network interface that can be attached to a VPC-type ECS instance. You can use ENIs to deploy high-availability clusters and perform low-cost failovers and fine-grained network management. This topic describes how to add the primary and secondary private IP addresses of ENIs to backend servers when you add backend servers to a guaranteed-performance Server Load Balancer (SLB) instance.

Background information

The ECS instances to be added as backend servers are attached with multiple ENIs before you add a backend server group to an SLB instance.

For more information about how to attach an EIP to an ECS instance, see Bind an ENI.

Note You can add the primary and secondary private IP addresses of ENIs to backend servers of only guaranteed-performance SLB instances.

Procedure

  1. Log on to the Server Load Balancer console.
  2. In the left-side navigation pane, choose Instances > Instances.
  3. On the Instances page, click the ID of the SLB instance for which you want to create a backend server group.
  4. Click the VServer Groups, Default Server Group, or Primary/Secondary Server Groups tab.
    Note You can add the primary and secondary private IP addresses of ENIs to default server groups, VServer groups, and primary/secondary server groups. A VServer group is created in the example.
  5. On the VServer Groups tab, click Create VServer Group.
  6. On the Create VServer Group page, click Add.
  7. In the My Servers panel, turn on Advanced Mode and select Elastic Compute Service (ECS)/Elastic Network Interface (ENI) from the Select Backend Server Type drop-down list.
  8. Select the ECS instances that you want to add to the server group and click Next to configure the ports and weights for the instances.
  9. Click Add.

    If the default server group is added for a listener, you can view the backend server group that is added with ENIs and secondary private IP addresses on the Instances page.

    • indicates an ECS instance.
    • indicates an ENI and its secondary private IP address.