Skip to main content
The Load Balancer distributes uncached requests from your Pull Zones across multiple origin servers. Each request is routed using a configurable balancing method, origin health is monitored continuously, and traffic automatically fails over to healthy origins when a server becomes unavailable. A Load Balancer is a reusable routing policy that lives on your account. It does not have its own hostname. Instead, you attach it to one or more Pull Zones, and the CDN edge applies it whenever a request needs to be fetched from an origin. Requests served from the CDN cache never reach the Load Balancer.

How it works

When a request misses the cache, the edge server builds an ordered list of all eligible origins: it first orders your origin groups (by priority, then by the group balancing method), then orders the origins inside each group (by the group’s origin balancing method). The first origin in the list receives the request, and the rest of the list is the failover order if it fails.

Concepts

Connect a Pull Zone

1

Create a Load Balancer

Create a Load Balancer with a unique name and choose how traffic is distributed between origin groups.
2

Add origin groups and origins

Add at least one origin group, then add your origins to it. See Origins and origin groups for the available origin types and settings.
3

Attach it to a Pull Zone

Set the Pull Zone’s origin type to Load Balancer and select your Load Balancer. The Pull Zone’s own origin URL is no longer used; each origin defines its own destination.
A single Load Balancer can be attached to multiple Pull Zones, and all attached zones share the same routing policy. Switching a Pull Zone back to a different origin type detaches it again. A Load Balancer cannot be deleted while any Pull Zone still uses it as its origin. All configuration is also available through the API. See the API reference for the full endpoint documentation.

Explore

Origins and origin groups

Origin types, connection settings, and limits.

Routing methods

How origin groups and origins are selected, weights, and priority tiers.

Sticky sessions

Pin returning visitors to the same origin using cookies.

Health and failover

Health checks, failure detection, and automatic failover behavior.

Statistics

Per-origin traffic, latency, and failure metrics.

Pricing

Monthly fee, included requests, and overage billing.
Looking for DNS-level load balancing across multiple record values? That is a separate feature of Bunny DNS. See DNS load balancing.
Last modified on August 16, 2026