Skip to content
Cloudflare Docs
Search
Docs Directory
APIs
SDKs
Help
Log in
Select theme
Dark
Light
Auto
R2
No results found. Try a different search term, or use our
global search
.
Overview
Get started
Overview
Workers API
S3
CLI
How R2 works
Data migration
Overview
Super Slurper
Sippy
Migration Strategies
Buckets
Overview
Create new buckets
Public buckets
Configure CORS
Local uploads
Beta
Bucket locks
Event notifications
Object lifecycles
Storage classes
Objects
Overview
Upload objects
Multipart upload
Download objects
Delete objects
API
Authentication
Workers API
Use R2 from Workers
Use the R2 multipart API from Workers
Workers API reference
S3
S3 API compatibility
Extensions
Presigned URLs
Error codes
R2 Data Catalog
Beta
Overview
Getting started
Manage catalogs
Table maintenance
Connect to Iceberg engines
Apache Trino
DuckDB
PyIceberg
Snowflake
Spark (PySpark)
Spark (Scala)
StarRocks
Deleting data
R2 SQL ↗
Examples
Overview
Multi-cloud setup ↗
Authenticate against R2 API using auth tokens
Rclone
S3 SDKs
aws CLI
aws-sdk-go
aws-sdk-java
aws-sdk-js
aws-sdk-js-v3
aws-sdk-net
aws-sdk-php
aws-sdk-ruby
aws-sdk-rust
aws4fetch
boto3
Configure custom headers
s3mini
Terraform
Terraform (AWS)
Use SSE-C
Use the Cache API
Tutorials
Videos ↗
Demos and architectures
Platform
Choose a storage product ↗
Event subscriptions
Audit Logs
Limits
Metrics and analytics
Release notes
Troubleshooting
Reference
Consistency model
Data location
Data security
Durability
Unicode interoperability
Wrangler commands
Pricing
LLM resources
llms.txt
prompt.txt
R2 llms-full.txt
Developer Platform llms-full.txt
GitHub
X.com
YouTube
Select theme
Dark
Light
Auto
Directory
…
R2
Examples
Copy page
Examples
Explore the following
examples
of how to use SDKs and other tools with R2.
Authenticate against R2 API using auth tokens
Use the Cache API
Multi-cloud setup
Rclone
S3 SDKs
Terraform
Terraform (AWS)
Use SSE-C