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. On the Network load balancers list page, select the network load balancer that you want to work with. If you need help finding the list page or the network load balancer, see Listing Network Load Balancers.
    2. On the details page, select Backend sets.
    3. On the details page for the backend set, select Backends.
    4. Select Add backends.
    5. Enter the following information:
      • 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 select 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.

      Select Add more backends to add another backend.

    6. Select 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 --name backend_server_name --backend-set-name backend_set_name --network-load-balancer-id network_load_balancer_ocid --port port [OPTIONS]
    where backend_server_name is an optional unique name for the backend server. If you don't include a name when creating the backend server, Network Load Balancer generates a name automatically.

    For a complete list of parameters and values for CLI commands, see the CLI Command Reference.

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