You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/cloudflare-one/connections/connect-networks/routing-to-tunnel/public-load-balancers.mdx
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ To create a load balancer for Cloudflare Tunnel published applications:
26
26
<DashButtonurl="/?to=/:account/load-balancing" />
27
27
2. Select **Create load balancer**.
28
28
3. Select **Public load balancer**.
29
-
4.Choose the website to which you want to add this load balancer. To simplify DNS record management, we recommend using the same domain as your published application route.
29
+
4.Under **Select website**, select the domain of your published application route.
30
30
5. On the **Hostname** page, enter a hostname for the load balancer (for example, `lb.example.com`).
31
31
6. On the **Pools** page, select **Create a pool**.
32
32
7. Enter a descriptive name for the pool. For example, if you are configuring one pool per tunnel, the pool name can match your tunnel name.
@@ -70,11 +70,11 @@ For this example, assume we have a web application that runs on servers in two d
As shown in the diagram, a typical setup includes:
102
102
- A dedicated Cloudflare Tunnel per data center.
103
-
- One load balancer pool per tunnel.
104
-
- One load balancer endpoint per pool, where the host header is set to the `cloudflared` published application hostname.
103
+
- One load balancer pool per tunnel. The load balancer hostname is set to the user-facing application hostname (`app.example.com`).
104
+
- One load balancer endpoint per pool. The endpoint host header is set to the `cloudflared` published application hostname (`server1.example.com`)
105
105
- At least two `cloudflared`[replicas](#session-affinity-and-replicas) per tunnel in their respective data centers, in case a `cloudflared` host machine goes down.
106
106
107
107
Users can now connect to the application using the load balancer hostname (`app.example.com`). Note that this configuration is only valid for [Active-Passive failover](/load-balancing/load-balancers/common-configurations/#active---passive-failover), since each pool only supports one endpoint per tunnel.
0 commit comments