Cloudflare R2 vs Google Cloud Storage: which fits your workload
Choose Cloudflare R2 when your workload uses S3-style access, sends large volumes of data out to users or applications, and has no Google Cloud estate to stay close to. Choose Google Cloud Storage when your identity, compute and billing already run in Google Cloud, or when you need Bucket Lock or Google's colder storage classes. R2 charges no egress for data that leaves through its S3 API, Workers API or r2.dev domains, according to Cloudflare's R2 pricing page. Confirm Google's egress rates for your own destinations and regions before you compare totals, since Cloud Storage network charges depend on where the traffic goes. Both services work with S3 tools, but Cloud Storage does so through its XML API using HMAC keys and V4 signing.
Retention rules usually decide this first. R2 does not implement S3 Object Lock or bucket versioning, so backup tools and compliance rules that expect either will need redesign. R2 bucket locks block deletion or overwriting for a set age, until a date, or indefinitely, with up to 1,000 rules per bucket, and they override lifecycle rules. Cloud Storage Bucket Lock sets a retention policy of up to 100 years. Locking it is irreversible and the period can only be increased, so test the policy on a non-production bucket first. Cloud Storage also offers four classes: Standard and Rapid have no minimum storage duration and no retrieval fees, while Google's storage classes set 30, 90 and 365 day minimums for Nearline, Coldline and Archive, all with retrieval fees. R2 offers Standard and Infrequent Access, which has a 30-day minimum and a $0.01 per GB retrieval fee, so its cold-tier choice is narrower.
Four questions settle it. First, retention and versioning: list the rules your auditors, backup software and legal team require, then check each one against R2 bucket locks or Bucket Lock before committing. Second, data location: R2 jurisdictions keep objects in the EU or under FedRAMP, but the jurisdiction is set at bucket creation, cannot be changed later and requires a jurisdiction-specific endpoint, so confirm it with compliance. Third, operation and download volume: pull request counts and transfer volumes from your logs, then compare R2's Standard rates of $4.50 per million Class A and $0.36 per million Class B operations with Cloud Storage operation and network charges for the same workload. Fourth, exit planning: Super Slurper copies from Google Cloud Storage into R2 but skips objects over 1 TB, and Cloudflare recommends rclone, which has a dedicated Google Cloud Storage backend, for migrations it does not fit, so rehearse a restore before you renew.
Which scenario favors Cloudflare R2 and which favors Google Cloud Storage
This table maps common storage scenarios to the platform that usually fits better, with the condition under which that holds. Read the Depends rows as questions to settle with the vendor or your assessor before you choose. Public downloads and small free-tier workloads favor R2, while an existing Google Cloud estate and retention rules tied to Bucket Lock often favor Google Cloud Storage.
| Scenario | Better fit | Why and the condition |
|---|---|---|
| Public content with heavy downloads | Cloudflare R2 | R2 has no egress fees when objects leave through the S3 API, Workers or r2.dev domains. Holds while downloads go directly from R2. |
| Backup tools that expect S3 versioning or Object Lock | Depends | Check the tool first: R2 omits S3 versioning and Object Lock; Cloud Storage Bucket Lock works differently. |
| Retention with legal holds | Depends | Cloud Storage Bucket Lock sets retention up to 100 years and is irreversible once locked. R2 locks last for an age, a date or indefinitely. |
| Existing Google Cloud estate | Google Cloud Storage | Workloads already on Google Cloud keep identity, billing and tooling in one place. Holds when data and compute stay in Google Cloud. |
| EU or FedRAMP residency | Depends | R2 jurisdiction guarantees EU or FedRAMP storage, fixed at creation. Confirm the assessor accepts it and check Google's location options. |
| Operation-heavy pipelines | Depends | R2 pricing page lists Class A at $4.50 and Class B at $0.36 per million Standard operations. Model request counts before comparing. |
| Small workloads inside the R2 free tier | Cloudflare R2 | Free tier covers 10 GB-month, 1 million Class A and 10 million Class B requests monthly. Holds if you need no Object Lock. |
Where R2's S3 API and Google's retention controls diverge
Backup and retention tools that depend on the S3 feature set will not run unchanged on R2. The S3 API compatibility page lists Object Lock, bucket versioning, ACLs, object and bucket tagging and bucket policies as not implemented. R2 supports SSE-C, where the client supplies the encryption key, but not the standard SSE or KMS request headers. Any job that sets x-amz-server-side-encryption or calls versioning, tagging or policy APIs needs to be found before cutover. Export the exact S3 calls and headers your backup software sends, then test each one against a non-production R2 bucket. Record which calls fail, which are silently ignored and which succeed. A silently ignored setting can leave you with backups that do not meet your retention requirement, and that risk is easy to miss until a restore is needed. Cloudflare R2 S3 API compatibility
The two retention models differ in how permanent they are. R2 bucket locks block deletion and overwriting for an age, until a date, or indefinitely, with up to 1,000 rules per bucket, and they override lifecycle rules. Cloud Storage Bucket Lock sets a retention policy of up to 100 years that blocks deletion and replacement of objects. Locking that policy is irreversible, the retention period can only be increased, and a locked bucket can be deleted only after every object has met its retention period. Map each current retention requirement onto both models before you choose. Confirm in each vendor's documentation how rules are added, changed or removed and who holds that permission, because a period set too long on a locked Google bucket cannot be shortened later. Cloud Storage Bucket Lock
Google's XML API is the easier route for existing S3 tooling. Cloud Storage works with S3 tools at storage.googleapis.com through Cloud Storage HMAC keys and V4 signing, so a client that signs requests with S3-style credentials may be pointed at Google with configuration changes alone. That does not close the feature gaps on its own. Confirm which bucket versioning, object retention and encryption options Google exposes through the XML API, and check them against the headers your tools send before deciding. Tie any HMAC key to a dedicated service account with only the bucket roles the job needs, store the key in your secrets manager and include rotation in the test plan. Cloud Storage interoperability
Cloudflare R2 vs Google Cloud Storage capabilities, side by side
This table compares the capabilities that most often decide an object storage move, including S3 API coverage, retention, encryption, durability, storage classes and copy tooling. Read each row as a check of whether your current tools and compliance controls will still work on the target platform. The main takeaway is that R2 leaves several S3 features unimplemented, so confirm the open items on each vendor's documentation before you decide.
| Capability | Cloudflare R2 | Google Cloud Storage |
|---|---|---|
| S3 API compatibility | S3 API with several features not implemented | XML API works with S3 tools using HMAC keys and V4 signing |
| Bucket versioning and retention | Bucket versioning not implemented in S3 API; bucket locks set retention instead | Confirm versioning on Google's Cloud Storage docs; Bucket Lock retention up to 100 years |
| Bucket policies and ACLs | Bucket policies and ACLs not implemented in S3 API | Confirm current ACL and policy support on Google's interoperability page |
| Encryption headers | SSE-C listed; confirm current position on Cloudflare's S3 API page | Confirm supported encryption headers on Google's interoperability page |
| Durability | Confirm current durability figure on Cloudflare's R2 documentation | 99.999999999% annual durability for all storage classes |
| Storage classes and minimum durations | Standard and Infrequent Access; Infrequent Access has a 30-day minimum | Rapid and Standard have no minimum; Nearline 30 days, Coldline 90, Archive 365 |
| Location control | EU or FedRAMP jurisdiction fixed at bucket creation; location hints are best effort | Confirm bucket location and region options in Google's storage documentation |
| Bulk copy tooling | Super Slurper imports from S3 and Google Cloud Storage; skips objects over 1 TB | gcloud storage rsync from S3; Storage Transfer Service for S3 imports |
| Deployment model | Managed Cloudflare service; no self-hosted option | Managed Google Cloud service in Google's infrastructure |
Cloudflare R2 vs Google Cloud Storage pricing structure, by component
Both services bill for stored data and for requests, but they differ in how they charge for retrieval, minimum storage duration and network transfer. The cards below separate each bill into its components so you can match your access pattern to the right cost line before you compare totals.
R2 storage and operations
R2 Standard storage is listed at $0.015 per GB-month, with Class A operations at $4.50 per million and Class B operations at $0.36 per million, according to Cloudflare's R2 pricing page. The free tier covers Standard only: 10 GB-month of storage plus 1 million Class A and 10 million Class B requests a month. Model the bill from request counts as well as stored bytes, since operations often drive this line. Confirm which API calls fall into each class on the same page before you estimate.
R2 pricing pageR2 egress and Infrequent Access
R2 Infrequent Access is listed at $0.01 per GB-month, with a 30-day minimum storage duration and a $0.01 per GB retrieval fee, so it fits data that is read rarely. R2 egress is free for both storage classes when data leaves directly through the Workers API, the S3 API or r2.dev domains. Egress is free only on those three access paths, so map every application, backup job and analytics tool to one of them. Ask Cloudflare how early deletion is billed and confirm what applies to traffic that leaves by any other route.
Cloud Storage class rules
Google's Rapid and Standard classes have no minimum storage duration and no retrieval fees. Nearline carries a 30-day minimum, Coldline 90 days and Archive 365 days. Nearline, Coldline and Archive all charge retrieval fees, so the class you choose decides whether a rarely read dataset is cheap to hold or expensive to access. Check the current rates on the storage classes page and confirm the location type of each bucket before you compare with R2.
Storage classes docsWhat drives the bill
Four inputs move the total on both platforms: the number of operations, the volume retrieved, the storage class chosen and network egress. On R2, the retrieval fee applies to Infrequent Access, so read-heavy Standard workloads cost mostly in requests. On Cloud Storage, retrieval fees and minimum durations on non-Standard classes can outweigh the storage price if data is read or deleted early. Network egress from Google Cloud is a separate line, so confirm how it applies to your traffic on Google's pricing page before you compare totals.
How to decide between R2, Google Cloud Storage and a self-hosted store
The diagram starts with whether the workload depends on S3 versioning or Object Lock. R2 implements neither, so those workloads go to Google Cloud Storage or a self-hosted Ceph RGW cluster, depending on whether the team already runs on Google Cloud and needs its own data center. Without that requirement, the path checks whether a self-owned data center is needed, then a guaranteed EU or FedRAMP jurisdiction, then existing Google Cloud use, then expected egress and operation volume. Confirm each answer against your retention rules, residency obligations and cloud contracts. MinIO is left out of the new-deployment branches because its community edition is archived.
Decision path from retention and residency requirements to a storage target.
Who controls the data, and what leaving each one involves
Cloudflare R2 and Google Cloud Storage differ in where data can be pinned, how it can be exported, which provider features tie an application to one platform, and what a move costs in time and charges. Each card below covers one of those decisions so you can check it before planning an exit.
Where the data is stored
R2 jurisdictions guarantee storage inside the EU or under FedRAMP, but the jurisdiction is fixed at bucket creation and cannot be changed after bucket creation. Buckets in a jurisdiction require a jurisdiction-specific S3 endpoint, and location hints are best effort, so they should not be relied on for residency. For Google Cloud Storage, confirm the bucket location types and what each guarantees in Google's documentation before you assume any residency control. Ask both providers where replicas, backups and access logs are kept.
R2 data locationHow data leaves the platform
Exporting from R2 usually means rclone over the S3 API, and data that leaves R2 through that API carries no egress fee. For Google Cloud Storage, rclone has a dedicated backend, and Cloud Storage also answers S3 tools through its XML API using HMAC keys and V4 signing. Google documents gcloud storage rsync for syncing with Amazon S3, which you should test for your own bucket layout. If you copy into R2 with Super Slurper, objects over 1 TB are skipped, so plan a separate transfer for them.
Provider-specific features that tie you in
On R2, Workers bindings and r2.dev public paths depend on Cloudflare's edge, so each one needs a replacement before you switch. R2's S3 API also does not implement Object Lock, bucket versioning, ACLs, tagging or bucket policies, so tools that rely on them need a different target. On Google Cloud Storage, Bucket Lock cannot be undone once locked, and its retention period can only be increased. List any Google-specific APIs your application calls beyond the XML API, since those calls must be rewritten.
Bucket Lock docsWhat leaving involves
Start with an inventory of every bucket, its location setting, lifecycle rules, bucket lock or retention rules, and the keys and service accounts that reach it. Each access key must be re-created at the destination, and application endpoints change once the copy is verified. Nearline, Coldline and Archive classes on Google carry minimum storage durations and retrieval fees, so check egress and operation charges for each bucket before the copy starts. Keep the source readable until checksums match at the destination.
Storage classes docsWhat a move between R2 and Google Cloud Storage involves
This sequence moves a bucket set between Cloudflare R2 and Google Cloud Storage without losing objects or breaking the clients that read them. Each step ends with a check you can record, so the cutover rests on object counts and checksums. Confirm the bucket lock, jurisdiction and key settings with your own environment before the first copy starts.
Inventory buckets, retention, lifecycle and keys
Record every bucket, its object count and size, its region or jurisdiction, and any retention or lifecycle rules attached to it. On the R2 side, list bucket locks and lifecycle rules, because bucket locks override lifecycle rules. On the Google Cloud side, list any Bucket Lock retention policies, storage classes, and the HMAC keys and service accounts that clients use. The output is a signed-off inventory sheet owned by the storage team, and it is done when every bucket appears on it with a named owner.
Decide the target bucket and residency
Choose whether data lands in a standard R2 bucket, a jurisdiction-restricted R2 bucket (EU or FedRAMP), or a Google Cloud location, and record the answer per bucket. R2 jurisdictional restrictions cannot be changed after bucket creation, and they require a jurisdiction-specific S3 endpoint, while location hints are best effort only. Ask your compliance team to confirm the residency requirement in writing before you create anything. The output is a target map that lists each source bucket, its destination, and the endpoint each client will use.
Plan retention before any copy starts
Decide the retention settings for each target bucket before data arrives, because Google Cloud Bucket Lock is irreversible once locked, and its period can only be increased. A locked bucket can be deleted only after every object has met its retention period, so a wrong setting can hold data in place. On R2, bucket locks block deletion and overwrites for a set age, until a date, or indefinitely, and they override lifecycle rules, so review those rules too. The output is a written retention schedule per bucket, approved by the data owner.
Copy objects with Super Slurper or rclone
For Google Cloud Storage into R2, use Super Slurper, which skips any object over 1 TB. Use rclone for those larger objects, for anything Super Slurper does not cover, and for every copy in the opposite direction, from R2 to Google Cloud Storage, since Super Slurper only copies into R2. Google documents
gcloud storage rsyncfor copies between Amazon S3 and Cloud Storage, so do not plan it for R2 transfers. Compare object counts per bucket with the inventory sheet when each copy ends. The output is a copy log per bucket and a count that matches the source.Rebuild access with new keys and endpoints
Create new credentials on the destination, such as R2 API tokens or Google Cloud HMAC keys for the XML API, and scope each one to the bucket it serves. Use the jurisdiction-specific S3 endpoint for R2 buckets that carry a restriction. Check that clients do not send standard SSE or KMS headers to R2, since R2 supports SSE-C but not those headers. Map each old identity to its replacement and test each key with a read and a write before any client uses it. The output is a key register with owners, scopes and a passing test per key.
Switch clients and verify checksums
Point clients, scripts and backup jobs at the new endpoints, and leave the source buckets unchanged until the checks pass. Compare object counts and checksums for every bucket against the inventory, then read sample objects end to end through the new keys. Replace any r2.dev domains or Workers bindings that clients rely on, because they depend on Cloudflare services at the edge. The output is a signed cutover record with counts, checksums and the date each client moved.
When Ceph, SeaweedFS or Garage fits better than both products
Neither product is the right answer in two situations. The first is when backup tools or retention rules need S3 versioning and Object Lock on hardware you control. R2's S3 API implements neither, and Cloud Storage's Bucket Lock is a different control from S3 Object Lock. Ceph RADOS Gateway is the option to evaluate for that case: it documents support for versioning, lifecycle rules, multipart uploads, ACLs and bucket policies, but it replicates buckets only across zones. Confirm Object Lock in the Ceph S3 API documentation for your release before writing retention rules against it. The second situation is when egress and operation volume dominate costs and your team can run storage staff. Ceph's source is LGPL-2.1 or LGPL-3.0 and the project sells no paid edition, so support comes from a vendor or your own staff.
Garage is AGPL-3.0 and suited to small geo-distributed clusters, but it does not support object versioning, object locking or server-side encryption, so it cannot cover the first situation or a compliance-driven retention need. SeaweedFS is Apache-2.0 and built for very large numbers of small files, but its Enterprise Edition is paid, so review which features that edition adds in the SeaweedFS repository before you commit to the community build. MinIO's community edition is archived and distributed as source only, so it is not a basis for new deployments. If you run it today, start planning the migration now.
Running Ceph means paying for servers, drives, a network between nodes that carries replication traffic, and staff time for upgrades, monitoring and restore tests. Size monitor, manager, OSD and gateway hosts before purchase, and budget support separately, because the project sells none. For release choice, Tentacle (20.2.x) is the actively maintained line, with 20.2.4 the latest listed release and an estimated end of life of June 1, 2027. Squid's estimated end of life of October 31, 2026 has already passed, so confirm its support status on the Ceph releases page before you plan any upgrade from it. Deployment uses cephadm, which runs Ceph as containers from v15.2.0 onward, so earlier releases fall outside its scope.
What buyers ask before choosing or moving off R2 or Cloud Storage
What does Cloudflare R2 cost to run compared with Google Cloud Storage?
R2 and Cloud Storage both bill for stored data and requests, but their cost structures differ in ways that matter. R2 Standard storage is listed at $0.015 per GB-month and Infrequent Access at $0.01 per GB-month, according to the R2 pricing page. Class A operations cost $4.50 per million and Class B operations cost $0.36 per million for Standard storage. Egress is free when data leaves R2 through the Workers API, S3 API or r2.dev domains, and the free tier covers 10 GB-month of Standard storage. Cloud Storage's Rapid and Standard classes have no minimum storage duration or retrieval fee, while Nearline, Coldline and Archive add minimum durations and retrieval fees. For Cloud Storage rates, check Google's pricing for storage, operations and network egress in your region. Your bill depends on how often you write, read and list objects, as well as how much you keep.
Can an internal team migrate off R2 or Cloud Storage on its own?
An internal team can often move simple buckets alone, but the work gets harder once retention, keys and provider-specific access are involved. For plain object copies, rclone has a dedicated Google Cloud Storage backend, and its S3 backend works with any S3-compatible endpoint, which R2 exposes, so a small team can script a first copy. Expect harder work in three places:
- Retention: bucket locks on R2 and Bucket Lock on Cloud Storage must be rebuilt as settings on the target, and Google's lock cannot be undone once applied.
- Keys: R2 API tokens and Cloud Storage HMAC keys map to new credentials, so every application needs new access.
- Access paths: Workers bindings, r2.dev or public bucket domains, and Google-specific IAM or service account access need replacements.
A pilot on one non-critical bucket shows whether your team can handle the rest before you commit to a full move.
How long does moving data out of R2 or Cloud Storage take?
The duration depends on data volume, object count, the number of buckets in scope and how much data changes during the move. DeployOpen agrees the timeline in writing as part of the fixed scope, so the schedule follows from your inventory. Transfer time grows with total bytes and object count, so millions of small files usually take longer than the same bytes stored in fewer large files. Cutover work often takes longer than the copy itself, because each application that reads the data needs testing and a switch window. Retention rules and bucket locks add review time before any deletion on the source. Ask for a phased plan with an initial copy, a delta sync to catch changes, a read test, a dated cutover and a rollback point before the source is retired.
What does my team need to provide before a migration starts?
Before work starts, the buyer provides a bucket inventory, retention rules, access patterns and named owners for each dataset. The inventory lists every bucket, its object count, approximate size, storage class, public access paths, lifecycle rules and any bucket lock or retention settings. Retention rules matter because R2 bucket locks and Cloud Storage Bucket Lock enforce retention differently, and a Bucket Lock on Google is irreversible once locked. Access patterns show which applications read through the S3 API, Workers, r2.dev or the Cloud Storage XML API with HMAC keys, which tells engineers what to replace. Named owners sign off on scope, cutover windows and rollback decisions. DeployOpen agrees this scope in writing before work starts, and a quote follows from it.
Does self-hosting remove egress charges from object storage?
Self-hosting removes the provider's egress charges, but bandwidth and network costs stay in your own accounts. R2 charges no egress for data leaving through its Workers API, S3 API or r2.dev domains, so copying data out of R2 does not carry that fee. Cloud Storage egress is billed by Google at the rates on its pricing page, and you should confirm those rates before comparing totals. When you run Ceph, SeaweedFS or Garage in your own cloud account or data center, traffic to users and between sites is paid to your carrier, cloud provider or ISP. Other cost drivers include:
- Uplink capacity at each site
- Replication traffic between nodes or zones
- Traffic from backup and restore jobs
Model these with your own traffic data before comparing totals.
Do contract terms change when moving off R2 or Cloud Storage?
Contract terms depend on the agreement you hold with each provider, so read it before you decide. Ending use of R2 or Cloud Storage can affect notice periods, minimum commitments, committed-spend discounts, credits and the terms for returning or deleting data after exit. Check whether a partial move, where some data stays with the provider, changes any commitment you have. Ask legal or procurement to confirm the deletion date and the format of any data return in writing. On the self-hosted side, Ceph is licensed under LGPL-2.1 or LGPL-3.0, SeaweedFS under Apache-2.0 and Garage under AGPL-3.0, so each license governs the software you run. Have counsel review those obligations for your use, including any modifications you make and whether you distribute them.
Does DeployOpen publish prices for storage migration work?
No, DeployOpen does not publish a price list, and a quote follows from the written scope. Most engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts. To request a quote, send the bucket inventory, retention rules, access patterns and named owners described above, along with the target platform and whether you need ongoing support. Ask the quote to list each deliverable, the testing and cutover steps, the backup approach and which costs are one-time and which recur. Ongoing support, upgrades and continuous testing are available as retainers, which form a separate recurring line. Ask for the change process if the inventory grows during the work, and confirm exactly what each retainer covers.
How DeployOpen helps you evaluate, implement or move object storage
DeployOpen starts with a written scope that compares Cloudflare R2 and Google Cloud Storage against your bucket inventory, access paths, retention rules and data location needs. Where a self-hosted S3-compatible store fits, we plan, implement and integrate it inside your own infrastructure, then document and hand it over. Engagements are fixed-scope, agreed in writing before work starts.
How we scope
- The written scope lists the buckets, applications and access paths in each platform that are in and out.
- We map retention needs, since R2's S3 API does not implement Object Lock or bucket versioning.
- Data location is confirmed in writing, including R2 jurisdiction endpoints and Google Cloud Storage location choices.
How we build
- We deploy the chosen S3-compatible store, such as Ceph RADOS Gateway, SeaweedFS or Garage, in your own infrastructure.
- Setup covers access keys for applications, admin access controls, audit logging and encryption settings.
- Copy jobs, typically with rclone, are tested on sample buckets before any production cutover.
How we hand over
- Deliverables include the architecture, endpoint and key inventory, runbooks and the migration record.
- Replacements for Workers bindings, r2.dev domains, or Google Cloud IAM and signed URL paths are mapped and documented.
- Retention and backup evidence is written up so your compliance team and independent auditor can review it.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers after handover.
- Security testing of the storage setup, including access paths and key handling, can be scoped as a fixed engagement.
- Upgrades are planned against the platform's release schedule and tested before production rollout.

