ENF News Bot
Automated News Bot
- Joined
- Apr 15, 2022
- Messages
- 2,591
R2 now supports a
Use the jurisdiction-specific S3 endpoint to create and access buckets in the
To access a bucket in the
Once an R2 bucket is created, its jurisdiction cannot be changed.
For setup instructions and the full list of supported jurisdictions, refer to R2 data location.
Continue reading...
us jurisdiction, which guarantees that bucket data is stored and processed within the United States. Use this jurisdiction when you need explicit US data residency guarantees.Use the jurisdiction-specific S3 endpoint to create and access buckets in the
us jurisdiction:https://<ACCOUNT_ID>.us.r2.cloudflarestorage.comTo access a bucket in the
us jurisdiction from Workers, set jurisdiction in your R2 binding:
Code:
{
"r2_buckets": [
{
"binding": "MY_BUCKET",
"bucket_name": "<YOUR_BUCKET_NAME>",
"jurisdiction": "us"
}
]
}
Code:
[[r2_buckets]]
binding = "MY_BUCKET"
bucket_name = "<YOUR_BUCKET_NAME>"
jurisdiction = "us"
Once an R2 bucket is created, its jurisdiction cannot be changed.
For setup instructions and the full list of supported jurisdictions, refer to R2 data location.
Continue reading...