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/configure-tunnels/tunnel-availability/index.mdx
@@ -11,14 +11,14 @@ Our lightweight and open-source connector, [`cloudflared`](https://github.com/cl
11
11
12
12
## `cloudflared` replicas
13
13
14
-
Cloudflare Tunnel also allows users to deploy additional instances of our connector, `cloudflared`, for availability and failover scenarios. We refer to these unique instances as replicas. Each replica establishes four new connections which serve as additional points of ingress to your origin, should you need them. Each of the replicas will point to the same tunnel. This ensures that your network remains up in the event a single host running `cloudflared` goes down.
14
+
Cloudflare Tunnel allows users to deploy additional instances of our connector, `cloudflared`, for availability and failover scenarios. We refer to these unique instances as replicas. Each replica establishes four new connections which serve as additional points of ingress to your origin, should you need them. Each of the replicas will point to the same tunnel. This ensures that your network remains up in the event a single host running `cloudflared` goes down.
15
15
16
16
```mermaid
17
17
graph LR
18
-
C{Cloudflare}
18
+
C((Cloudflare))
19
19
subgraph E[Private network]
20
-
cf1["cloudflared replica <br> (Tunnel-1)"]
21
-
cf2["cloudflared replica <br> (Tunnel-1)"]
20
+
cf1["cloudflared <br> (Tunnel-1 replica)"]
21
+
cf2["cloudflared <br> (Tunnel-1 replica)"]
22
22
S1[Application]
23
23
cf1-->S1
24
24
cf2-->S1
@@ -41,11 +41,11 @@ By design, replicas do not offer any level of traffic steering (random, hash, or
41
41
- To allocate failover nodes within your network.
42
42
- To update the configuration of a tunnel [without downtime](/cloudflare-one/connections/connect-networks/downloads/update-cloudflared/#update-with-multiple-cloudflared-instances).
43
43
44
-
## Cloudflare Load Balancers
44
+
For setup instructions, refer to [Deploy cloudflared replicas](/cloudflare-one/connections/connect-networks/configure-tunnels/tunnel-availability/deploy-replicas/).
45
45
46
-
[Cloudflare Load Balancing](/load-balancing/) proactively steers traffic away from unhealthy origins and intelligently distributes the traffic load based on your choice of [steering algorithms](/load-balancing/understand-basics/traffic-steering/). Load balancers can be configured for traffic originating from both the public Internet and from within a private network.
46
+
## Cloudflare Load Balancers
47
47
48
-
A load balancer setup requires more than one tunnel with identical configurations. Most customers will create one tunnel per data center and one load balancer pool per tunnel.
48
+
[Cloudflare Load Balancing](/load-balancing/) proactively steers traffic away from unhealthy origins and intelligently distributes the traffic load based on your choice of [steering algorithms](/load-balancing/understand-basics/traffic-steering/). Unlike [`cloudflared` replicas](#cloudflared-replicas) which all use the same tunnel, a typical load balancer setup requires creating multiple tunnels. Most customers will create one tunnel per data center and one load balancer pool per tunnel.
49
49
50
50
```mermaid
51
51
graph LR
@@ -70,7 +70,6 @@ graph LR
70
70
cf1-->S1
71
71
cf1-->S2
72
72
end
73
-
74
73
```
75
74
76
75
### When to use load balancers
@@ -80,148 +79,11 @@ graph LR
80
79
- To get alerted when a tunnel reaches an inactive state.
81
80
- To distribute traffic more evenly across your Cloudflare Tunnel-accessible origins or endpoints.
82
81
82
+
For setup instructions, refer to [Public load balancers](/cloudflare-one/connections/connect-networks/routing-to-tunnel/public-load-balancers/) or [Private Network Load Balancing](/load-balancing/private-network/) depending on your [use case](#types-of-load-balancers).
83
83
84
-
## Public load balancer
85
-
86
-
Public load balancers steer traffic from the public Internet to your [published applications](/cloudflare-one/connections/connect-networks/routing-to-tunnel/).
87
-
88
-
89
-
e.g.
90
-
I have a web application (HTTPS) that lives in my private network and I want to securely connect it to Cloudflare's network so that my users can use their browser to access the web application from anywhere in the world
91
-
92
-
The DNS record (`UUID.cfargotunnel.com`) for each Cloudflare Tunnel can be used at the origin within the load balancer.
good for an [Active-active](/load-balancing/load-balancers/common-configurations/#active---active-failover) setup which distributes traffic to endpoints in the same pool
84
+
### Types of load balancers
156
85
157
-
### Scenario 3: One tunnel for both apps
86
+
There are two types of load balancers that you can use with Cloudflare Tunnel endpoints:
Only valid for active-standby setups, since each pool has only one endpoint.
183
-
184
-
Note: A single origin pool in LB can't have the same Tunnel GUID referenced twice
185
-
186
-
Deploy replicas for redundancy
187
-
188
-
## Private load balancer
189
-
190
-
You can use Cloudflare Private Network Load Balancing to distribute traffic across private endpoints connected via Cloudflare Tunnel. Common use cases include:
191
-
192
-
* Load balancing internal employee traffic to internal applications
193
-
* Geosteering WARP traffic to internal applications
194
-
* Load balancing internal API calls
195
-
196
-
To set up load balancing for private IP addresses, refer to the [Private Network Load Balancing documentation](/load-balancing/private-network/tunnels-setup/).
197
-
198
-
199
-
If the server IPs overlap, then use a different virtual network in each tunnel so that Load Balancer can route requests to the correct data center and server.
-[Public load balancers](/cloudflare-one/connections/connect-networks/routing-to-tunnel/public-load-balancers/) steer traffic from the Internet to applications published on a Cloudflare domain. Use this method if your service is connected to Cloudflare Tunnel via a [published application route](/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/#2a-publish-an-application).
89
+
-[Private load balancers](/load-balancing/private-network/) steer traffic from WARP clients, Magic WAN, and other <GlossaryTooltipterm="on-ramp">on-ramps</GlossaryTooltip> to an internal IP on your private network. Use this method if your service is connected to Cloudflare Tunnel via a [CIDR route](/cloudflare-one/connections/connect-networks/private-net/cloudflared/connect-cidr/).
0 commit comments