Cloudflare R2 vs MinIO: which fits your switch decision
Choose Cloudflare R2 when you want managed S3-compatible storage with no egress fee on data leaving through its S3 API, Workers API or r2.dev domains, and no servers for your team to run. Choose self-hosted MinIO when objects must stay on hardware you control and you have people to operate that hardware. Before you weigh either, know that the MinIO README states the community repository is archived and no longer maintained. It is distributed as source only, with no new pre-compiled binaries, so any MinIO cluster you adopt now is one you build, patch and secure yourself. Treat the community edition as a frozen base and compare it with MinIO's commercial AIStor line before you commit.
Four factors should drive the decision. Egress volume comes first for read-heavy workloads: R2 charges no egress fee on those reads, while a self-hosted cluster sends the same traffic over bandwidth you already pay for. Retention is the second check. R2 does not implement S3 bucket versioning or Object Lock, so backup tools or regulators that expect WORM retention in governance or compliance modes, or legal holds, require you to test R2 bucket locks against that requirement. Data location is third: R2 jurisdictional restrictions guarantee EU or FedRAMP storage, but the jurisdiction cannot change after bucket creation, while on-premises MinIO keeps placement entirely in your hands. Fourth, count in-house skills, since a MinIO cluster needs staff for drives, erasure coding, upgrades and key management.
Run a short test before you sign anything. Copy a representative bucket with rclone over the S3 API, list what your backup and retention tools expect, and check each item against R2's bucket locks, which hold objects for a set age, until a date or indefinitely, and override lifecycle rules. If you move to MinIO, plan for a source build with Go 1.24 or later or a Docker image from the provided Dockerfile, and staff the upgrades yourself, since community support is best effort through GitHub and Slack. SLA-backed support comes only through AIStor, so if you need a contractual SLA, request AIStor Free and AIStor Enterprise terms in writing and compare them with your R2 cost model. Have counsel review AGPLv3 obligations for any proprietary use of the community server.
Cloudflare R2 vs MinIO by scenario
This table matches common scenarios to the better fit between Cloudflare R2 and self-hosted MinIO, and names the condition that tips each choice. Read each row against your own workload, then check the conditions before you commit. The main takeaway: MinIO's community edition is archived, so verify versioning, Object Lock and encryption support in the exact build you plan to deploy.
| Scenario | Better fit | Condition that makes it so |
|---|---|---|
| Low volume, no servers to run | Cloudflare R2 | The free tier covers 10 GB-month of Standard storage, so small volumes often cost little and no hosts need patching. |
| Heavy egress to users or analytics | Cloudflare R2 | R2 has no egress fees on direct paths. Pick MinIO only if the analytics readers sit on your internal network. |
| Data must stay in your data center or air-gapped network | Self-hosted MinIO | R2 runs only in Cloudflare's infrastructure. Confirm how the MinIO build and its updates reach the isolated network. |
| Retention rules needing Object Lock or versioning | Self-hosted MinIO, if verified | R2's S3 API lacks Object Lock and versioning and uses bucket locks instead. Verify both features in your exact MinIO build first. |
| EU residency | Cloudflare R2 EU jurisdiction | Guarantees EU storage and cannot change after bucket creation, and needs a jurisdiction-specific endpoint. Choose MinIO if your rules require your own EU facilities. |
| Small team, no Kubernetes or storage operations skills | Cloudflare R2 | Running MinIO well means managing drives, erasure coding, source builds, upgrades and access keys. Choose MinIO only if you already have that skill. |
What MinIO's archived community edition means for a new decision
The first question for a new decision is whether the MinIO community edition is still a product you can rely on. The minio/minio repository is archived and read-only, and its README states that the project is no longer maintained. The community edition is distributed as source code only, with no new pre-compiled binaries, and legacy binaries will not receive updates. The last tagged community release is RELEASE.2025-10-15T17-29-55Z, published on October 16, 2025. Any deployment you start today is therefore frozen at that release or earlier, and you should treat that date as the start of your own patching responsibility. Check the repository and its releases page yourself before you approve a design.
Running the community edition means you take on the operating work a vendor would normally carry. You build the server from source with go install, which requires Go 1.24 or later, or you build a Docker image from the repository's Dockerfile. You then own patching, rebuilds after dependency vulnerabilities, and your own response to any security issue, because no fixes arrive as binaries. Community support is best effort through GitHub and Slack, so nobody is obligated to respond to your incident within a set time. Staff time for these tasks is likely the largest recurring cost, and it should appear as its own line in any internal estimate. The README also says commercial or proprietary use must be validated against AGPLv3 obligations, so have your legal team confirm that before go-live.
The named successors are AIStor Free, a standalone edition under a free license, and AIStor Enterprise, a distributed edition with commercial support. SLA-backed support exists only through AIStor, so staying on the community edition means accepting best-effort support for the life of the deployment. Before you choose, confirm in writing which AIStor edition matches your topology, which license terms apply to your use, what support response commitments come with it, and how upgrades and security fixes are delivered. Record the support path, its owner and a review date in the decision file, so auditors and the team that inherits the cluster can see who answers when something breaks. Confirm this path with the vendor and in your own environment, not only from the README.
Cloudflare R2 vs MinIO on S3 features and gaps
This table compares S3 features and deployment surfaces when moving from Cloudflare R2 to self-hosted MinIO. Read the R2 column as what Cloudflare's S3 API page lists as unimplemented, and the MinIO column as what the README supports, then confirm the rest for your build. The main takeaway: R2's gaps sit in features that backup and compliance tools often expect, while MinIO's archived community status is the larger planning risk.
| Capability | Cloudflare R2 | MinIO |
|---|---|---|
| S3 API compatibility | S3-compatible API, but Object Lock, versioning, ACLs, tagging and bucket policies are listed as not implemented. | S3 API compatible according to the README. Confirm each S3 operation your tools use in the documentation for your build. |
| Bucket versioning | Not implemented in the S3 API. Plan backup and recovery workflows that do not depend on object versions. | Not stated in the README. Confirm versioning support and its behavior in the documentation for the build you deploy. |
| Object Lock, retention and lifecycle rules | Bucket locks block deletion or overwrite by age, date or indefinitely. Up to 1,000 rules per bucket, and they override lifecycle rules. | Not stated in the README. Confirm Object Lock, retention modes, legal holds and lifecycle interaction in the documentation for your build. |
| ACLs and bucket policies | Both listed as not implemented in R2's S3 API. Map each access rule your applications depend on before migrating. | Not stated in the README. Confirm ACL and bucket policy behavior in the documentation for your build. |
| Object and bucket tagging | Listed as not implemented. Keep any tag-based ownership or cost tracking in a separate inventory. | Not stated in the README. Confirm object and bucket tagging support for your build and your tooling. |
| Server-side encryption | SSE-C is supported. Standard SSE and KMS headers are not. | Not stated in the README. Confirm encryption at rest, SSE-C and key management options in the documentation for your build. |
| Kubernetes, web console and CLI | Managed in Cloudflare's dashboard and API. Nothing to install or run in your Kubernetes cluster. | MinIO Operator for Kubernetes, an embedded web console and the mc command-line client, per the README. |
| Data location | Jurisdiction restrictions for EU or FedRAMP guarantee storage location, set at bucket creation. Location hints are best effort. | Runs in the data centers or cloud accounts you choose. Erasure coding documentation explains how objects are encoded across drives. |
| Maintenance status | Operated by Cloudflare as a managed service. Confirm current service terms and support levels in its documentation. | Archived and no longer maintained. Source-only builds, latest tagged release RELEASE.2025-10-15T17-29-55Z. |
Where the data sits and who holds the controls
Both platforms store your objects, but they differ in who runs the infrastructure, where bytes can be pinned, and which controls you configure yourself. Read each card as a question to answer before you sign a renewal or start a migration. The answers determine what your security, compliance and recovery teams can evidence.
Data location and jurisdiction
R2 jurisdictional restrictions keep objects inside the EU or the FedRAMP jurisdiction, but the setting cannot be changed after bucket creation and every client needs the jurisdiction-specific S3 endpoint. Location hints are best effort only, so they do not guarantee placement. MinIO runs wherever you place it, which means your data center or cloud account sets the location and you document it. Confirm which endpoint each backup tool and Workers binding uses before data arrives.
Data location docsWho operates the service
Cloudflare operates R2, so the storage fleet, its upgrades and capacity planning sit with the provider under its service terms. You operate MinIO, which puts servers, drives, network paths, certificates, upgrades and monitoring on your staff from the first day. The community repository is archived and ships as source only, so someone must own security updates for every build you run. Confirm your support route first, because community support is best effort through GitHub and Slack.
MinIO READMEIdentity and access controls
R2 access runs on API tokens that you create and rotate in your Cloudflare account, so each token's scope is a decision you record. MinIO uses its own users and policies, so every application, operator and scheduled job needs an identity you define and review. Confirm console SSO before you commit, including which identity providers the edition you choose supports and whether policy changes are logged. Map each R2 token to one MinIO identity during migration planning, so no shared credential survives the move.
Isolated recovery copies
CIS Control 11, Safeguard 11.4, asks for an isolated instance of recovery data, with offline, cloud or off-site version-controlled destinations as examples. R2's S3 API does not implement object versioning or Object Lock, so a recovery copy in the same bucket shares a failure path with production. Place the recovery copy in a separate account, location or credential set, and test restores from it. Before you rely on MinIO retention features, confirm what your chosen build supports.
Control 11 assessment specAGPLv3 obligations for MinIO
The MinIO community server is licensed under the GNU AGPL v3.0. The network clause matters when you modify the code and let users reach it over a network, because the license can require you to offer those users the corresponding source. Validate any commercial or proprietary use with counsel before rollout, including internal portals that wrap MinIO. The README points to AIStor for commercial licensing, so put that option's terms in writing before you compare it with self-hosting.
Evidence for assessors
Assessors ask for evidence of access reviews, encryption settings, retention and logging. With R2, part of that evidence sits in Cloudflare's service and part in your account configuration, so collect both. With MinIO, every setting and log lives in your environment, so your team must produce the exports. DeployOpen prepares that evidence and the control mapping for your review. Independent auditors and certification bodies issue the reports, and DeployOpen does not.
Cloudflare R2 vs MinIO cost of ownership by component
R2 bills on published unit rates, so its cost depends on how much you store and how many requests your applications and backup tools make. Check the rates on the Cloudflare R2 pricing page before you model them, because tier and class rules can change.
- Standard storage: $0.015 per GB-month. Multiply the average stored gigabytes by the number of months to estimate the monthly storage line.
- Class A and Class B operations: $4.50 per million Class A and $0.36 per million Class B for Standard storage. Write-heavy and list-heavy workloads push these lines up even when stored volume is small.
- Infrequent Access: $0.01 per GB-month, with a 30-day minimum storage duration and a $0.01 per GB retrieval fee. Short-lived objects and frequent reads cost more than the storage rate alone suggests.
- Egress and free tier: Egress is free when data leaves R2 through the Workers API, S3 API or r2.dev domains. The free tier covers 10 GB-month of storage, 1 million Class A and 10 million Class B requests, and applies to Standard storage only.
Confirm which access paths your applications and backup tools use, because the free egress applies to those routes and request counts drive most of the variable charges.
The MinIO community server has no price, so its cost is the servers, drives and network you buy or rent to run it. Purchased hardware is mostly one-time, while leased servers, colocation and cloud instances recur every month, and most lines scale with stored terabytes and the redundancy level you choose.
- Servers and drives (one-time or recurring): Count the nodes and drives needed for current capacity and expected growth. Stored terabytes set this line directly, and a larger erasure set usually means more nodes.
- Erasure-coding overhead (one-time capacity): Erasure coding stores parity alongside data, so raw drive capacity is larger than usable capacity. The parity level you select determines how much extra capacity you buy.
- Bandwidth and load balancing (recurring): Egress from your own network is billed by your provider or carrier, and R2's free egress does not apply to your network. Request volume and egress drive this line, and a load balancer adds appliance or cloud cost.
- Backups and a second copy (one-time and recurring): Backups need separate storage, often at another site or offline, and that storage grows with retention length. Include backup capacity and the network path for restores in the plan.
Ask your hardware vendor or cloud provider for written quotes on each node, drive and network item, sized to the capacity and redundancy level you have chosen, and compare those quotes against the R2 figures using the same stored volume and request counts.
Staff time is often the largest recurring cost of a self-hosted object store. Your team builds, configures, patches and monitors the cluster, and the effort scales with node count, change frequency and how quickly you must respond to security fixes, which R2 handles on the provider side.
- Initial build (one-time): The README describes installing from source with go install (Go 1.24 or later) or building a Docker image from the provided Dockerfile. Your team owns the build pipeline, the image contents and the configuration.
- Upgrades and patches (recurring): The community edition is distributed as source code only, with no new pre-compiled binaries, and legacy binaries receive no updates. Each security fix means your team rebuilds, tests and redeploys.
- Day-to-day operations (recurring): Monitoring, capacity planning, drive replacement, key and certificate rotation, and restore tests. Cluster size and hardware failure rates set how often this work happens.
- Implementation services (one-time): An outside team can plan, build, harden and document the cluster. Agree the scope, deliverables and handover in writing before work starts.
Ask each party to name who performs each task, the effort they expect for it, and who is on call, so the staff line in your comparison reflects actual ownership rather than assumptions.
Support and licensing decide what happens when something breaks, and they are the lines most likely to change. The minio/minio community repository is archived, and its README says any commercial or proprietary use must be validated against AGPLv3 obligations, with commercial licensing and SLA-backed support available only through AIStor.
- Community support (no license fee): Support for the AGPLv3 community software is best effort through GitHub and Slack. Plan internal coverage for incidents and security fixes.
- AIStor Free (license terms to confirm): The README points to a standalone edition under a free license. Confirm its terms, scope and any limits in writing before you depend on it.
- AIStor Enterprise (usually recurring): A distributed edition with commercial support. Ask for the license metric, term, renewal terms and support tier in writing, since these set the recurring line.
- Legal review (one-time): Counsel should review AGPLv3 obligations for your internal use, any modifications and any distribution. Include that review in the plan from the start.
Request a written quote covering each AIStor option, its SLA terms and the license position for your deployment, then compare it line by line with the hardware and staff items above.
How a switch from R2 to MinIO moves data and access
The diagram starts with retention, residency and egress needs, which decide whether R2 stays or MinIO becomes the target. If you move, the migration path begins with an inventory of buckets, objects, bucket lock rules, custom domains and Workers bindings, because bucket locks must be rebuilt and Cloudflare-provided edge access must be replaced. Next you provision MinIO, copy data with rclone over the S3 API, and recreate R2 API tokens as MinIO users and policies. Before you switch endpoints, put a proxy or CDN that you operate in front of public and Workers access, then verify the copy with checksums and restore tests.
Decision path to MinIO, then the migration steps from inventory to endpoint switch.
What a move from Cloudflare R2 to MinIO involves
A move from R2 to MinIO runs in eight stages, from inventory through decommissioning, and each stage closes with a check the client can review. Copying the objects is the smaller task, since the harder work is replacing the bucket locks, public domains, Workers bindings and access keys that R2 provides at its edge. The timeline depends on data volume and the client's cutover plan, so ask for it in the written scope.
Inventory buckets, rules and edge configuration
The DeployOpen team and the client's storage owners list every bucket, its object count and size, and the consumers that read or write it. For each bucket, record bucket lock rules, lifecycle rules, custom domains, r2.dev public access, CORS settings and any Workers bindings. Confirm the list with the Cloudflare account owner and with the teams that maintain each Worker. This step is done when every bucket has a named owner, every public URL and Worker binding maps to a consumer, and the inventory is signed off in writing.
Provision and harden the MinIO cluster
Size the erasure-coding layout against the drive count and failure domains you plan to use, and confirm the edition first, because the community repository is archived and distributed as source only. Enable TLS on the S3 and console endpoints, connect the console to your identity provider through SSO, and send audit logs to your existing log platform. Store backup copies in an isolated location with separate credentials, in line with Safeguard 11.4 of CIS Controls v8.1, which asks for an isolated instance of recovery data. This step is done when a test bucket accepts an authenticated write over TLS, a console login goes through SSO, and the audit log records that write.
Copy objects with rclone over S3
Create one rclone remote for R2 and one for MinIO, using the jurisdiction-specific endpoint if any bucket is pinned to the EU or FedRAMP jurisdiction. Run
rclone copybucket by bucket. R2 does not implement object versioning, so only current object versions exist to copy. R2 does not charge egress for data read through the S3 API, but Super Slurper only copies into R2, so it cannot help with this direction. Reconcile object counts and sizes after each bucket, and compare checksums where both sides expose them. Review the rclone S3 provider guide for flags that match your setup. This step is done when each bucket's report shows no missing or mismatched objects, and the copy logs are archived with the inventory.Recreate access keys and policies
Map each R2 API token to a MinIO identity with a policy that covers only the buckets and prefixes that consumer needs. Issue new credentials through your secret store and rotate them on the schedule your security policy sets, instead of carrying R2 secrets across. Test each application with allowed and denied requests, and confirm that the denials appear in the audit log. This step is done when the mapping table lists every token, identity, policy and owner, and the access tests pass in both directions.
Rebuild retention and lifecycle rules
R2 bucket locks block deletion and overwriting for a set age, until a date or indefinitely, with up to 1,000 rules per bucket, and they override lifecycle rules. Recreate each rule only where the MinIO edition you chose supports object locking and retention, and confirm with the vendor whether locking must be enabled when a bucket is created. Where the target cannot match a rule, document the gap and the compensating control, such as the isolated backups, and get the bucket owner to accept it in writing. Recreate lifecycle expiration rules and test them on a scratch bucket. This step is done when every rule has a matching setting, a test shows a locked object cannot be deleted, and each gap has a signed acceptance.
Replace r2.dev and Workers access paths
Public r2.dev URLs and custom domains bound to buckets need a new origin, served by your ingress or CDN in front of MinIO with TLS and equivalent cache headers. Each Worker that reads or writes R2 through a binding must either call the MinIO S3 endpoint with credentials from your secret store or move that logic to a service you run. Update CORS rules and signed URL generation at the same time. This step is done when every public URL in the inventory returns the expected object through the new origin, each Worker route passes its functional tests, and the logs show no remaining requests to R2 hostnames.
Switch endpoints with a rollback plan
Move applications one group at a time by changing endpoint and credential settings, and keep R2 readable with its buckets intact until the rollback window closes. Plan a short write freeze per bucket, then run a delta copy from R2 to MinIO for objects changed since the last sync, so no write is lost. Each cutover needs a named owner, a recorded change, and a rollback step that restores the previous endpoint in configuration. This step is done when each application reads and writes through MinIO, a rollback has been rehearsed on a non-production system, and the change log records the owner and time of every switch.
Verify, restore test and decommission R2
Restore sample data from the isolated backups into a separate environment and compare checksums against the source inventory, so you know the backups are usable before R2 is removed. Confirm that no legal hold or retention obligation still depends on R2 data, then delete the buckets, revoke API tokens and remove public domains. Deletion ends the rollback option, so get written sign-off from each bucket owner first. This step is done when the restore test report is signed, the decommission record lists each bucket removed and each token revoked, and the final inventory is archived.
What do buyers ask before switching from R2 to MinIO?
What does self-hosting MinIO cost compared with R2 fees?
Self-hosting moves most costs from Cloudflare's bill to your own budget, and the split is what buyers should compare. R2 bills stored gigabytes, Class A and Class B operations, and Infrequent Access retrieval, with egress free on its listed paths, as shown on the R2 pricing page. Your side covers servers, drives, network capacity, power, space, and the staff who run the cluster. Hardware refresh and staff time recur, while design, deployment and migration are usually one-time costs. The community server is AGPL-licensed, and commercial support comes through AIStor. Outbound bandwidth to the internet becomes a line you pay for, so model it from your own traffic. Ask every quote to show who is paid for hardware, staff, support and migration as separate lines.
How long does a migration from R2 to self-hosted storage take?
No single duration applies to every migration, so ask for a written plan with milestones before you commit. The main drivers are total data volume, object count, the number of buckets, and how many systems read from R2 through r2.dev domains, Workers bindings or jurisdiction-specific endpoints. Each Workers binding or public domain needs a replacement path, and each one adds testing work. Cutover depends on change windows, key rotation and rollback rules that your teams approve. Copy speed depends on your network path and the storage on the new side. Ask the planner to state the assumptions behind each driver, which milestones need your sign-off, and what happens if a copy fails halfway through.
What does our team need to provide during a migration?
Your team needs named owners, network access, scheduled change windows and key holders before the migration starts. Name a business owner who accepts each cutover, a technical owner for every application that reads from R2, and a security owner who approves key handling. Network paths must run from the migration host to both R2 and the new cluster, and firewall rules should be agreed before the first copy. Each cutover needs a change window on your calendar in advance. Key holders control R2 API tokens, the new access keys and any secrets store entries. Document who can approve a rollback and who can read credentials during the move.
Can our own team operate a self-hosted S3-compatible store after migration?
Yes, if your team already has Linux, container and storage operations skills and can cover on-call for the cluster. Operating object storage means handling drive and node failures, capacity growth, upgrades, configuration and key rotation, and access reviews. Check whether someone can respond to a failed disk at night and who owns each security patch. Teams without storage experience usually need training or outside support, and that cost recurs until the skills are in place. Confirm the skill gap in a short review before you choose a platform. DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted platforms in your infrastructure, and offers ongoing support as retainers, so the operating load can be shared under a written agreement.
Is archived MinIO safe to deploy for production object storage?
Archived MinIO can run, but only if you accept that you own its patching and security fixes, and you confirm its status with the project and AIStor first. The MinIO README says the repository is no longer maintained, the community edition is distributed as source only, and legacy binaries will not receive updates. The last tagged community release is RELEASE.2025-10-15T17-29-55Z, published October 16, 2025. Community support is best effort through GitHub and Slack, while SLA-backed support is sold only through AIStor. If you build from source, you carry patching, vulnerability tracking, rebuilds and a review of your AGPLv3 obligations. Confirm with the vendor whether AIStor Free or AIStor Enterprise fits your needs and what their support terms cover.
Does R2's missing Object Lock block a move to self-hosted storage?
It can, depending on the retention rules you must meet, so confirm those rules before assuming R2's bucket locks map to the target platform. R2's S3 API page lists Object Lock as not implemented, while R2 bucket locks block deletion and overwriting for a set age, until a date, or indefinitely, with up to 1,000 rules per bucket. Bucket locks override lifecycle rules. S3 Object Lock works only in versioned buckets and offers governance and compliance retention modes plus legal holds. Ask your compliance team which mode, duration and legal hold behavior your records require. Then test whether the target platform enforces the same outcome, using the platform's own documentation for your release.
How does DeployOpen scope and quote a migration engagement?
DeployOpen works on a fixed-scope basis, with scope, deliverables and timelines agreed in writing before work starts. DeployOpen does not publish a price list, and a quote follows from the written scope. A migration scope typically lists the buckets and data volumes in scope, the applications and access paths to re-point, the cutover and rollback plan, the verification steps and the handover documentation. Ongoing support, upgrades and continuous testing are available as retainers, separate from the one-time migration scope. DeployOpen prepares systems and evidence for compliance assessments but does not issue audit reports or certifications. Ask for the scope document, the assumptions behind the schedule and the list of what your team must provide.
How DeployOpen evaluates and runs a move off Cloudflare R2
DeployOpen plans, implements, hardens and documents self-hosted object storage inside your own cloud accounts, data centers or air-gapped networks. For Cloudflare R2 vs MinIO, we start with the R2 features your applications and retention rules depend on, then evaluate which self-hosted option can carry them. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we scope
- The written scope lists which R2 buckets, access paths and lock rules move, and which stay.
- It maps the S3 calls your tools make against R2's documented gaps, including Object Lock and versioning.
- The scope also confirms whether MinIO community, which is archived, or another store fits your support needs.
How we build
- We deploy the chosen store in your own cloud accounts, data centers or air-gapped networks.
- Copy tooling, bucket layout, endpoints and credentials are configured, hardened and tested before any production data moves.
- Backup and upgrade routines are set up, along with replacements for R2 public domains and Workers bindings.
How we hand over
- Handover documents the final endpoints, buckets, key ownership, lifecycle rules and rebuilt retention settings.
- Retests confirm that access paths, permissions and restored objects behave as the written scope requires.
- Runbooks cover upgrades, backup restores and the steps your team runs after the engagement closes.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Security testing of the storage deployment covers cloud and infrastructure controls, as set out in the written scope.
- Backup and recovery evidence is prepared for compliance reviews, while independent auditors issue any reports.

