Cloudflare R2 vs Azure Blob Storage

Choose Cloudflare R2 for S3-compatible storage where free egress on supported paths matters. Choose Azure Blob Storage for Microsoft-centric estates that need its access tiers and immutability. Self-host when you need control over data location and retention.

On this page

Cloudflare R2 vs Azure Blob Storage: which fits your workload

Choose Cloudflare R2 when your applications and backup tools already speak the S3 API, your largest cost pressure is data leaving the store, and you do not need S3 versioning or Object Lock. Choose Azure Blob Storage when your estate is centered on Azure and you need access tiers and immutability enforced by the platform. R2's published egress is free for objects that leave through the Workers API, the S3 API or r2.dev domains, so read-heavy delivery workloads are where it helps most. Cloudflare's R2 pricing page lists the storage and operation charges that still apply. Azure Blob fits teams whose data and compute stay inside Azure, who want hot, cool, cold and archive tiers matched to access patterns, and who need time-based retention or legal holds at container or version level. Check which access paths your workload uses before relying on free egress, because Azure charges per-gigabyte outbound transfer for data leaving an Azure region.

The choice turns on four questions. First, retention enforcement: R2 bucket locks prevent deletion and overwriting for a set age, until a date or indefinitely, and they override lifecycle rules. A locked Azure time-based policy can be extended but never deleted or shortened, so confirm which behavior your compliance team needs. Second, S3 API dependence: if your backup or compliance tooling calls Object Lock or bucket versioning, R2 is a gap to plan around, while Azure uses its own Blob API and your tools must support it. Third, data location: R2 jurisdictional restrictions guarantee EU or FedRAMP storage, but they cannot be changed after bucket creation, and location hints are best effort only. Fourth, who operates the platform: both services are provider-run, so ask who holds the encryption keys, what audit evidence you receive, and whether an exit plan needs a self-hosted target such as Ceph or SeaweedFS.

Which scenarios favor Cloudflare R2 or Azure Blob Storage

This table compares the scenarios where Cloudflare R2 or Azure Blob Storage is the stronger starting point for object storage. Read each row with its condition, because most advantages depend on the access path, redundancy type, retention mode or usage level named in the cell. The main takeaway is that neither service wins on every axis, so match your workload to a row before comparing totals.

ScenarioBetter fitWhy and the condition that must hold
S3-tool workloads with heavy public or outbound readsCloudflare R2Egress is free only through the Workers API, S3 API or r2.dev domains. Azure charges per gigabyte of outbound transfer.
Azure-centric estate with apps on the Blob APIAzure Blob StorageHolds only while applications keep using the Blob API. R2 serves the S3 API, so Blob API clients need code changes.
Regulated WORM retention with legal holdsAzure Blob Storage with immutable storageLegal holds and time-based retention at container or version level, once policies are locked. Locked policies can only be extended.
Long-retained cold data, read rarelyAzure Blob archive tier, on LRS, GRS or RA-GRS accountsRarely read data. Archived blobs need rehydration, which can take up to 15 hours. Archive is unavailable on ZRS, GZRS or RA-GZRS accounts.
Cold data read occasionallyCloudflare R2 Infrequent AccessHolds for reads that are occasional and objects kept 30 days or longer. Storage $0.01 per GB-month, retrieval $0.01 per GB (R2 pricing page).
EU residencyCloudflare R2 EU jurisdictionGuarantees EU storage, set at bucket creation and fixed afterward. Needs the EU S3 endpoint; location hints are best effort only.
Small workloads inside R2's free tierCloudflare R2 Standard storageHolds only within these monthly allowances: 10 GB-month storage, 1 million Class A and 10 million Class B requests, Standard only (R2 pricing page).
Multi-cloud portabilityCloudflare R2, if clients use the S3 APIHolds for S3 API clients only. R2 does not implement versioning, Object Lock, ACLs or bucket policies. rclone reaches both services.

Cloudflare R2 vs Azure Blob Storage pricing: what each bill contains

