Adding a Load Balancer Backend Server
Add a backend server to a load balancer.
For prerequisite information, see Backend Servers for Load Balancers.
Note
If the load balancer has no backend sets, you must create one before you can specify a backend server. See Creating a Load Balancer Backend Set for more information. To ensure reachability between the public load balancer and its public IP address based backends, configure a NAT Gateway. See NAT Gateway for more information.
Use the oci lb backend create command and required parameters to add a backend server to a load balancer:
oci lb backend create --backend-set-name backend_set_name --load-balancer-id load_balancer_id --ip-address ip_address --port port [OPTIONS]
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 load balancer.