Load Balancing (2)
Last updated Jul 1, 2026 The following sections describe how to configure Load Balancing with Regional Services and Customer Metadata Boundary to control where load balancing decisions and traffic processing occur.
Regional Services
You can load balance traffic at different levels of the networking stack depending on the proxy mode: Layer 7 (HTTP/S) and Layer 4 (TCP) are supported; however, DNS-only is not supported, as it is not proxied.
To configure Regional Services for hostnames proxied (meaning traffic routes through Cloudflare) through Cloudflare and ensure that the Load Balancer is available only in-region, follow these steps for the dashboard or API configuration:
- In the Cloudflare dashboard, go to the Load balancing page. Go to Load Balancing ↗
- Follow the steps to create a load balancer.
- From the Data Localization dropdown, select the region you would like to use on your domain.
- Select Next and continue with the regular setup.
-
Select Save.
-
Follow the instructions outlined to create a load balancer via API.
- Run the API POST command on the Load Balancer hostname to create a
regional_hostnameswith a specific region.
Customer Metadata Boundary
Load Balancing Analytics are not available outside the US region when using Customer Metadata Boundary.
With Customer Metadata Boundary set to EU, Traffic > Load Balancing Analytics > Overview and Latency tab in the zone dashboard will not be populated.
Refer to the Load Balancing documentation for more information.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/data-localization/how-to/load-balancing/#page","headline":"Load Balancing","description":"Configure Load Balancing with Regional Services and Customer Metadata Boundary.","url":"https://developers.cloudflare.com/data-localization/how-to/load-balancing/","inLanguage":"en","image":"https://developers.cloudflare.com/data-localization/how-to/load-balancing/og.png?v=59ed1e7d5a87f086","dateModified":"2026-07-01","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}
description: Configure Pages with Regional Services and Customer Metadata Boundary. title: Pages image: https://developers.cloudflare.com/data-localization/how-to/pages/og.png?v=628908dd438424db
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/data-localization/llms.txt
Use this file to discover all available pages before exploring further.
Docs