Cloudflare R2 and Azure Blob Storage bill for different things, so a line-by-line comparison matters more than a headline price. R2 publishes unit prices for storage and operations and charges no egress for data read through its Workers API, S3 API or r2.dev domains. Azure bills capacity, transactions, reads and data leaving the region, and the tier and redundancy you choose shape much of the total.

R2 Standard storage and operations

R2 Standard storage is billed at $0.015 per GB-month according to Cloudflare's R2 pricing page. Operations are billed on top, with Class A at $4.50 per million requests and Class B at $0.36 per million for Standard. Confirm which API calls fall into each class, because a workload that writes and lists heavily shifts the bill toward the higher-priced class. Model both classes against your actual object counts and request logs before comparing, and remember that egress is free only through R2's Workers API, S3 API and r2.dev domains.

Cloudflare R2 pricing

Infrequent Access and the free tier

Infrequent Access is billed at $0.01 per GB-month and carries a 30-day minimum storage duration plus a $0.01 per GB retrieval fee. Objects deleted before 30 days are generally still billed for the full minimum, so confirm the exact rule on the pricing page. The free tier covers 10 GB-month of storage and 1 million Class A and 10 million Class B requests a month, for Standard storage only. Infrequent Access has no free allowance, so every gigabyte stored there is billed from the first byte.

Azure's billing components

Azure bills capacity by access tier: hot, cool, cold and archive. Each tier also carries per-transaction charges, and cool, cold and archive add per-GB read charges on top. Redundancy is a separate choice that changes both the bill and the durability you receive, so compare LRS, ZRS and GRS options with the same redundancy on each side. Confirm every Azure rate for your region in Microsoft's pricing tools before comparing totals.

Azure access tiers

Early deletion and outbound transfer

Cool data should stay at least 30 days, cold 90 days and archive 180 days. Deleting, overwriting or moving a blob sooner triggers prorated early deletion charges, so retention plans need to match tier minimums. Outbound transfer is billed per gigabyte for data leaving an Azure region, which can become a large line item for read-heavy or multi-region workloads. Object count, read frequency, transaction volume and tier changes drive both bills up or down, so model each workload before choosing a tier.

How Cloudflare R2 vs Azure Blob Storage compare on capabilities

This table compares Cloudflare R2 and Azure Blob Storage on the capabilities that usually decide a migration: API compatibility, retention controls, encryption, durability, access tiers and tooling. Read each cell as a fact about one platform, and treat a cell marked to confirm as a question to put to the vendor before you rely on it. The main takeaway is that R2 offers an S3 API with several S3 controls missing, while Azure uses its own Blob API and offers time-based retention and legal holds.

CapabilityCloudflare R2Azure Blob Storage
API modelS3 API with gaps: bucket versioning, Object Lock, ACLs, tagging and bucket policies are not implemented.Azure Blob API. rclone uses a dedicated Azure Blob backend, separate from its S3 backend.
Versioning and Object LockNo S3 versioning or Object Lock. Bucket locks block deletion or overwrite for an age, a date or indefinitely.Immutable storage with time-based retention and legal holds. Confirm Azure blob versioning in Microsoft's documentation.
Bucket policies, ACLs and taggingNot implemented: bucket policies, ACLs, object tagging and bucket tagging.Confirm access policy and tagging options in Microsoft's documentation before mapping existing rules.
Encryption headersSSE-C supported. Standard SSE and KMS headers are not supported.Confirm server-side and customer-managed key options in Microsoft's documentation.
Durability and redundancyAsk Cloudflare for the published durability figure and redundancy design for the jurisdiction you choose.Microsoft states 11 nines for LRS, 12 for ZRS, 16 for GRS and GZRS. Redundancy does not protect against deletes or overwrites.
Access tiersStandard and Infrequent Access. Infrequent Access has a 30-day minimum storage duration and a per-GB retrieval fee.Hot, cool, cold and archive. Minimum stays are 30, 90 and 180 days for cool, cold and archive.
Archive tier availabilityStandard and Infrequent Access only, so no archive class is listed.Archive works on LRS, GRS and RA-GRS accounts. ZRS, GZRS and RA-GZRS accounts cannot use it.
Migration toolingSuper Slurper copies from Amazon S3, Google Cloud Storage and S3-compatible providers, skipping objects over 1 TB.Super Slurper does not list Azure as a source, so use rclone's Azure Blob backend.

