File Storage · head to head
Cloudflare R2 vs Dokku

Cloudflare R2
File Storage
S3-compatible object storage that charges nothing for egress to the internet
- From
- Free
- Free plan
- Yes

Dokku
Cloud
Single-server platform that accepts a git push and runs Heroku buildpacks on Docker
- From
- Free
- Free plan
- Yes
The short version
- Free plans on both; paid from $0.015/mo and $849 one-off.
- Only Cloudflare R2 lists S3 API compatibility; only Dokku lists git push deploy.
How do Cloudflare R2 and Dokku differ?
Cloudflare R2 and Dokku differ on pricing model, platforms and category (File Storage against Cloud). Only the attributes on which Cloudflare R2 and Dokku actually diverge.
| Attribute | Cloudflare R2 | Dokku |
|---|---|---|
| Pricing model | Per gigabyte stored per month | Open source, no licence fee |
| Platforms | Web, API | Linux, Self-hosted, API |
| Category | File Storage | Cloud |
Identical on both: starting price (Free), free tier (Yes).
Which features does each one have?
They share no listed features; 6 appear only for Cloudflare R2 and 6 only for Dokku. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Cloudflare R2
- Zero egress billing
- S3 API compatibility
- Worker binding
- Jurisdictional restriction
- Infrequent Access tier
- Custom domain serving
Only in Dokku
- Git push deploy
- Heroku buildpacks
- Datastore plugins
- Automatic certificates
- Zero downtime deploys
- Pluggable schedulers
What is each one used for?
The jobs each tool is most often brought in to do.
Cloudflare R2
- Serving a large media or asset library to the public where transfer out, not storage, is the dominant costnot Dokku
- Hosting a container or artefact registry that thousands of CI runners pull from every daynot Dokku
- Distributing model weights or open datasets that are downloaded far more often than they are updatednot Dokku
- Moving off S3 specifically to stop paying data transfer charges on a read heavy bucketnot Dokku
Dokku
- Running a dozen side projects and client applications on one virtual private server with Heroku style deploymentnot Cloudflare R2
- Moving off a managed platform when the monthly bill has grown faster than the traffic hasnot Cloudflare R2
- A consultancy that wants buildpack deployments without teaching every client team Kubernetesnot Cloudflare R2
- Keeping a legacy Procfile application alive on hardware you control after a managed platform deprecates its stacknot Cloudflare R2
Where do Cloudflare R2 and Dokku fall short?
Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Cloudflare R2
- There is no archive tier below Infrequent Access, so genuinely cold data costs roughly ten to fifteen times what it would cost in a deep archive class and there is nowhere cheaper to lifecycle it to
- Class A operations are billed at 4.50 USD per million, so a workload that writes millions of small objects can spend more on operations than on the storage those objects occupy
- Infrequent Access carries both a retrieval fee and a thirty day minimum storage duration, so data that is deleted or re-read sooner ends up more expensive than if it had stayed on Standard
- You choose a location hint rather than a region, so you cannot prove to an auditor which datacentre holds an object unless you use a jurisdiction restricted bucket, and jurisdictions are limited
- Support level follows your Cloudflare account plan rather than the storage spend, so a team on a low tier account gets ticket support with no storage specific SLA, and an R2 incident is a Cloudflare incident you cannot fail over from because the free egress only exists inside Cloudflare
Dokku
- One maintainer accounts for nearly all human commit activity and the project records roughly 10,500 US dollars of annual income on Open Collective, which is not enough to fund a maintainer, so continuity rests on one person continuing to volunteer
- Dokku Pro asks 849 US dollars for a lifetime licence from a project with no disclosed legal entity behind the promise and no published refund terms, while the product is still described as in development at early bird pricing
- Dokku is single-server by design, and the k3s scheduler that provides multi-node support is missing log retrieval, process inspection and content-based health checks, with a post-run hook the documentation says does not consistently fire
- Supported operating systems are limited to Ubuntu 22.04 or 24.04 and Debian 11 or later, so organisations standardised on Red Hat, Rocky or Alma Linux cannot run it on their approved base image
- Backups are separate commands per datastore plugin that you schedule yourself, with no unified snapshot, no point-in-time recovery and no tested restore path, so verifying that a restore works is entirely your responsibility
How much do Cloudflare R2 and Dokku cost?
Cloudflare R2 has a free plan, with paid plans from $0.015/mo; Dokku has a free plan, with paid plans from $849 one-off. Plan by plan below, from each vendor's own pricing page.
Cloudflare R2
Free- Free tierFree
- 10 GB stored per month
- 1 million Class A operations
- 10 million Class B operations
- Standard$0.015/mo
- Per gigabyte stored per month
- 4.50 USD per million Class A operations
- 0.36 USD per million Class B operations
- Infrequent Access$0.01/mo
- Per gigabyte stored per month
- Per gigabyte data retrieval fee
- Thirty day minimum storage duration
Dokku
Free- DokkuFree
- MIT licensed, no usage limits
- Command line and SSH only
- All datastore and certificate plugins
- Dokku Pro$849 one-off
- Lifetime licence with free upgrades and no subscription
- Covers 1 production and 2 pre-production servers
- Web dashboard and JSON REST API
Which should you pick?
Choose Cloudflare R2 if
- You need zero egress billing.
- You want to start without paying.
- You work on Web, API.
- You also want s3 api compatibility.
Choose Dokku if
- You need git push deploy.
- You want to start without paying.
- You work on Linux, Self-hosted, API.
- You also want heroku buildpacks.
Questions people ask
- Is Cloudflare R2 or Dokku better?
- It depends on the job. Cloudflare R2 fits serving a large media or asset library to the public where transfer out, not storage, is the dominant cost; Dokku fits running a dozen side projects and client applications on one virtual private server with Heroku style deployment. Cloudflare R2 starts at Free and Dokku at Free.
- Which is cheaper, Cloudflare R2 or Dokku?
- Cloudflare R2 starts at Free and Dokku at Free.
- Does Cloudflare R2 or Dokku run on more platforms?
- Cloudflare R2 runs on Web, API. Dokku runs on Linux, Self-hosted, API.
- Can I use Cloudflare R2 for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Cloudflare R2 best used for?
- Cloudflare R2 is most often used for serving a large media or asset library to the public where transfer out, not storage, is the dominant cost, hosting a container or artefact registry that thousands of ci runners pull from every day, distributing model weights or open datasets that are downloaded far more often than they are updated, moving off s3 specifically to stop paying data transfer charges on a read heavy bucket. Of those, serving a large media or asset library to the public where transfer out, not storage, is the dominant cost and hosting a container or artefact registry that thousands of ci runners pull from every day are not what Dokku is typically brought in for.
- What can Cloudflare R2 do that Dokku cannot?
- Cloudflare R2 covers Zero egress billing, S3 API compatibility, Worker binding, Jurisdictional restriction. Dokku covers Git push deploy, Heroku buildpacks, Datastore plugins, Automatic certificates.
Answered from the vendors’ own pages
Cloudflare R2: Is egress really free, with no hidden transfer charge?
Yes for data served out of R2 to the internet. You still pay per operation for the requests that serve it, and if you pull data into R2 from another provider you pay that provider the egress on the way in.
Dokku: Is Dokku still maintained?
Yes. Version 0.38.27 shipped in August 2026 with roughly six releases in the preceding two months. The caveat is that one maintainer writes nearly all of it.
Cloudflare R2: How does the total cost compare with S3 for a public download bucket?
Storage is more expensive per terabyte than S3 Infrequent Access, but S3 charges roughly 90 USD per terabyte served. Any bucket that serves more than about a fifth of its stored volume each month is cheaper on R2.
Dokku: What does Dokku Pro give me over the free edition?
A web dashboard, a JSON REST API, git push over HTTPS, browser log tailing, team management and email support from the maintainers. It costs 849 US dollars once for one production and two pre-production servers.
Cloudflare R2: Can I use R2 without using the rest of Cloudflare?
Yes, it works through the plain S3 API from anywhere. You lose the Worker binding and the free CDN caching in front of it, which is where a lot of the practical benefit sits.
Dokku: Can Dokku run across multiple servers?
Only through the k3s or Nomad schedulers. The k3s path is missing several commands and health check types, and the older Kubernetes scheduler is deprecated and no longer developed.
Cloudflare R2: Does R2 have a cold archive class like Glacier?
No. Infrequent Access is the coldest tier, at two thirds of the Standard rate plus retrieval fees.
Dokku: Will my Heroku application run on it unchanged?
Usually. Dokku runs the same buildpacks and reads a Procfile, so the application layer normally moves across. Add-ons, scaling behaviour and backups are the parts you have to rebuild.
Related pages
More on Cloudflare R2
Other head to heads
- Cloudflare R2 vs IDrive e2
- Cloudflare R2 vs Storj
- Cloudflare R2 vs Tigris
- Cloudflare R2 vs Azure Blob Storage
- Cloudflare R2 vs Google Cloud Storage
- Cloudflare R2 vs Scality RING
- Cloudflare R2 vs MinIO
- Cloudflare R2 vs Cloudian
- Cloudflare R2 vs Panzura
- Cloudflare R2 vs Ceph
- Cloudflare R2 vs Tresorit
- Cloudflare R2 vs TrueNAS
- Cloudflare R2 vs Resilio Sync
- Cloudflare R2 vs Synology
- Cloudflare R2 vs Nextcloud
- Cloudflare R2 vs Box
- Cloudflare R2 vs Dropbox
- Cloudflare R2 vs pCloud
- Cloudflare R2 vs Coolify
- Cloudflare R2 vs CapRover
- Cloudflare R2 vs Fly.io
- Cloudflare R2 vs Render
- Cloudflare R2 vs Heroku
- Cloudflare R2 vs Qovery
- Cloudflare R2 vs Porter
- Cloudflare R2 vs Upsun
- Cloudflare R2 vs Railway
- Cloudflare R2 vs Northflank
- Cloudflare R2 vs Red Hat OpenShift
- Cloudflare R2 vs Fastly
- Cloudflare R2 vs Fireworks AI
- Cloudflare R2 vs Koyeb
- Cloudflare R2 vs Linkerd
- Cloudflare R2 vs Proxmox VE
- Cloudflare R2 vs Akamai
- Cloudflare R2 vs Podman
- Dokku vs IDrive e2
- Dokku vs Storj
- Dokku vs Tigris
- Dokku vs Azure Blob Storage
- Dokku vs Google Cloud Storage
- Dokku vs Scality RING
- Dokku vs MinIO
- Dokku vs Cloudian
- Dokku vs Panzura
- Dokku vs Ceph
- Dokku vs Tresorit
- Dokku vs TrueNAS
- Dokku vs Resilio Sync
- Dokku vs Synology
- Dokku vs Nextcloud
- Dokku vs Box
- Dokku vs Dropbox
- Dokku vs pCloud
- Dokku vs Coolify
- Dokku vs CapRover
- Dokku vs Fly.io
- Dokku vs Render
- Dokku vs Heroku
- Dokku vs Qovery
- Dokku vs Porter
- Dokku vs Upsun
- Dokku vs Railway
- Dokku vs Northflank
- Dokku vs Red Hat OpenShift
- Dokku vs Fastly
- Dokku vs Fireworks AI
- Dokku vs Koyeb
- Dokku vs Linkerd
- Dokku vs Proxmox VE
- Dokku vs Akamai
- Dokku vs Podman
