Create new buckets
You can create a bucket from the Cloudflare dashboard or using Wrangler.
Create a bucket with the r2 bucket create
command:
List buckets in the current account with the r2 bucket list
command:
Delete a bucket with the r2 bucket delete
command. Note that the bucket must be empty and all objects must be deleted.
- Bucket names and buckets are not public by default. To allow public access to a bucket, visit the public bucket documentation.
- Invalid (unauthorized) access attempts to private buckets do not incur R2 operations charges against that bucket. Refer to the R2 pricing FAQ to understand what operations are billed vs. not billed.
- The TLS (SSL) certificate created for each R2 bucket uses a wildcard certificate of the form
*.r2.cloudflarestorage.com
, which prevents account IDs and names from showing up in Certificate Transparency logs.