Where data lives and what leaving each platform involves

Where data is stored and how it can leave decide how hard a move is, and the cards below compare the two platforms side by side. R2 fixes residency at bucket creation and exits mainly through S3-compatible tools, while Azure ties residency, cost and recovery options to account redundancy, access tier and region. Check each point against your own buckets, accounts and export volume before planning a move.

R2 jurisdiction is fixed at creation

R2 jurisdictional restrictions keep objects inside the EU or FedRAMP jurisdiction, and the setting is permanent: the jurisdiction cannot be changed after bucket creation. Buckets in a jurisdiction must be reached through a jurisdiction-specific S3 endpoint, so every application, backup job and script needs that endpoint in its configuration. Location hints are best effort only, so they do not guarantee where data sits. Confirm the jurisdiction with your compliance team before the first bucket is created, and record the endpoint in your configuration inventory.

Data location docs

Azure redundancy and tier limits

Azure lets you choose LRS, ZRS, GRS or GZRS for each storage account, and that choice sets where copies live and which access tiers you can use. The archive tier is unavailable on ZRS and GZRS accounts, so a zone-redundant design limits how cold data can be kept. Data leaving an Azure region carries per-gigabyte outbound charges, so the region you pick also sets the cost of moving data out later. Microsoft's durability figures cover hardware failure only, and redundancy does not protect against deletions or overwrites, so keep immutability or separate backups in the plan.

Redundancy docs

R2 exit over the S3 API

Leaving R2 is mostly a copy job. Export each bucket over the S3 API with rclone, which avoids egress fees on that path, and confirm the export does not depend on Workers or r2.dev domains. The Workers bindings and r2.dev domains must be replaced before cutover: code that reads objects through bindings needs a new storage client, and public files served from r2.dev need a new origin and domain. Re-create access keys on the destination, then compare object counts and checksums after each bucket copies.

rclone S3 docs

Azure exit and the Blob API

Azure Blob Storage uses a Blob API that is different from S3, so applications, backup tools and scripts that call Azure directly need code changes before they can point at an S3-compatible target. rclone has a dedicated Azure Blob backend, which copies containers and blobs without a custom script, but the destination still needs its own client settings. Confirm with Microsoft or your account team whether egress charges apply to your export volume and region, and include that line in the migration budget before scheduling the copy. Check archive tier blobs early, because they must be rehydrated before they can be read.

rclone Azure docs

Decision path: when Cloudflare R2, Azure Blob Storage or a self-hosted store fits

The path starts with whether the workload needs S3 API tools. If it does not, and the estate is Azure-centric, check Azure Blob Storage against your needs for access tiers and immutability. If S3 tools are needed and no Object Lock or legal holds apply, Cloudflare R2 fits when S3 API coverage and free egress on supported paths matter. Where Object Lock or legal holds are required, ask whether data location must stay under your control. If it must, or if retention features or operating cost must be set by your organization, a self-hosted store such as Ceph RADOS Gateway or SeaweedFS applies, provided your team can operate it. If it cannot, review a managed S3 option with Object Lock instead.

Conditions that route a workload to R2, Azure Blob Storage or self-hosted storage.

When a self-hosted S3-compatible store fits better than both

Neither product is the right fit when your organization must control where objects sit, how long they are retained, or how storage cost is structured. A self-hosted S3-compatible store moves those decisions into your own data centers. Ceph's RADOS Gateway (RGW) is the broadest option: it provides a RESTful API that follows the basic S3 data access model, with versioning, lifecycle rules, multipart uploads, ACLs and bucket policies, and its bucket replication works only across zones. Confirm Object Lock support in the Ceph release you select before you rely on it for retention. Check the release line too. The Ceph releases page lists Tentacle as actively maintained, while Squid's estimated end of life, October 31, 2026, has already passed, so confirm which release is current before you choose. Cephadm, which runs the cluster as containers, has been available since v15.2.0.

