You can now configure Workers to run close to infrastructure in legacy cloud regions to minimize latency to existing services and databases. This is most useful when your Worker makes multiple round trips.
To set a placement hint, set the placement.region property in your Wrangler configuration file:
wrangler.jsonc
{"placement": {"region": "aws:us-east-1",},}wrangler.toml
[placement]region = "aws:us-east-1"
Placement hints support Amazon Web Services (AWS), Google Cloud Platform (GCP), and Microsoft Azure region identifiers. Workers run in the Cloudflare data center with the lowest latency to the specified cloud region.
If your existing infrastructure is not in these cloud providers, expose it to placement probes with placement.host for layer 4 checks or placement.hostname for layer 7 checks. These probes are designed to locate single-homed infrastructure and are not suitable for anycasted or multicasted resources.
wrangler.jsonc
{"placement": {"host": "my_database_host.com:5432",},}wrangler.toml
[placement]host = "my_database_host.com:5432"
wrangler.jsonc
{"placement": {"hostname": "my_api_server.com",},}wrangler.toml
[placement]hostname = "my_api_server.com"
This is an extension of Smart Placement, which automatically places your Workers closer to back-end APIs based on measured latency. When you do not know the location of your back-end APIs or have multiple back-end APIs, set mode: "smart":
wrangler.jsonc
{"placement": {"mode": "smart",},}wrangler.toml
[placement]mode = "smart"
Source: Cloudflare
Latest Posts
- (Updated) Microsoft Teams: Distinguish invites among Attendee, Presenter, and Co-organizer emails [MC1009930]
![(Updated) Microsoft Teams: Distinguish invites among Attendee, Presenter, and Co-organizer emails [MC1009930] 2 pexels googledeepmind 25630338](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- (Updated) Microsoft 365 Copilot: Researcher agent output formats [MC1224569]
![(Updated) Microsoft 365 Copilot: Researcher agent output formats [MC1224569] 3 pexels pavel danilyuk 8438918](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Radar – Content Type Dimension for AI Bots in Cloudflare Radar

- Cloudflare Fundamentals – Introducing Markdown for Agents


![(Updated) Microsoft Teams: Distinguish invites among Attendee, Presenter, and Co-organizer emails [MC1009930] 2 pexels googledeepmind 25630338](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-googledeepmind-25630338-150x150.webp)
![(Updated) Microsoft 365 Copilot: Researcher agent output formats [MC1224569] 3 pexels pavel danilyuk 8438918](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-pavel-danilyuk-8438918-150x150.webp)


