Configuring Cloudflare R2
Connect a Cloudflare R2 bucket โ no egress fees, great for frequent backups.
4 min readยทโ๏ธ Storage
Cloudflare R2 is S3-compatible with zero egress fees, making it ideal for frequent backups or large restore operations.
Step 1 โ Create an R2 bucket
In Cloudflare dashboard โ R2 โ Create Bucket. Choose a name and location hint (optional).
Step 2 โ Create an API token
In R2 โ Manage R2 API Tokens โ Create API Token. Set permissions to 'Object Read & Write' and scope it to your specific bucket.
Step 3 โ Get your endpoint URL
The R2 endpoint follows this pattern:
https://<ACCOUNT_ID>.r2.cloudflarestorage.comFind your account ID in the Cloudflare dashboard URL or the R2 overview page.
Step 4 โ Add to VPS Snaps
In Storage โ Add Destination, select S3-Compatible and fill in: your bucket name, any region string (e.g. auto), Access Key ID, Secret Access Key, and the endpoint URL from step 3.