SeaweedFS, licensed under Apache-2.0, is designed for very large numbers of small files and offers S3, HTTP and filer access, but its paid Enterprise Edition means you should confirm which capabilities you need from the community code before you commit. Garage, licensed under AGPL-3.0, suits small geo-distributed clusters, yet it does not implement object versioning, Object Lock or server-side encryption, so it cannot carry retention-heavy workloads. MinIO is the one to rule out for new work. Its community repository is archived and distributed as source only, so do not choose it for a new deployment, and plan a migration for any existing one. Whichever engine you pick, test your backup tool against its S3 behavior, because client compatibility varies by product.

Running cost has four recurring components: servers, drives, network bandwidth and staff, with support as an optional fifth. Hardware is bought up front and must be refreshed, and drive capacity has to grow with the data. Bandwidth is where the bill moves: egress charges from your current provider end, but traffic on your own network and transit now needs sizing and payment. Staff time for upgrades, monitoring and restore testing recurs even under a support contract. Ask any implementation partner to quote each line separately, and ask what the quote assumes for staffing. Migration also changes client code. Neither Ceph nor SeaweedFS speaks the Azure Blob API, so applications that call Blob endpoints must move to an S3 client, and any dependence on access tiers or immutability policies needs an S3 equivalent that you confirm in tests.

Moving between Cloudflare R2 and Azure Blob Storage

This sequence moves objects, retention controls and access paths between R2 and Azure without losing track of what is stored or who can read it. It ends with a verified copy, switched consumers and a source that is removed only after a retention review. Each step names the output that shows it is complete.

  1. Inventory buckets, containers and access paths

    The storage owner lists every R2 bucket or Azure container with its object count, total size, storage class or access tier, lifecycle rules and retention settings. Next, record every way data is reached: Workers bindings, r2.dev domains, Azure SAS links, and SDK calls in applications, backup jobs and scripts. Note the team that owns each consumer. The step is done when the inventory has one row per bucket or container, one row per access path, and each consumer owner has confirmed their entries.

  2. Check egress and early deletion charges

    Confirm charges with the provider before any copy starts. When Azure is the source, egress charges may apply, because Azure bills per-gigabyte outbound data transfer for data leaving an Azure region. Early deletion charges may also apply to cool, cold and archive blobs that are deleted, overwritten or moved before their tier's minimum storage period, so compare the inventory against those minimums. When R2 is the source, egress is free for reads through the Workers API, S3 API or r2.dev domains, but Infrequent Access objects carry a minimum storage duration and a retrieval fee. The step is done when the cost estimate is in writing and the budget owner has accepted it.

  3. Choose target tier, redundancy and jurisdiction

    The owner selects the destination tier and redundancy before data moves, because each choice changes cost and recovery behavior. In Azure, the archive tier works only on LRS, GRS and RA-GRS accounts and is unavailable on ZRS, GZRS and RA-GZRS accounts. Microsoft states that redundancy protects against hardware failure, not against deletions and overwrites, so retention controls still matter. In R2, the jurisdiction such as the EU or FedRAMP must be set at bucket creation and cannot be changed later. The step is done when the decision record names the tier, redundancy or jurisdiction, and the approving owner. See Microsoft Learn: Access tiers for blob data.

  4. Recreate retention controls in the target

    R2 bucket locks and Azure immutable storage policies do not transfer automatically, so each control is rebuilt in the target before data lands. Map every R2 bucket lock, which can prevent deletion for a set age, until a date or indefinitely, and which overrides lifecycle rules, to an Azure time-based retention policy or legal hold. Moving from Azure into R2 runs the other way, and bucket locks are the R2 mechanism because the R2 S3 API does not implement Object Lock. A locked Azure time-based policy can be extended but cannot be deleted or shortened, so test settings on a non-production container first. The step is done when compliance approves a retention matrix and each rule is reproduced in the target.

  5. Copy data with rclone's matching backend

    The copy runs with rclone, using the S3 backend for R2 and the dedicated Microsoft Azure Blob Storage backend for Azure, because rclone treats the two as separate backends. Run a test copy on one bucket or container first, then copy each inventory row in turn and keep the log for every run. Use tokens scoped to read on the source and write on the target only. Cloudflare's Super Slurper skips objects over 1 TB, so large objects need rclone or another tool. The step is done when every inventory row has a completed copy log with no unresolved errors.

  6. Verify object counts and checksums

    Compare object counts, total bytes and checksums between source and target for every inventory row, using rclone check or a comparable tool that supports both backends. Where checksums cannot be compared directly across providers, compare sizes and sample hashes after download, and record the method used. Confirm that versioned or locked objects match the inventory, and that no object in the target changed after the copy. The step is done when every row shows matching counts and an agreed checksum result, and any difference is logged with an owner and a resolution.

  7. Switch endpoints, credentials and access paths

    Application owners point clients at the new endpoint and credentials, and rebuild each access path from the inventory. Workers bindings are replaced with code that calls the target's API, r2.dev public domains are replaced with a custom domain or gateway, and Azure SAS links are reissued with the target's signing and expiry settings. Revoke old tokens and SAS links only after consumers have cut over. Keep watching request logs on the source during the switch to catch any consumer missed in the inventory. The step is done when source logs show no active consumers and each access path has a tested replacement.

  8. Decommission the source after retention review

    Before deletion, the compliance owner reviews retention rules, legal holds and any regulatory retention that applies to the source data, and confirms that early deletion charges were accepted or avoided. Check for any R2 bucket lock or Azure immutable policy first, because locked data cannot be deleted before its retention period ends. Only then is the source emptied and removed. Record final object counts and the removal date in the decommission log. The step is done when the retention review is signed off, the source is removed, and the log is filed with the migration record.

