Skip to main content

Overview

Creating a load balancer in Polystack 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 Polystack account with appropriate permissions
  • Access to the Polystack Dashboard or CLI configured with credentials
  • API credentials sourced (source 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

Navigate to Network > Load Balancers. Click Create Load Balancer.

Configure load balancer details

Complete the Load Balancer Details panel:
Use a dedicated management subnet for the VIP to isolate load balancer traffic from application data paths.

Add a listener

Complete the Listener Details panel:

Configure the pool

Complete the Pool Details panel:Algorithm options:
  • ROUND_ROBIN — distributes requests evenly across all UP members
  • LEAST_CONNECTIONS — sends to the member with fewest active connections
  • SOURCE_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.
Members must be reachable from the load balancer’s VIP subnet. Verify security groups allow ingress on the member port from the VIP address.

Configure health monitor

Complete the Monitor Details panel:

Review and create

Review the summary and click Create Load Balancer.The load balancer enters PENDING_CREATE status. Provisioning typically completes within 30–60 seconds.
The load balancer displays status ACTIVE in the Load Balancers list.

Create via CLI

Authenticate and create the load balancer

Source credentials
Create load balancer
Wait for ACTIVE status:
Wait for ACTIVE status

Create a listener

Create HTTP listener

Create a pool

Create pool with round-robin algorithm

Add members

Add backend member
Repeat for each backend instance.

Create a health monitor

Create HTTP health monitor
Load balancer is ACTIVE. Health monitor is probing members.

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.