Cloudflare R2 — S3-compatible object storage with zero egress fees (AWS S3 charges ~$0.09/GB outbound). Storage price: $0.015/GB/mo. Access: S3 API (aws-cli, rclone, boto3 work unchanged). Integrations: Workers for on-the-fly image transforms, Hyperdrive for DB caching. Used by: Shopify, Notion, Superhuman.
Below: details, example, related terms, FAQ.
# aws-cli config for R2
$ aws configure --profile r2
AWS Access Key ID: <R2_KEY>
AWS Secret: <R2_SECRET>
Default region: auto
# Upload
$ aws s3 cp file.zip s3://my-bucket/ \
--endpoint-url https://<ACCOUNT>.r2.cloudflarestorage.com \
--profile r2When egress > 10 % of storage cost (image hosting, video, static sites). For rarely-read archival — S3 Glacier is cheaper.
None. Unlike S3 Glacier, deletion is free and instant.
No, R2 works standalone via S3 API. Workers are a bonus for transforms/caching.