What buyers ask before choosing or moving Cloudflare R2 vs Azure Blob Storage

How do I compare total cost of Cloudflare R2 and Azure Blob Storage?

Compare each cost component for both services, then check which ones your workload actually drives. For R2, Cloudflare's pricing page lists Standard storage at $0.015 per GB-month, Infrequent Access at $0.01 per GB-month, Class A operations at $4.50 per million and Class B operations at $0.36 per million for Standard. Egress is free when data leaves R2 through the Workers API, S3 API or r2.dev domains. Infrequent Access adds a 30-day minimum storage duration and a $0.01 per GB retrieval fee. Azure bills per-gigabyte outbound transfer for data leaving an Azure region, per-transaction charges in every tier, and per-gigabyte reads in the cool, cold and archive tiers, plus prorated early deletion charges. Azure rates vary by region, tier and redundancy, so confirm them against your own price sheet. The main drivers are stored volume, request count, how much data is read back, and how often data leaves the cloud.

Does Cloudflare R2 or Azure Blob Storage lock me into a contract?

Published pricing and documentation describe rates and features, not your contract terms, so confirm the commitment model with each vendor in writing. Ask about any minimum commitment, term length, notice period for price changes, and what happens to your data at termination. Ask what an exit costs, since R2 reads through its free paths carry no egress charge while Azure charges outbound transfer. Lock-in also comes from the API. R2 offers an S3-compatible API but does not implement Object Lock, bucket versioning, ACLs, object tagging or bucket policies. Azure uses its own Blob API rather than the S3 API. Ask whether R2 jurisdiction settings can be changed after bucket creation, because the R2 documentation says they cannot. Keep the answers in a signed document.

How much effort does moving off R2 or Azure Blob Storage take?

Effort depends mostly on how far your applications rely on provider-specific features, and bulk copying is usually the simpler part. Inventory the Workers bindings that read R2, public bucket domains, Azure shared access signature (SAS) links, retention and immutability policies, and client code that calls the Blob API or an S3 SDK. Each item needs a replacement or a deliberate retirement. Cloudflare's Super Slurper copies objects into R2 from Amazon S3, Google Cloud Storage and S3-compatible providers, skips objects over 1 TB, and recommends a tool such as rclone for migrations it does not fit. Its listed sources do not include Azure Blob Storage. Plan a parallel run and a rollback path for each application before you switch endpoints.

