Open Source Alternatives
S3-compatible object storage with no egress fees.
Cloudflare R2 is a trademark of its respective owner.
Updated Dec 2026
R2 speaks the S3 API, and so do SeaweedFS, RustFS, and Garage, so the code change is usually a one-line endpoint swap. The migration cost is operational, not code: you provision storage, set up replication, and own durability. Solo developers and small teams can stand up SeaweedFS or Garage in an afternoon. The hidden cost is that R2's headline feature is zero egress fees, and self-hosting trades that bandwidth math for hardware and ops you now maintain. If you serve heavy public downloads, price out your own bandwidth before you switch.
We find the alternatives so you don't have to
Open source analysis in your inbox every Wednesday.
Ranked by feature coverage
Distributed storage for S3 and file systems
SeaweedFS is self-hosted storage for a lot of files: one Go binary serving an S3-compatible object store, a mountable filesystem and an Iceberg lakehouse from the same data. Its edge over Ceph and RustFS is small files: each one is a single disk read, so a hundred million thumbnails stay fast.
RustFS is S3-compatible object storage you run yourself, written in Rust and licensed Apache 2.0. It does erasure coding, distributed pools, versioning, object lock, KMS-backed encryption, replication, lifecycle rules, IAM and OIDC, with a web console.
(Mirror) S3-compatible object store for small self-hosted geo-distributed deployments. Main repo: https://git.deuxfleurs.fr/Deuxfleurs/garage
Garage is S3-compatible object storage built for small clusters of cheap, mismatched machines instead of enterprise hardware. Point your existing S3 tooling at it, replicate across three nodes in different locations, and it keeps serving through failures.
Cloudflare R2 is a platform. It bundles multiple capabilities into one subscription. These tools each cover one piece. Teams often assemble 2–3 of them instead of paying for the full suite.