R2 Bucket

R2 Bucket Presets

Ready-to-deploy configuration presets for R2 Bucket. Each preset is a complete manifest you can copy, customize, and deploy.

2 presets
01

Private R2 Bucket

Creates a private R2 bucket with no public access. Data is accessible only via Workers, API tokens, or the Cloudflare Dashboard. Use for backups, logs, or any object storage that must stay private.

02

Public R2 Bucket with Custom Domain

Creates a public R2 bucket served via a custom domain (e.g., media.example.com). Combines public access with a branded CDN URL. Requires a Cloudflare DNS zone for the domain.