Data Types

Cloudflare R2 Support

Upload, download, and process files in Cloudflare R2 by creating a new folder in the Bytescale Dashboard (see instructions).

Own and manage the Cloudflare R2 bucket your files are stored in.

No storage charge for files stored in Cloudflare R2 buckets. *

*

You will still be required to pay the full price of your Bytescale Plan, which includes built-in storage as standard. Your monthly upload request quota will also remain active. The storage in your Cloudflare R2 bucket is allowed to grow without limits, and won't incur additional charges from Bytescale, regardless of its size.

Please note the following when using Cloudflare R2:

  • Storage usage for Cloudflare R2 is not reported in the Bytescale Dashboard.

  • Requests to transform files from Cloudflare R2 may incur additional latency due to internal download operations:

    • Video and audio transformations incur ~1 second of extra latency per 75MB of input file size when using Cloudflare R2.*

    • Image transformations incur no extra latency: the performance is the same as using Bytescale's Built-in Storage.

*

Applies to the first request only: once the result is cached all subsequent requests to the same URL will return near-instantly.

To use your own Cloudflare R2 bucket as read/write storage for your Bytescale account:

  1. Create an S3 bucket in AWS (if you haven't already).

  2. Create an AWS access key + secret access key pair.

    This key pair must have read/write access to the S3 bucket.

  3. Create a folder in the Bytescale Dashboard.

  4. Edit the folder's settings.

  5. Click on "Storage Settings".

  6. Change "Storage Type" to "Cloudflare R2".

  7. Follow the instructions on the form that appears.

  8. Click on "Save Changes".

For reference, the "Storage Settings" section of the "Folder Settings" page is shown below:

Configuring an Cloudflare R2 bucket

These pages may also be helpful:

Was this section helpful? Yes No

You are using an outdated browser.

This website requires a modern web browser -- the latest versions of these browsers are supported: