Skip to main content

Managed Load Balancers

Okustera Managed Load Balancers deliver high-availability Layer 4 (TCP/UDP) and Layer 7 (HTTP/HTTPS) traffic distribution with automated health monitoring, TLS termination, and native VPC integration.

Load balancers run in redundant, active-standby pairs with dedicated Virtual IPs (VIPs) attached directly to your private VPC subnets or public floating IP pools.

Okustera Managed Load Balancers & Authoritative DNS Console


Key Capabilities​

  • High-Availability VIPs: Dedicated Virtual IPs with sub-second automated failover between active and standby load balancer nodes.
  • L4 & L7 Traffic Distribution: Route TCP, UDP, HTTP, and HTTPS traffic across compute instances, containers, or internal services.
  • Managed SSL/TLS Termination: Offload TLS encryption at the load balancer VIP using certificates managed in Okustera Secrets Vault.
  • Automated Health Monitoring: Continuous active polling of backend members via HTTP GET, HTTPS, TCP, or PING probes to automatically route traffic away from unhealthy targets.
  • Flexible Balancing Algorithms: Support for Round Robin, Least Connections, and Source IP session affinity.
  • Cloud Portal Management: Full graphical lifecycle controls in the Okustera Cloud Portal under Networking → Load Balancers.

Architecture Overview​


Configuring Load Balancers in the Cloud Portal​

Manage the complete load balancer lifecycle directly in the Okustera Cloud Portal:

1. Dedicated Load Balancers Console​

The Load Balancers console provides complete lifecycle controls across four views:

  • Load Balancers: Provision and monitor active HA load balancers, view VIP allocations, provisioning status (ACTIVE, PENDING_CREATE), and operating health (ONLINE, DEGRADED). Each row includes a Bind DNS shortcut to map a domain directly to its VIP.
  • Frontend Listeners: Configure listeners specifying protocol (HTTP, HTTPS, TERMINATED_HTTPS, TCP, UDP), port (1–65535), default backend pool, and Secrets Vault TLS certificate references.
  • Backend Pools & Members: Define pools with routing algorithms (ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP), attach target backend IP addresses and weights, and configure automated health probes.
  • DNS & VIP Binding: Embedded Authoritative DNS Zone & Recordset Editor with 1-click VIP forward (A) and reverse (PTR) record binding.

2. Tenant VPC Public DMZ Integration (/network)​

When managing a multi-tier Tenant VPC, deploy load balancers directly into your Public DMZ tier:

  1. Navigate to Networking → Tenant VPCs.
  2. Select your VPC and open the Load Balancers sub-tab.
  3. Click Deploy Load Balancer: Okustera automatically locates the VPC's Public DMZ subnet and provisions the VIP there.
  4. Active VIP badges and operating statuses render automatically on the interactive VPC topology canvas.

Declarative Management via Terraform​

Use the official okustera Terraform provider to manage load balancing infrastructure declaratively:

# 1. Provision a Multi-Tier Tenant VPC
resource "okustera_vpc" "app_vpc" {
name = "production-vpc"
cidr_block = "192.168.0.0/16"
topology_preset = "three_tier_standard"
}

# 2. Deploy Load Balancer inside VPC Public DMZ
resource "okustera_loadbalancer" "web_lb" {
name = "production-web-lb"
description = "Production Ingress Load Balancer"
vpc_id = okustera_vpc.app_vpc.id
tier = "public" # Auto-places VIP in the Public DMZ subnet
}

# 3. Create Frontend Listener (with optional TLS Termination)
resource "okustera_loadbalancer_listener" "http_listener" {
name = "http-web-listener"
loadbalancer_id = okustera_loadbalancer.web_lb.id
protocol = "HTTP"
protocol_port = 80
default_pool_id = okustera_loadbalancer_pool.web_pool.id
}

# 4. Create Backend Pool
resource "okustera_loadbalancer_pool" "web_pool" {
name = "web-backend-pool"
loadbalancer_id = okustera_loadbalancer.web_lb.id
protocol = "HTTP"
lb_algorithm = "ROUND_ROBIN"
}

# 5. Attach Backend Target Members
resource "okustera_loadbalancer_member" "web_app_1" {
pool_id = okustera_loadbalancer_pool.web_pool.id
address = "192.168.10.15" # Private App Tier IP
protocol_port = 8080
weight = 1
}

resource "okustera_loadbalancer_member" "web_app_2" {
pool_id = okustera_loadbalancer_pool.web_pool.id
address = "192.168.10.16" # Private App Tier IP
protocol_port = 8080
weight = 1
}

REST API Reference​

Load balancer operations can be executed programmatically via the Okustera REST API:

Load Balancer Lifecycle​

  • GET /api/v1/octavia/loadbalancers — List active load balancers with provisioning and operating states.
  • POST /api/v1/octavia/loadbalancers — Provision a new managed load balancer.
  • GET /api/v1/octavia/loadbalancers/{id} — Retrieve load balancer details, VIP address, and traffic statistics.
  • DELETE /api/v1/octavia/loadbalancers/{id} — Decommission a load balancer and release its VIP.

VPC Load Balancer Endpoints​

  • GET /api/v1/vpcs/{id}/loadbalancers — List all load balancers deployed within the subnets of a specific VPC.
  • POST /api/v1/vpcs/{id}/loadbalancers — Deploy a managed load balancer auto-targeted to the VPC's Public DMZ subnet.

Listeners​

  • GET /api/v1/octavia/listeners — List all listeners.
  • POST /api/v1/octavia/listeners — Create a listener (HTTP, HTTPS, TERMINATED_HTTPS, TCP, UDP) with Secrets Vault TLS certificate reference support.
  • GET /api/v1/octavia/listeners/{id} — Retrieve listener details.
  • DELETE /api/v1/octavia/listeners/{id} — Delete a listener.

Backend Pools & Members​

  • GET /api/v1/octavia/pools — List all backend pools.
  • POST /api/v1/octavia/pools — Create a pool (ROUND_ROBIN, LEAST_CONNECTIONS, SOURCE_IP).
  • GET /api/v1/octavia/pools/{id} — Retrieve pool details and attached health monitors.
  • DELETE /api/v1/octavia/pools/{id} — Delete a pool.
  • GET /api/v1/octavia/pools/{id}/members — List target members attached to a pool.
  • POST /api/v1/octavia/pools/{id}/members — Add a target member (address, protocol_port, weight).
  • DELETE /api/v1/octavia/pools/{id}/members/{member_id} — Remove a member from a pool.

Health Monitors​

  • POST /api/v1/octavia/healthmonitors — Attach an automated health check probe (HTTP, HTTPS, TCP, PING) to a backend pool.
  • DELETE /api/v1/octavia/healthmonitors/{id} — Remove a health monitor.