跳转到主要内容
本章内容82
-
01
Demos and architectures
import { GlossaryTooltip, ResourcesBySelector } from "~/components";
Learn how you can use R2 within your e...
19 小时前
-
02
How R2 works
import { Render, LinkCard } from "~/components";
Cloudflare R2 is an S3-compatible object storage service w...
19 小时前
-
03
Cloudflare R2
import {
CardGrid,
Description,
Feature,
LinkButton,
LinkTitleCard,
Plan,
RelatedProduct,
} from "~/compone...
19 小时前
-
04
Pricing
R2 charges based on the total volume of data stored, along with two classes of operations on that data:
Cla...
19 小时前
-
05
Videos
import { CardGrid, LinkCard } from "~/components";
19 小时前
-
06
Error codes
This page documents error codes returned by R2 when using the Workers API or the S3-compatible API, along w...
19 小时前
-
07
API
import { DirectoryListing } from "~/components";
R2 provides three API surfaces for interacting with your d...
19 小时前
-
08
Authentication
import { DashButton } from "~/components";
You can generate an API token to serve as the Access Key for usa...
19 小时前
-
09
S3 API compatibility
import { Details } from "~/components";
R2 implements the S3 API to allow users and their applications to m...
19 小时前
-
10
Extensions
R2 implements some extensions on top of the basic S3 API. This page outlines these additional, available fe...
19 小时前
-
11
S3
import { DirectoryListing } from "~/components";
19 小时前
-
12
Presigned URLs
import { Tabs, TabItem, LinkCard, TypeScriptExample } from "~/components";
Presigned URLs are an S3 concept...
19 小时前
-
13
Temporary credentials
import { Tabs, TabItem, LinkCard } from "~/components";
Temporary credentials are short-lived, scoped S3 cr...
19 小时前
-
14
Workers API
import { DirectoryListing } from "~/components";
19 小时前
-
15
Workers API reference
import { Type, MetaInfo, WranglerConfig, TabItem, Tabs } from "~/components";
The in-Worker R2 API is acces...
19 小时前
-
16
Use R2 from Workers
import { Render, PackageManagers, WranglerConfig } from "~/components";
1. Create a new application with C3...
19 小时前
-
17
Use the R2 multipart API from Workers
By following this guide, you will create a Worker through which your applications can perform multipart upl...
19 小时前
-
18
Bucket locks
import { DashButton } from "~/components";
Bucket locks prevent the deletion and overwriting of objects in ...
19 小时前
-
19
Configure CORS
import {DashButton} from "~/components";
Cross-Origin Resource Sharing (CORS) is a standardized method that...
19 小时前
-
20
Create new buckets
You can create a bucket from the Cloudflare dashboard or using Wrangler.
:::note
Wrangler is a command-line...
19 小时前
-
21
Data Access Logs
import { DashButton, Steps } from "~/components";
R2 Data Access Logs provide per-request records for objec...
19 小时前
-
22
Delete buckets
import { DashButton, LinkCard } from "~/components";
To delete an R2 bucket, you must first remove all obje...
19 小时前
-
23
Event notifications
import { DashButton } from "~/components";
Event notifications send messages to your queue when data in you...
19 小时前
-
24
Buckets
import { DirectoryListing } from "~/components"
With object storage, all of your objects are stored in buck...
19 小时前
-
25
Local uploads
import { Tabs, TabItem, DashButton } from "
/components";
import R2LocalUploadsDiagram from "/components/cf...
19 小时前
-
26
Object lifecycles
import { DashButton } from "~/components";
Object lifecycles determine the retention period of objects uplo...
19 小时前
-
27
Public buckets
import { Render } from "~/components";
Public Bucket is a feature that allows users to expose the contents ...
19 小时前
-
28
Storage classes
import { Badge, Tabs, TabItem } from "~/components"
Storage classes allow you to trade off between the cost...
19 小时前
-
29
Data migration
Quickly and easily migrate data from other cloud providers to R2. Explore each option further by navigating...
19 小时前
-
30
Migration Strategies
import { Render, FileTree } from "~/components";
You can use a combination of Super Slurper and Sippy to ef...
19 小时前
-
31
Sippy
import { Render, DashButton, Steps } from "~/components";
Sippy is a data migration service that allows you...
19 小时前
-
32
Super Slurper
import { InlineBadge, Render, DashButton } from "~/components";
Super Slurper allows you to quickly and eas...
19 小时前
-
33
Authenticate against R2 API using auth tokens
import { PackageManagers, Tabs, TabItem } from '~/components';
The following example shows how to authentic...
19 小时前
-
34
Authenticate against R2 with temporary credentials
import { PackageManagers, Tabs, TabItem } from "~/components";
The following examples show how to generate ...
19 小时前
-
35
Use the Cache API
Use the Cache API to store R2 objects in Cloudflare's cache.
:::note
You will need to connect a custom doma...
19 小时前
-
36
Examples
import { DirectoryListing, GlossaryTooltip } from "~/components";
Explore the following examples of how to ...
19 小时前
-
37
Rclone
import { Render, Steps } from "~/components";
Rclone is a command-line tool which manages files on cloud st...
19 小时前
-
38
Use SSE-C
import { Tabs, TabItem } from "~/components";
The following tutorial shows some snippets for how to use Ser...
19 小时前
-
39
Terraform (AWS)
import { Render } from "~/components";
This example shows how to configure R2 with Terraform using the AWS ...
19 小时前
-
40
Terraform
import { Render } from "~/components"
This example shows how to configure R2 with Terraform using the Cloud...
19 小时前
-
41
aws CLI
import { Render } from "~/components";
With the
aws CLI installed, you may run
aws configure to configure...
19 小时前
-
42
aws-sdk-go
import { Render } from "~/components";
This example uses version 2 of the aws-sdk-go package. You must pass...
19 小时前
-
43
aws-sdk-java
import { Render } from "~/components";
This example uses version 2 of the aws-sdk-java package. You must pa...
19 小时前
-
44
aws-sdk-js-v3
import { Render, WranglerConfig } from "~/components";
JavaScript or TypeScript users may continue to use t...
19 小时前
-
45
aws-sdk-kotlin
import { Render } from "~/components";
This example uses the aws-sdk-kotlin. You must pass in the R2 config...
19 小时前
-
46
aws-sdk-net
import { Render } from "~/components";
This example uses version 3 of the aws-sdk-net package. You must pas...
19 小时前
-
47
aws-sdk-php
import { Render } from "~/components";
This example uses version 3 of the aws-sdk-php package. You must pas...
19 小时前
-
48
aws-sdk-ruby
import { Render } from "~/components";
Many Ruby projects also store these credentials in environment varia...
19 小时前
-
49
aws-sdk-rust
import { Render } from "~/components";
This example uses the aws-sdk-s3 crate from the AWS SDK for Rust. Yo...
19 小时前
-
50
aws4fetch
import { Render } from "~/components";
JavaScript or TypeScript users may continue to use the
aws4fetch np...
19 小时前
-
51
boto3
import { Render } from "~/components";
Configure
boto3 to use your R2 endpoint:
import boto3
s3 = boto3.cl...
19 小时前
-
52
Configure custom headers
Some of R2's extensions require setting a specific header when using them in the S3 compatible API. For som...
19 小时前
-
53
S3 SDKs
import { DirectoryListing } from "~/components";
19 小时前
-
54
s3mini
import { Render } from "~/components";
s3mini is a zero-dependency, lightweight (~20 KB minified) TypeScrip...
19 小时前
-
55
CLI
import { PackageManagers, LinkCard, Render, Tabs, TabItem, Steps } from "~/components";
Manage R2 buckets a...
19 小时前
-
56
Get started
import { DashButton, LinkCard } from "~/components";
Cloudflare R2 Storage allows developers to store large...
19 小时前
-
57
S3
import { LinkCard, PackageManagers, Render, Tabs, TabItem, Steps } from "~/components";
R2 provides support...
19 小时前
-
58
Workers API
import {
PackageManagers,
WranglerConfig,
LinkCard,
Render,
Tabs,
TabItem,
Steps
} from "~/components";
Wor...
19 小时前
-
59
Delete objects
import { Tabs, TabItem, DashButton, LinkCard } from "~/components";
You can delete objects from R2 using th...
19 小时前
-
60
Download objects
import { Render, Tabs, TabItem, DashButton } from "~/components";
You can download objects from R2 using th...
19 小时前
-
61
Objects
import { DirectoryListing, Render } from "~/components"
Objects are individual files or data that you store...
19 小时前
-
62
Upload objects
import {
Steps,
Tabs,
TabItem,
Render,
DashButton,
LinkCard,
TypeScriptExample,
} from "~/components";
Ther...
19 小时前
-
63
Audit Logs
import { DashButton } from "~/components";
Audit logs provide a comprehensive summary of changes made withi...
19 小时前
-
64
Event subscriptions
import { Render } from "~/components";
Available R2 events
Available Super Slurper events
19 小时前
-
65
Limits
import { Render } from "~/components";
Feature
Limit
Data storage per bucket
Unlimited
Number of objects pe...
19 小时前
-
66
Metrics and analytics
import { DashButton } from "~/components";
R2 exposes analytics for requests, storage, and bandwidth usage ...
19 小时前
-
67
Release notes
import { ProductReleaseNotes } from "~/components";
{/* */}
19 小时前
-
68
Troubleshooting
import { FileTree } from "~/components";
Troubleshooting 403 / CORS issues with R2
If you are encountering ...
19 小时前
-
69
Consistency model
This page details R2's consistency model, including where R2 is strongly, globally consistent and which ope...
19 小时前
-
70
Data location
import { WranglerConfig, DashButton } from "~/components";
Learn how the location of data stored in R2 is d...
19 小时前
-
71
Data security
This page details the data security properties of R2, including encryption-at-rest (EAR), encryption-in-tra...
19 小时前
-
72
Durability
R2 is designed to provide 99.999999999% (eleven 9s) of annual durability. This means that if you store 10,...
19 小时前
-
73
Reference
import { DirectoryListing } from "~/components";
19 小时前
-
74
Unicode interoperability
R2 is built on top of Workers and supports Unicode natively. One nuance of Unicode that is often overlooked...
19 小时前
-
75
Wrangler commands
import { Render } from "~/components";
19 小时前
-
76
Snowflake
import { Render } from "~/components";
This page details which R2 location or jurisdiction is recommended b...
19 小时前
-
77
Protect an R2 Bucket with Cloudflare Access
import { Render } from "~/components";
You can secure access to R2 buckets using Cloudflare Access.
Access ...
19 小时前
-
78
Tutorials
import { GlossaryTooltip, ListTutorials } from "~/components";
View tutorials to help you get started with R2.
19 小时前
-
79
Mastodon
import { DashButton } from "~/components";
Mastodon is a popular fediverse software. This guide will explai...
19 小时前
-
80
Postman
import { DashButton } from "~/components";
Postman is an API platform that makes interacting with APIs easi...
19 小时前
-
81
Use event notification to summarize PDF files on upload
import { Render, PackageManagers, Details, WranglerConfig } from "~/components";
In this tutorial, you will...
19 小时前
-
82
Log and store upload events in R2 with event notifications
import { Render, PackageManagers, WranglerConfig } from "~/components";
This example provides a step-by-ste...
19 小时前