LOAD BALANCER
Load balancer as a Service (LBaaS)
The load balancer distributes your users’ requests across several VMs: your application handles more traffic and stays available if one of them stops responding.
How a load balancer works
The load balancer receives traffic on a single address, often associated with a public IP, then distributes it across the VMs in a pool. It regularly checks that each VM is responding (health check) and stops sending it traffic for as long as it does not respond.
The service is built on relayd, OpenBSD’s load balancer. Each load balancer runs in your organization’s network space: it only sees your VMs.
Protocols and certificates
The load balancer distributes TCP connections or HTTP and HTTPS requests. It can hold the certificate and decrypt the traffic (TLS termination). This certificate can be your own, or be obtained and renewed automatically from Let’s Encrypt.
Your VMs see the visitor’s real address through the X-Forwarded-For header (HTTP) or the PROXY protocol (TCP and TLS).
HTTP rules, persistence and failover
HTTP rules filter or route requests based on their path or headers. Session persistence sends the same visitor to the same VM, based on a cookie or a header. A backup pool takes over if all the primary VMs are out of service.
Choosing a size
Four sizes are available depending on the expected traffic, from Small 1 to Advanced 1. Prices range from 12.60 to €86.40 excl. VAT per month.
LOAD BALANCER
At a glance
💓
Health checks
A VM that stops responding is taken out of rotation, then automatically brought back in.
🔐
TLS termination
The load balancer holds your certificates and decrypts HTTPS.
✔️
Let’s Encrypt
Certificates obtained and renewed automatically.
🧹
HTTP rules
Filtering and routing based on path or headers.
🙋
Session persistence
The same visitor stays on the same VM.
WORKED EXAMPLE
Example: a website on three servers
| Resource | Details | excl. VAT/month |
|---|---|---|
| 3 × m1.medium | 2 vCPU · 4 GB RAM · 40 GB SSD | €42.39 |
| Public IPs (EIP) | 1 IP | €2.50 |
| 1 × Load balancer Small 1 | 5,000 max. connections | €12.60 |
| Total | €57.49 excl. VAT/month or €68.99 incl. VAT/month |
Three m1.medium instances behind a Small 1 load balancer exposed through a public IP: traffic is distributed across the three servers, and an instance under maintenance is automatically taken out of rotation.
PRICING
Sizes and prices
| Size | Concurrent connections | CPS | QPS | Excl. VAT/month | Excl. VAT/hour |
|---|---|---|---|---|---|
| Small 1 | 5,000 | 3,000 | 1,000 | €12.60 | €0.0175 |
| Medium 1 | 50,000 | 5,000 | 5,000 | €21.60 | €0.03 |
| Medium 2 | 100,000 | 10,000 | 10,000 | €43.20 | €0.06 |
| Advanced 1 | 200,000 | 20,000 | 20,000 | €86.40 | €0.12 |
FREQUENTLY ASKED QUESTIONS
Good to know
What is an SLB load balancer?
A load balancer that distributes traffic across several instances to absorb the load and ensure service continuity. Four sizes are available, from Small 1 (5,000 concurrent connections, €12.60 excl. VAT per month) to Advanced 1 (200,000 connections, €86.40 excl. VAT per month).
Which load balancer size should I choose?
It depends on the expected number of concurrent connections and requests per second: Small 1 (5,000 connections, 1,000 requests/s) suits most websites, Medium 1 and Medium 2 suit high-traffic applications, and Advanced 1 (200,000 connections, 20,000 requests/s) suits the most heavily loaded platforms.
Does the load balancer handle HTTPS?
Yes. It can hold the certificate and decrypt the traffic (TLS termination), with your own certificate or a Let’s Encrypt certificate obtained and renewed automatically, or pass the encrypted stream through as is (TCP mode).
What happens if an instance fails?
The health check detects that it is no longer responding and the load balancer stops sending it traffic. It is automatically brought back in as soon as it responds again.
GRIDALE CLOUD
The other services in your VDC
How the Gridale cloud works
The Gridale cloud combines proven building blocks (OpenBSD, KVM, etcd, pf, relayd) around simple, auditable code. …
Your virtual data center (VDC) in France
A VDC brings your entire infrastructure together in an isolated space: servers, networks, firewall, VPN, storage …
Virtual servers hosted in France
Choose a predefined configuration or build your VM by the vCPU, by the GB of RAM and by the GB of disk. Linux and …
Encrypted VMs, from disk to memory
Encrypt each VM’s disk with AES-256 using a key unique to that VM, and its memory with the AMD processor. A …
Appstore: your applications ready in minutes
Choose an application and a VM size: the platform takes care of the rest, from installation to HTTPS, including …
Autoscaling: your servers follow the load
An instance group adds VMs when the load goes up and removes them when it goes back down. You pay for the capacity …
Routed SDN network: private networks and public IPs
Each organization has its own network, isolated from the others at the routing level. Your VMs communicate with …
Firewall as a Service (FWaaS) based on pf
Every VM has its own firewall, applied on its interface by pf, OpenBSD’s firewall. You get the fine-grained …
Ready to launch your project?
Estimate your infrastructure in two minutes or talk it over with an engineer.
