Skip to content

Cloudflare R2 Storage Engine

Cloudflare R2 Logo

Overview

The Cloudflare R2 Storage allows developers to store large amounts of unstructured data without the costly egress bandwidth fees associated with typical cloud storage services. It uses an Amazon S3 compatible API to store data with high durability and availability.

Requirements

To use the Cloudflare R2 Storage engine, you must have a Cloudflare R2 account. You can sign up for a free Cloudflare account at https://dash.cloudflare.com/sign-up. You will then need to generate an API key that consists of an access key and secret key. Using these credentials and your cloudflare account id.

Create a bucket in your Cloudflare R2 account and note the bucket name. You can specify an optional bucket prefix that you can use to organize your snapshots.