Cloudflare Docs
Data Localization Suite
Edit this page
Give us feedback
Set theme to dark (⇧+D)

Workers

In the following sections, we will give you some details about how to configure Workers with Regional Services and Customer Metadata Boundary.

​​ Regional Services

To configure Regional Services for hostnames proxied through Cloudflare and ensure that processing of a Workers project occurs only in-region, follow these steps:

  1. Log in to the Cloudflare dashboard, and select an account.
  2. Go to the Workers & Pages tab.
  3. Select your Workers project.
  4. Follow the steps to create a custom domain.
  5. Run the API POST command on the configured Workers Custom Domain to create a regional_hostnames with a specific region.

​​ Caveats

Regional Services only applies to the custom domain configured for a Workers project. Therefore, it will run only in-region Cloudflare locations.

Regional Services does not apply to subrequests.

Regional Services does not apply to other Worker triggers, like Queues or Cron Triggers.

​​ Customer Metadata Boundary

Customer Metadata Boundary applies to the custom domain configured, as well as the *.workers.dev subdomain.

Workers Metrics and Analytics are not available outside the US region when using Customer Metadata Boundary.

With Customer Metadata Boundary set to EU, Workers & Pages > Workers > Metrics tab the zone dashboard will not be populated.

Refer to the Workers documentation for more information.