npx wrangler r2 bucket create my-assets --location WNAM

Category: Cloudflare

npx wrangler r2 bucket create my-assets --location WNAM

Create an R2 bucket in a specific region

Pins the bucket's storage region, where WNAM means Western North America; other values include ENAM, WEUR, EEUR, APAC, and OC. Region choice affects latency and pricing, so pick the one closest to your users. Buckets cannot move regions later, so decide before creating.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.