Skip to content

Commit d80cc59

Browse files
committed
address pr comments
1 parent d39a3f7 commit d80cc59

File tree

3 files changed

+22
-15
lines changed

3 files changed

+22
-15
lines changed

src/content/docs/workers-vpc/configuration/tunnel/hardware-requirements.mdx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,14 @@ import { TunnelCalculator } from "~/components";
1111

1212
For production use cases, we recommend the following baseline configuration:
1313

14-
- Run a cloudflared replica on two dedicated host machines per network location. Using two hosts enables server-side redundancy and traffic balancing.
14+
- Run a cloudflared replica on two dedicated host machines per network location. Using two hosts enables server-side redundancy. See [tunnel availability and replicas](/cloudflare-one/connections/connect-networks/configure-tunnels/tunnel-availability/) for setup instructions.
1515
- Size each host with minimum 4GB of RAM and 4 CPU cores.
1616

1717
This setup is usually sufficient to handle traffic from small-medium sized applications. The actual amount of resources used by cloudflared will depend on many variables, including the number of requests per second, bandwidth, network path, and hardware. As additional users are onboarded, or if network traffic increases beyond your existing tunnel capacity, you can scale your tunnel by adding an additional cloudflared host in that location.
1818

1919
## Capacity calculator
2020

21-
Use the calculator below to estimate tunnel capacity requirements for your deployment:
22-
23-
<TunnelCalculator />
21+
To estimate tunnel capacity requirements for your deployment, refer to the [tunnel capacity calculator in the Zero Trust documentation](/cloudflare-one/connections/connect-networks/configure-tunnels/tunnel-capacity/).
2422

2523
## Scaling considerations
2624

@@ -29,7 +27,7 @@ Monitor tunnel performance and scale accordingly:
2927
- **CPU utilization**: Keep below 70% average usage
3028
- **Memory usage**: Maintain headroom for traffic spikes
3129
- **Network bandwidth**: Ensure adequate throughput for peak loads
32-
- **Connection count**: Add replicas when approaching capacity limits
30+
- **Connection count**: Scale cloudflared vertically when approaching capacity limits
3331

3432
## Next steps
3533

src/content/docs/workers-vpc/configuration/tunnel/index.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ Use Tunnels with Zero Trust when you are exposing internal applications securely
3939

4040
Use Tunnels with Workers VPC when you want to access private APIs, private databases, internal services or other HTTP services within your cloud or on-premise private network from Workers.
4141

42+
The same `cloudflared` instance can be used to cover both Zero Trust and Workers VPC use cases simultaneously.
43+
4244
:::
4345

4446
:::note
4547

46-
[Ingress configurations](/cloudflare-one/connections/connect-networks/do-more-with-tunnels/local-management/configuration-file/) for locally-managed tunnels are specific to Zero Trust, and are not required for Workers VPC, as routing is handled by the VPC Service configuration.
48+
[Ingress configurations](/cloudflare-one/connections/connect-networks/do-more-with-tunnels/local-management/configuration-file/) for locally-managed tunnels are only relevant when using tunnels to expose services to the public internet, and are not required for Workers VPC as routing is handled by the VPC Service configuration.
4749

4850
:::
4951

src/content/docs/workers-vpc/get-started.mdx

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,17 @@ Additionally, you will need:
4242

4343
Create a new Worker project using Wrangler:
4444

45-
<PackageManagers type="create" pkg="cloudflare@latest" args={"workers-vpc-app"} />
46-
47-
<Render file="c3-post-run-steps" product="workers" params={{category: "hello-world", type: "Worker only", lang: "TypeScript",}} />
45+
<PackageManagers
46+
type="create"
47+
pkg="cloudflare@latest"
48+
args={"workers-vpc-app"}
49+
/>
50+
51+
<Render
52+
file="c3-post-run-steps"
53+
product="workers"
54+
params={{ category: "hello-world", type: "Worker only", lang: "TypeScript" }}
55+
/>
4856

4957
Navigate to your project directory:
5058

@@ -154,7 +162,7 @@ compatibility_date = "2024-01-01"
154162
binding = "PRIVATE_API"
155163
service_id = "<YOUR_SERVICE_ID>"
156164

157-
```
165+
````
158166

159167
</WranglerConfig>
160168

@@ -187,7 +195,7 @@ export default {
187195
},
188196
} satisfies ExportedHandler<Env>;
189197

190-
```
198+
````
191199

192200
## 6. Test locally
193201

@@ -212,7 +220,6 @@ Your Worker is now deployed and can access your private network resources secure
212220
## Next steps
213221

214222
- Explore [configuration options](/workers-vpc/configuration/) for advanced setups
215-
- Set up [high availability tunnels](/workers-vpc/configuration/tunnel/availability/) for production
216-
- Refer to [platform-specific guides](/workers-vpc/configuration/tunnel/recommended-setups/) for AWS, Azure, GCP, and Kubernetes
217-
- Refer to [examples](/workers-vpc/examples/) for common use cases
218-
223+
- Set up [high availability tunnels](/workers-vpc/configuration/tunnel/hardware-requirements/) for production
224+
- View [platform-specific guides](/cloudflare-one/connections/connect-networks/deployment-guides/) for AWS, Azure, GCP, and Kubernetes
225+
- Check out [examples](/workers-vpc/examples/) for common use cases

0 commit comments

Comments
 (0)