The Wasabi Integration plugin saves the files of RISE, and your Easy Backup backups, in a private Wasabi 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 to be public.
- Pasted images: images pasted into notes, comments and tickets keep working after their link expires.
- Big files: large files are uploaded in parts.
- No extra storage cost for uploads: files are sent to Wasabi once, when they are saved. No temporary copies are kept in the bucket (Wasabi charges stored data for at least 90 days).
- Backups: Wasabi is a backup destination of the Easy Backup plugin.
- Safe uploads: if Wasabi can't be reached, the file can be saved on the server instead.
- Files saved by the earlier Wasabi plugin keep working.
What you need
- RISE 4.2 or newer.
- A Wasabi account at wasabi.com.
In Wasabi you will create 4 things: a bucket (where the files are saved), a policy (what RISE is allowed to do), a user (who RISE signs in as) and an access key (the user's key). It takes about 10 minutes.
Step 1: Create the bucket
- Sign in to the Wasabi Console.
- Click Buckets, then Create Bucket.
- Select Bucket Name: enter a name, for example rise-files. Use small letters, numbers and dashes. The name must be unique in all of Wasabi.
- Region: select the region closest to your server, for example us-east-1. Write it down: you need it in RISE.
- Click Next on each step (Set Properties, Replication, Logging & More) to keep the defaults. The bucket stays private.
- On Review click Create Bucket.
Step 2: Create the policy
The policy allows RISE to use this bucket only, and nothing else in your Wasabi account.
- Click Policies, then Create Policy.
- Policy name: enter rise-access.
- In the Policy Editor delete the text and paste the policy below.
- Replace my-bucket with your bucket name. It appears 2 times.
- Click Create Policy.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource": "arn:aws:s3:::my-bucket"
},
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject"
],
"Resource": "arn:aws:s3:::my-bucket/*"
}
]
}
The first part lets RISE check the bucket and its region. The second part lets RISE read, upload and delete the files inside the bucket.
Step 3: Create the user and its access key
- Click Users, then Create User.
- User name: enter rise. Select Programmatic access only (no console access). Click Next.
- Skip Groups: click Next.
- In Policies search for rise-access and click + next to it. Click Next.
- On Review click Create User.
- The access key of the user is shown. Copy the Access Key and the Secret Key, or download them as a CSV file. The secret is shown only once: you can't see it again later.
Lost the secret? Click Users, then the user rise, open User Access Keys and click Create Access Key to get a new one.
Step 4: Connect RISE
- In RISE go to Settings > Integration > Wasabi.
- Turn on Enable Wasabi.
- Paste the Access key ID and the Secret access key.
- Enter the Bucket name and select the Region of the bucket.
- 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 Wasabi integration - Settings and problems.
Check that it works
- Upload a file to a note or a project.
- Open the file: it opens from a wasabisys.com link.
- In the Wasabi Console open Buckets and your bucket: the file is there.
Update from the earlier Wasabi plugin
- Replace the plugin with this version.
- Go to Settings > Integration > Wasabi, turn on Enable Wasabi and enter the access key, secret, bucket and region again (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.