With Umbofleet Plus you can keep check photos, incident photos and documents in your own cloud storage bucket instead of on your website. This guide sets it up with Cloudflare R2, which is free for the first 10 GB a month.
Do you need it?
- Without it, Umbofleet keeps photos and documents in a private folder on your website (Umbofleet 0.25.0 and later). That’s fine for most fleets, as long as your hosting has room and your backups include wp-content/uploads.
- Cloud storage helps when your hosting space is tight, when backups are getting slow, or when you’d rather your photos weren’t on the web server at all.
- Files go straight from your site to your bucket. Nothing passes through umbofleet.com, and the bucket stays private: the app reads photos through your site, for signed-in users only.
Works with
- Cloudflare R2 (10 GB a month free, then about $0.015 per GB a month, with no charge for downloads).
- Backblaze B2, Amazon S3 (London region), Wasabi (London region) and Hetzner Object Storage.
- Any other storage that offers an S3-compatible API, using its endpoint and region.
Set up Cloudflare R2
- Sign in to Cloudflare (or create a free account) and open R2 object storage. Cloudflare may ask for a payment card before switching R2 on, even if you stay within the free allowance.
- Choose Create bucket. Give it a name such as
acme-fleet-photos. If you want the files kept in the EU, set the location’s jurisdiction to EU. - Go back to R2 object storage > Overview. Under Account Details, copy your Account ID.
- Next to API Tokens, choose Manage, then Create Account API token.
- Under Permissions, choose Object Read & Write, and limit it to the bucket you just made. Then create the token.
- Copy the Access Key ID and the Secret Access Key. The secret is only shown once, so keep this page open until you’ve finished the next section.
Switch it on in Umbofleet
- In WordPress, go to Umbofleet > Setup > Photos and documents.
- Choose Cloud storage, then choose Cloudflare R2 as the service.
- In Endpoint, replace ACCOUNT_ID with your account ID, for example
https://1a2b3c4d5e.r2.cloudflarestorage.com. If you chose the EU jurisdiction, add.eubefore.r2, for examplehttps://1a2b3c4d5e.eu.r2.cloudflarestorage.com. Leave Region as auto. - Enter the Bucket name, the Access key ID and the Secret access key.
- Choose Save and test.
Umbofleet writes, reads and deletes a small test file before switching on, so a wrong detail is caught straight away and nothing changes. Once it’s on, new photos go to the bucket and your existing photos and documents move across in the background, a few at a time. The Setup page shows how many are left.
Good to know
- Switching back: choose This website and Save and test. Everything comes back to your site the same way, and the bucket is emptied.
- Changing bucket: switch back to This website first and wait for the files to come home, then enter the new bucket.
- Your secret key is stored encrypted with your site’s security keys. If those keys are ever changed, enter the secret again.
- If your Plus licence lapses, new photos are kept on your site and the files in your bucket come back automatically. Nothing is lost.
- Backups: your website backups no longer include the photos. R2 is built to keep files safe, but if your policy needs a separate backup, copy the bucket elsewhere on a schedule.
If something goes wrong
- “HTTP 403” or “AccessDenied”: the token doesn’t have Object Read & Write on this bucket. Create a new token with that permission.
- “SignatureDoesNotMatch”: the secret access key is wrong. Copy it again (or create a new token) and enter it.
- “NoSuchBucket”: check the bucket name, and that the endpoint has your account ID (and
.eufor an EU bucket). - A photo says it can’t be loaded: Cloudflare didn’t answer in time. Try again in a minute; if it keeps happening, check your Cloudflare account is active.