What does my team need to provide before a storage migration starts?

Provide a bucket and access inventory, a compliance sign-off on retention, and a named owner for each application. The inventory should list every bucket or container, its size and object count where known, access keys, tokens and SAS links, lifecycle and retention rules, public endpoints, and the applications that read or write each one. Compliance must confirm retention periods, data location requirements and who approves deletion. Each application owner needs to test the result, approve a cutover window and sign off on rollback. Confirm the environments in scope and the acceptance tests before work begins. DeployOpen plans, implements, documents and backs up self-hosted platforms inside your own infrastructure, and most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

Can our own team handle an object storage migration without a partner?

Often yes for a small number of buckets with simple access, but be honest about how many applications depend on provider features. The main drivers are how many applications read R2 or Blob storage directly, whether Workers or other functions sit in the access path, how much retention logic is involved, and whether the team has run S3-compatible storage before. Internal teams usually manage the copy and endpoint switch well, and the risk concentrates in access edge cases and retention changes. The rclone Azure documentation describes a dedicated Azure Blob backend alongside its S3 backend, so copy tooling is available either way. If staff capacity is limited or the compliance review is strict, a fixed-scope engagement can cover planning, implementation, documentation and testing, and a retainer can cover upgrades and continuous testing afterward.

Can Cloudflare R2 meet SEC 17a-4 style retention requirements?

R2 alone does not provide the controls that SEC 17a-4 style retention reviews usually examine, and your compliance team makes that decision. Cloudflare's S3 API compatibility page lists Object Lock and bucket versioning as not implemented. R2 bucket locks prevent 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. Whether that meets your obligations depends on your retention policy, your records process and any independent assessment. Ask Cloudflare for its bucket lock documentation and ask directly for any third-party assessment of bucket locks against these rules, without assuming one exists. For comparison, Azure immutable storage supports time-based retention and legal holds, and Microsoft states that Cohasset Associates validated it against SEC 17a-4(f) when policies are locked. A locked time-based policy can be extended but not shortened.

What changes in staffing and support when we self-host Ceph?

Self-hosting moves uptime, upgrades, capacity planning and backups to your team or your partner. For Ceph, that covers servers, drives, networking, monitoring, upgrades and on-call coverage. Ceph's source is licensed under LGPL and the project offers no paid edition, so support comes from your own staff, a third-party contract or a DeployOpen retainer for ongoing support, upgrades and continuous testing. Check release lifecycles before you deploy. The Squid line's estimated end of life was October 31, 2026, which has already passed, so confirm that the Tentacle line, with an estimated end of life of June 1, 2027, fits your schedule. Ceph's RADOS Gateway supports versioning, lifecycle rules, multipart uploads, ACLs and bucket policies, but confirm each feature your applications use. Staffing depends on cluster size and how many applications depend on it.

How DeployOpen evaluates, implements and integrates object storage

DeployOpen compares Cloudflare R2 and Azure Blob Storage against the controls your team relies on, including versioning, retention locks, data location and exit paths. Where a self-hosted platform such as Ceph fits, we plan, build and document it in your own infrastructure under a written, fixed scope.

How we scope

  • The written scope names the buckets, apps, access paths and retention rules that move.
  • We map the Blob and R2 S3 API calls in your code, so gaps are known before design starts.
  • We record which retention needs rely on immutable storage, bucket locks or Object Lock.

How we build

  • We deploy the chosen platform in your accounts or data centers with the agreed redundancy and access settings.
  • We configure versioning, lifecycle rules, keys and bucket policies, then test them against the workloads that depend on them.
  • We test deletion, overwrite and retention behavior on sample data before any production objects are copied.

How we hand over

  • We deliver runbooks for endpoint changes, key rotation, bucket creation and restores, written for your operations team.
  • Data copies run with rclone, followed by a per-bucket reconciliation of object counts, sizes and retention settings.
  • We document the control mapping so your compliance team can review backups, retention and access before an assessment.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Ask the retainer to name who patches the gateway and how Ceph release upgrades are scheduled and tested.
  • We publish no price list, so ask for quote lines per component of the written scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.