docs/documentation/platform/gateways/gateway-pools.mdx
Gateway Pools provide high availability for your gateway infrastructure. A pool is a named collection of gateways that all have connectivity to the same private network. When the platform needs to reach a resource through a pool, it automatically routes through a healthy gateway, providing failover if any individual gateway goes down.
<Info> Gateway Pools is an enterprise feature. Self-hosted users can contact [[email protected]](mailto:[email protected]) to purchase an enterprise license. </Info>A gateway is considered healthy if it has sent a heartbeat within the last hour and its last health check did not fail.
A gateway can belong to multiple pools if it has connectivity to resources served by each pool. Pool membership can be changed at any time without restarting the gateway.
Anywhere you configure a gateway, the gateway picker dropdown shows both individual gateways and gateway pools. Pools are listed under the "Gateway Pools" section with an HA (high availability) badge and health status.
When you select a pool, the platform validates connectivity through one of its healthy gateways before saving.
When a request is routed through a pool, the platform picks a gateway at random from the pool's healthy gateways. There is no round-robin or weighted selection.
Each pool displays an aggregate health status based on its gateways:
If all gateways in a pool are unhealthy when a request is made, the request fails with a descriptive error.