An Elastic Network Interface (ENI) is a virtual network interface that can be attached to an ECS instance in a VPC. When you add backend servers to a guaranteed-performance Server Load Balancer (SLB) instance, you can choose to add the primary and secondary private IP addresses of ENIs if the ENIs are associated with ECS instances.
For more information about how to associate an ENI with an ECS instance, see Attach an ENI.
- Log on to the SLB console.
- In the left-side navigation pane, click Server Load Balancer. On the Server Load Balancer page, click the ID of the target SLB instance.
- Select the backend server group type by clicking the corresponding tab. Default server groups, VServer groups, and active/standby server groups all support adding the primary and secondary private IP addresses of ENIs. In this topic, click the Default Server Group tab and then click Add.
- On the Available Servers page, turn on Advanced Mode and click to select ENIs and its secondary private IP addresses.
- Click Next: Set Weight and Port to set the weights and port numbers of the added backend servers.
- Click OK and you can see the added ENIs and its private IP addresses on the Default Server
If the default server group is added for a listener, you can see the backend servers added with ENIs and secondary private IP addresses on the Server Load Balancer page as follows:where,
- : Represents an ECS instance.
- : Represents an ENI and its secondary private IP address.