Skip to content

Commit 77f3548

Browse files
committed
PCX Review
1 parent 20c4cf3 commit 77f3548

File tree

2 files changed

+12
-20
lines changed

2 files changed

+12
-20
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
---
22
title: D1 now supports jurisdictional restrictions.
3-
description: D1 now has the capability to set jurisdictional restrictions on database creation. This restricts the location to run and store the d1 database.
3+
description: D1 can now set jurisdictional restrictions on database creation. This restricts the location of where the D1 database is run and stored.
44
products:
55
- d1
66
- workers
77
date: 2025-09-11
88
---
99

10-
You can now set a [jurisdiction](/d1/configuration/data-location/) when creating a D1 database. Note that if a jurisdiction restriction and a location hint are both provided, the jurisdiction takes precedence and the location hint is ignored.
10+
You can now set a [jurisdiction](/d1/configuration/data-location/) when creating a D1 database.
11+
12+
Note that if a jurisdiction restriction and a location hint are both provided, the jurisdiction takes precedence, and the location hint is ignored.

src/content/docs/d1/configuration/data-location.mdx

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ Jurisdictions are used to create D1 databases that only run and store data withi
1919

2020
Workers may still access the database constrained to a jurisdiction from anywhere in the world. The jurisdiction constraint only controls where the database itself runs and persists data. Consider using [Regional Services](/data-localization/regional-services/) to control the regions from which Cloudflare responds to requests.
2121

22-
### Supported locations
22+
### Available jurisdictions
2323

24-
| Parameter | Location |
25-
| --------- | ------------------------------ |
26-
| eu | The European Union |
27-
| fedramp | FedRAMP-compliant data centers |
24+
| Jurisdiction | Jurisdiction description |
25+
| ------------ | ------------------------ |
26+
| eu | European Union |
27+
| fedramp | FedRAMP |
2828

2929
### Set jurisdiction via the Cloudflare dashboard
3030

@@ -37,15 +37,15 @@ Workers may still access the database constrained to a jurisdiction from anywher
3737
4. Under **Data location**, select **Specify jurisdiction** and choose a jurisdiction from the list.
3838
5. Select **Create** to complete the database creation process.
3939

40-
### Using jurisdictions from Workers
40+
### Use jurisdictions from Wrangler
4141

42-
The example below shows how to create an R2 bucket in the `eu` jurisdiction using Wrangler
42+
The example below shows how to create an R2 bucket in the `eu` jurisdiction using Wrangler:
4343

4444
```sh
4545
npx wrangler@latest d1 create d1-with-jurisdiction --jurisdiction eu
4646
```
4747

48-
### Using jurisdictions from the REST API
48+
### Use jurisdictions from the REST API
4949

5050
```curl
5151
curl -X POST "https://api.cloudflare.com/client/v4/accounts/<account_id>/d1/database" \
@@ -55,17 +55,7 @@ curl -X POST "https://api.cloudflare.com/client/v4/accounts/<account_id>/d1/data
5555
5656
```
5757

58-
### Available jurisdictions
59-
60-
The following jurisdictions are supported:
61-
62-
| Jurisdiction | Jurisdiction description |
63-
| ------------ | ------------------------ |
64-
| eu | European Union |
65-
| fedramp | FedRAMP |
66-
6758
:::note
68-
6959
Note that jurisdiction restrictions can only be set on database creation. If a jurisdiction and a location hint are both provided, the jurisdiction takes precedence and the location hint is ignored.
7060
:::
7161

0 commit comments

Comments
 (0)