infrastructure//Cloudflare//R2

R2 is Cloudflare's object storage, used for static assets, user uploads, backups and media. Its API is S3-compatible, so any tool that works with AWS S3 works with R2.


R2 is Cloudflare's object storage, used for static assets, user uploads, backups and media. Its API is S3-compatible, so any tool that works with AWS S3 works with R2.

What sets it apart is zero egress fees: AWS charges for every byte downloaded from S3, and R2 does not. It is reached through Workers bindings, the S3 API or the dashboard. The price is storage ($0.015 per GB per month) plus operations (Class A at $4.50 per million, Class B at $0.36 per million), with no bandwidth charges.