How I Saved $100/Month by Moving Storage to Cloudflare R2

September 13, 2025
2 min read
How I Saved $100/Month by Moving Storage to Cloudflare R2

If you’re running a Next.js app or hosting large assets for your project, storage costs can add up quickly. I was spending $100+ every month on AWS S3 buckets until I discovered Cloudflare R2, which offers a more affordable and developer-friendly storage solution.


💰 The Cost Problem with AWS S3

  • Storage fees added up as my project grew.
  • Data egress charges made it unpredictable.
  • Integrating with Vercel deployments wasn’t always smooth.

For my project, media and JSON files were being served thousands of times a day, and S3’s egress fees were killing my budget.


🚀 Why I Moved to Cloudflare R2

Cloudflare R2 instantly stood out because:

  • No egress fees – you don’t pay extra for downloads.
  • Seamless integration with Vercel and Next.js apps.
  • Global CDN distribution through Cloudflare’s network.
  • S3-compatible API so migration is easy.

⚙️ How I Switched from AWS S3 to Cloudflare R2

  1. Created an R2 bucket in Cloudflare dashboard.
  2. Generated API keys and credentials.
  3. Updated my next.config.js to allow R2-hosted media.
  4. Pushed code via GitHub and deployed with Vercel.

📊 My Monthly Savings

ProviderMonthly Cost
AWS S3 + Egress$120
Cloudflare R2$20

Total savings: $100/month 🎉


✅ Key Takeaways

  • If your project is serving files at scale, Cloudflare R2 can save serious money.
  • Migration is simple thanks to S3-compatible APIs.
  • Performance actually improved due to Cloudflare’s CDN edge network.

🔗 Related Guides

Written by Oli Miah – sharing developer-friendly guides on cloud storage, Next.js, and Vercel.

Recent Articles

How I Fixed My CI/CD: Fast, Optimized, and Pro-Level Deploys (Hugo + Cloudflare)

January 14, 2026

We’ve all been there: you push a tiny CSS tweak, and then you sit… and wait… and watch the GitHub Actions logs spin. My Hugo site was taking nearly a minute to deploy. Not …

Deploy Hugo + Tailwind v4 to Cloudflare: Super Fast GitHub Workflow

January 13, 2026

So you want your Hugo site to fly, right? Like, blink-and-it’s-live kind of speed. I got you. We’re gonna set up a GitHub Actions workflow that takes your Hugo code (rocking Tailwind v4), builds it …

Is Tailwind CSS Dying in 2026? Why v4 Might Be the Framework's Final Masterpiece

January 13, 2026

Hope you’re doing good! Honestly, there’s some pretty wild news in the Tailwind world right now. It’s a mix of “the tech is amazing” and “the business is in trouble.” …

Why Hugo is the best Static Site Generators in 2026

January 13, 2026

Thinking about building a site in 2026? Honestly, the “shiny object syndrome” is real with all these frameworks, but Hugo is still the low-key king for anyone who wants a site that just …

Windows 11 vs. The Linux Crew: Why It’s Time to Jump Ship

January 13, 2026

If you’re tired of Windows 11 acting like that one overbearing landlord who enters your apartment without knocking, it’s time we talk about Linux. Switching OSs sounds like a massive headache, but …

Upgrading openSUSE Leap 16.0 to Kernel 6.18 (LTS) via Backports

January 12, 2026

Look, openSUSE Leap 16.0 is awesome. It’s stable, it’s enterprise-grade, and it doesn’t crash. But sometimes, “stable” feels a little too much like “driving your …