Workers VPC - VPC Networks and Cloudflare Mesh support now in public beta
VPC Network bindings now allow Workers to access any service in a private network without pre-registering individual hosts or ports. You can bind to Cloudflare Tunnels by tunnel_id or to Cloudflare Mesh networks using cf1:network to reach any Mesh node, client device, or subnet route in your account.
VPC Network bindings now give your Workers access to any service in your private network without pre-registering individual hosts or ports. This complements existing VPC Service bindings, which scope each binding to a specific host and port.
You can bind to a Cloudflare Tunnel by tunnel_id to reach any service on the network where that tunnel is running, or bind to your Cloudflare Mesh network using cf1:network to reach any Mesh node, client device, or subnet route in your account:
{
"vpc_networks": [
{
"binding": "MESH",
"network_id": "cf1:network",
"remote": true
}
]
}[[vpc_networks]]
binding = "MESH"
network_id = "cf1:network"
remote = true
At runtime, fetch() routes through the network to reach the service at the IP and port you specify:
const response = await env.MESH.fetch("http://10.0.1.50:8080/api/data");
For configuration options and examples, refer to VPC Networks and Connect Workers to Cloudflare Mesh.
Source: original entry ↗
More from Cloudflare
Follow Cloudflare to get its new changes in your feed and email digest.
Cloudflare One Client for Windows hotfix - trusted certificate chains
A new GA release for Windows Cloudflare One Client is available, addressing an issue with building trusted certificate chains.
Cloudflare One Client for macOS - Trusted Certificate Chain Fix
A new GA release of the macOS Cloudflare One Client is available. This hotfix addresses an issue with building trusted certificate chains.
Cloudflare One Client for Linux
A new GA release of Cloudflare One Client for Linux is now available. This hotfix addresses an issue with building trusted certificate chains.