Overview
Creating a load balancer in Xloud involves provisioning the top-level resource with a virtual IP, then adding a listener (protocol and port), a pool (backend collection), pool members (backend instances), and a health monitor. The Dashboard creation wizard guides you through all five steps in sequence. The CLI allows each component to be created independently.Prerequisites
- An active Xloud account with appropriate permissions
- Access to the Xloud Dashboard (
https://connect.<your-domain>) or CLI configured with credentials - API credentials sourced (
source admin-openrc.sh)
Load balancers must be placed on a subnet that has routing access to your backend
instances. Verify that security group rules allow ingress on the member port from
the load balancer’s VIP subnet before adding members.
Create via Dashboard (Wizard)
Open the creation wizard
Log in to the Xloud Dashboard (
https://connect.<your-domain>) and navigate to
Project → Network → Load Balancers. Click Create Load Balancer.Configure load balancer details
Complete the Load Balancer Details panel:
| Field | Description |
|---|---|
| Name | Display name (e.g., prod-web-lb) |
| Description | Optional description |
| IP Address | Leave blank to auto-assign a VIP, or specify a fixed IP |
| Subnet | The subnet hosting the VIP — must be reachable from backend instances |
| Availability Zone | Fault domain for appliance placement |
Add a listener
Complete the Listener Details panel:
| Field | Value | Description |
|---|---|---|
| Name | listener-http | Display name |
| Protocol | HTTP | Layer 7 protocol |
| Protocol Port | 80 | Port accepting connections |
| Connection Limit | -1 | Unlimited; set positive integer to cap |
Configure the pool
Complete the Pool Details panel:
Algorithm options:
| Field | Value | Description |
|---|---|---|
| Name | pool-http | Pool display name |
| Algorithm | ROUND_ROBIN | Traffic distribution method |
| Session Persistence | None | Enable for stateful application sessions |
ROUND_ROBIN— distributes requests evenly across all UP membersLEAST_CONNECTIONS— sends to the member with fewest active connectionsSOURCE_IP— routes the same client IP to the same member
Add pool members
In the Pool Members panel, click Add next to each instance to register it.
| Field | Description |
|---|---|
| IP Address | Auto-populated from the selected instance |
| Protocol Port | Port your application listens on (e.g., 8080) |
| Weight | Relative weight — higher weight receives proportionally more requests |
Configure health monitor
Complete the Monitor Details panel:
| Field | Value | Description |
|---|---|---|
| Type | HTTP | Sends a GET request and validates the response code |
| Delay | 5 | Seconds between probes |
| Timeout | 3 | Seconds to wait for a probe response |
| Max Retries | 3 | Failures before marking a member DOWN |
| URL Path | /health | Endpoint returning HTTP 200 when healthy |
| Expected Codes | 200 | Comma-separated acceptable HTTP status codes |
Create via CLI
Authenticate and create the load balancer
Source credentials
Create load balancer
ACTIVE status:Wait for ACTIVE status
Next Steps
Floating IP Assignment
Expose the load balancer VIP on a public network for external access.
Listeners
Add HTTPS, TCP, or additional HTTP listeners to the load balancer.
Health Monitors
Tune health check parameters for your application’s response characteristics.
Troubleshooting
Resolve PENDING_CREATE status and member health issues.