工具评估

Cloudflare R2 评估:已在边缘平台中处理对象存储时的选择

对象存储服务,适合与 Cloudflare 的交付和计算能力组合使用。

Editorial verdict

Cloudflare 已是主要平台、需要文件存储与边缘交付组合的团队可优先比较。345

Best for

  • Cloudflare-centered applications serving stored objects through the same network
  • Workloads where direct object-delivery transfer charges dominate storage-provider selection
  • Teams using a verified subset of S3-compatible clients and operations
345

不适合

  • Systems that require unverified S3 features, integrations, or exact behavior
  • Workloads whose primary requirement is deep AWS-native service integration
  • Products expecting object storage alone to solve upload authorization and application callbacks
345
Main trade-off

平台整合很顺畅,但会加深对象数据和应用运行面的集中度。345

产品边界

当对象交付、边缘函数和成本边界都已围绕 Cloudflare 设计时进行评估。

R2 is object storage. Its S3-compatible API is a documented compatibility layer, not a claim of complete S3 service or behavioral parity, and it is not a finished end-user upload workflow.34

适用范围: Teams delivering objects through Cloudflare or seeking an S3-compatible object store with a different egress shape

  • A required client operation or integration is absent from R2's compatibility matrix.
  • The delivery architecture is already committed to Cloudflare Workers and Cloudflare caching.
  • Data residency, jurisdiction, or support terms require a provider-specific review.

为什么团队会评估 Cloudflare R2

  • Cloudflare delivery fitR2 is designed to connect with Cloudflare's network and developer platform.34
  • S3-compatible accessA documented S3 API subset supports familiar clients when the required operations are compatible.34
  • Distinct transfer modelThe public pricing model separates storage and operations and documents no direct R2 egress charge.34

价格与计费

R2 publishes storage, Class A and Class B operation, retrieval, and related service dimensions. The no-direct-egress statement does not eliminate every possible network, transformation, request, or adjacent Cloudflare charge.5

Workload estimate

Usage based

Estimate storage class, operation classes, retrieval, and any adjacent delivery or processing services.5

Primary meters
Storage, operations, and retrieval dimensions5
Compatibility gate
Required S3 operations must be checked against the published compatibility page5
价格核对日期 查看官方价格

Cloudflare R2 与替代方案

Amazon S3

Choose when
Choose S3 when AWS-native integration, regional options, and storage-control breadth are more important.
Compared with Cloudflare R2
The pricing and policy surface is more complex.12

Supabase Storage

Choose when
Choose it when storage authorization should share Supabase Auth and Postgres RLS context.
Compared with Cloudflare R2
The solution is more tightly coupled to the Supabase project.67

Backblaze B2

Choose when
Choose B2 for a cost-focused S3-compatible object store without making Cloudflare the application platform.
Compared with Cloudflare R2
Its native platform and regional breadth are narrower than hyperscalers.910

资源与来源

Official product and pricing

  • Cloudflare R2 documentation
    Open
  • R2 S3 API compatibility
    Open
  • Cloudflare R2 pricing
    Open
  1. 1
    Amazon S3 User Guide

    Amazon Web Services · Accessed Official

  2. 2
    Amazon S3 pricing

    Amazon Web Services · Accessed Official

  3. 3
    Cloudflare R2 documentation

    Cloudflare · Accessed Official

  4. 4
    R2 S3 API compatibility

    Cloudflare · Accessed Official

  5. 5
    Cloudflare R2 pricing

    Cloudflare · Accessed Official

  6. 6
    Supabase Storage documentation

    Supabase · Accessed Official

  7. 7
    Supabase Storage access control

    Supabase · Accessed Official

  8. 8
    Supabase Storage pricing

    Supabase · Accessed Official

  9. 9
    Backblaze B2 documentation

    Backblaze · Accessed Official

  10. 10
    Backblaze B2 pricing

    Backblaze · Accessed Official