Adding a Network Load Balancer Backend Server

Add a backend server that receives incoming traffic to a network load balancer.

For prerequisite information, see Backend Servers for Network Load Balancers.

    1. Open the navigation menu, click Networking, and then click Load balancers. Click Network load balancer. The Network load balancers page appears.
    2. Select the Compartment from the list. All network load balancers in that compartment are listed in tabular form.
    3. Select a State from the list to limit the network load balancers displayed to that state.
    4. Select the network load balancer for which you want to add a backend server. The network load balancer's Details page appears.
    5. Click Backend sets under Resources. The Backend sets list appears. All backend sets are listed in tabular form.
    6. Click the backend set whose details you want to get. The backend set's Details page appears.
    7. Click Backends under Resources. The Backends list appears. All backend servers are listed in tabular form.
    8. Click Add backends. The Add backends dialog box appears.
    9. Complete the following:
      • Instance in <compartment>: Select the instance you want to include in the load balancer's backend set contained in the selected compartment. To select instances from a different compartment, use the Change compartment link and choose a compartment from the list.

      • IP address: Select one of the available IP addresses for the instance you selected from the list.

      • Availability domain: Displays the availability domain for the instance you selected.

      • Port: Enter the communication port for the backend server.

      • Weight: Enter the load balancing policy weight number assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic.

      Click Add more backends to add another backend.

    10. Click Add backends.

    The backend server you added appears in the backend list of the backend set.

  • Use the oci nlb backend create command and required parameters to add a backend server to a network load balancer:

    oci nlb backend create --backend-set-name backend_set_name --network-load-balancer-id network_load_balancer_ocid --port port [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • Run the CreateBackend operation to add a backend server to a backend set for a network load balancer.