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.
      All backend sets in the selected network load balancer are displayed in a table.
    3. On the details page for the backend set, select Backends.
    4. Select Add backends.
    5. From the Add backends panel, enter the following information:
      • Backend type: Select one of the following options:
        • Compute instances: Enter the following information under Backend:
          • Instance compartment: Select the compartment containing the compute instance you want to use for the backend server from the list.
          • Instance: Select the compute instance you want for the backend server from the list.
          • IP address: Select the IP address for the backend server from the list.
          • Availability domain: This value is automatically assigned based on the instance you selected.
          • Port: Enter the communication port for the backend server. Sometimes the port value is fixed as "Any."
          • Weight: (Optional) Enter the load balancing policy weight number assigned to the server. Backend servers with a greater weight receive a larger proportion of incoming traffic.

          Select Add another backend to configure another backend server of the same type (Compute instance).

        • IP address: Enter the following information under Backend:
          • IP address: Enter the IP address of the backend server.
          • Port: Enter the communication port for the backend server. Sometimes the port value is fixed as "Any."
          • Weight: (Optional) Enter the load balancing policy weight number assigned to the server. Backend servers with a greater weight receive a larger proportion of incoming traffic.
          Note

          Preserve source IP must be disabled in the backend set to add an IP address-based backend server.

          Select Add another backend to configure another backend server of the same type (Compute instance).

    6. Select Add more backends to add another backend.
    7. 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.