---
title: Workers · Data Localization Suite docs
description: In the following sections, we will give you some details about how to configure Workers with Regional Services and Customer Metadata Boundary.
lastUpdated: 2025-02-27T11:21:37.000Z
source_url:
  html: https://a74404c8.preview.developers.cloudflare.com/data-localization/how-to/workers/index.md
  md: https://a74404c8.preview.developers.cloudflare.com/data-localization/how-to/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](https://developers.cloudflare.com/dns/proxy-status/) through Cloudflare and ensure that processing of a Workers project occurs only in-region, follow these steps:

1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), 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](https://developers.cloudflare.com/workers/configuration/routing/custom-domains/).
5. Run the [API POST](https://developers.cloudflare.com/data-localization/regional-services/get-started/#configure-regional-services-via-api) 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](https://developers.cloudflare.com/workers/platform/limits/#subrequests).

Regional Services does not apply to other Worker triggers, like [Queues](https://developers.cloudflare.com/queues/) or [Cron Triggers](https://developers.cloudflare.com/workers/configuration/cron-triggers/).

## Customer Metadata Boundary

Customer Metadata Boundary applies to the custom domain configured, as well as the [`*.workers.dev`](https://developers.cloudflare.com/workers/configuration/routing/workers-dev/) subdomain.

Workers [Metrics and Analytics](https://developers.cloudflare.com/workers/observability/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.

Note

It is recommended to not store any Personally Identifiable Information (PII) in the Workers code. If sensitive information needs to be used, it is recommended to use [Secrets](https://developers.cloudflare.com/workers/configuration/secrets/).

Refer to the [Workers documentation](https://developers.cloudflare.com/workers/) for more information.
