The Cloudflare R2 Integration plugin saves the files of RISE, and your Easy Backup backups, in a private Cloudflare R2 bucket instead of on your server. This article explains how to set it up, step by step.
Features
- Files of the site: new uploads (projects, tasks, tickets, notes, timeline, invoices, profile images and more) are saved in the bucket.
- Private bucket: files are shown and downloaded with links that expire. The bucket doesn't need public access.
- Pasted images: images pasted into notes, comments and tickets keep working after their link expires.
- Big files: large files are uploaded in parts.
- One upload per file: files are sent to R2 once, when they are saved. No temporary copies are kept in the bucket.
- Backups: Cloudflare R2 is a backup destination of the Easy Backup plugin.
- Safe uploads: if R2 can't be reached, the file can be saved on the server instead.
- Files saved by the earlier Cloudflare R2 plugin keep working.
What you need
- RISE 4.2 or newer.
- A Cloudflare account at dash.cloudflare.com with R2 turned on. Cloudflare asks for a payment method the first time, even on the free plan.
In Cloudflare you will create 2 things: a bucket (where the files are saved) and an API token (what RISE signs in with). You also need your Account ID. It takes about 5 minutes.
Step 1: Create the bucket
- Sign in to the Cloudflare dashboard.
- In the left menu open Storage & databases, click R2 Object Storage, then Create bucket.
- Bucket name: enter a name, for example rise-files. Use small letters, numbers and dashes.
- Location: keep Automatic. Choose a jurisdiction (EU or FedRAMP) only if you must keep the data there. Remember it: you need it in RISE.
- Click Create bucket. Leave Public access off: RISE doesn't need it.
Step 2: Copy your Account ID
- Go back to Storage & databases > R2 Object Storage (the overview page).
- Copy the Account ID shown on the page. It has 32 letters and numbers.
Instead of the Account ID you can copy the S3 API URL from the bucket's Settings tab (https://
Step 3: Create the API token
- On the R2 overview page click Manage API tokens, then Create API token.
- Token name: enter rise.
- Permissions: select Object Read & Write.
- Specify bucket(s): select Apply to specific buckets only and choose your bucket.
- Click Create API Token.
- Copy the Access Key ID and the Secret Access Key. The secret is shown only once.
Step 4: Connect RISE
- In RISE go to Settings > Integration > Cloudflare R2.
- Turn on Enable Cloudflare R2.
- Paste the Access Key ID and the Secret Access Key.
- Enter the Bucket name and paste the Account ID (or the S3 API URL).
- Jurisdiction: keep Default, unless you chose EU or FedRAMP in step 1.
- Click Save & authorize. The plugin uploads, reads and deletes a small test file.
- The page reloads and the Status shows Authorized. From now on new files are saved in the bucket.
If you see an error instead, see the Problems table in Cloudflare R2 integration - Settings and problems.
Check that it works
- Upload a file to a note or a project.
- Open the file: it opens from a r2.cloudflarestorage.com link.
- In Cloudflare open Storage & databases > R2 Object Storage and your bucket: the file is there.
Update from the earlier Cloudflare R2 plugin
- Replace the plugin with this version.
- Go to Settings > Integration > Cloudflare R2, turn on Enable Cloudflare R2 and enter the access key ID, secret access key and bucket again. For the Account ID you can paste the endpoint you used before (the earlier settings are not copied).
- Leave Folder in the bucket empty to keep the same place as before.
- Click Save & authorize. Files saved before, and images pasted before, show again.