📞 🇺🇸 +1 361 304 4309 📞 🇮🇳 +91 76769 02281 ✉️ [email protected]
Cloud & Infrastructure

How to Set Up Cloudflare R2 as S3-Compatible Storage

How to Set Up Cloudflare R2 as S3-Compatible Storage

Cloudflare R2 offers S3-compatible object storage with zero egress fees — significantly cheaper than AWS S3.

Create R2 Bucket and API Token

Cloudflare Dashboard → R2 → Create Bucket → Manage API Tokens → Create token with Object Read & Write

Configure rclone

rclone config
# Name: r2, Type: s3, Provider: Cloudflare
# Endpoint: https://ACCOUNT_ID.r2.cloudflarestorage.com

Backup Script

tar -czf /tmp/www.tar.gz /var/www
rclone copy /tmp/www.tar.gz r2:yourserver-backups/$(date +%Y-%m-%d)/

Conclusion

Cloudflare R2 eliminates egress costs. Our team configures cloud storage solutions including R2.

#cloudflare #r2 #s3 #object-storage
Share:
🛠️ Need Expert Help?

Don't want to do this yourself?

Our certified engineers implement this for you — correctly, securely, and within hours. Available 24/7 with 15-minute emergency response.

  • ✅ 19+ years experience
  • ✅ 60+ certified engineers
  • ✅ 1,600+ servers managed
  • ✅ 40+ countries served
  • ✅ Plans from $49/mo

Get Expert Help — Free Consultation

We respond within 4 hours · No commitment required

Please enter your name and a valid email.

No spam. Privacy Policy

Comments