Cloudflare Cost Security & compliance

Large R2 bucket storage (storage cost)

Part of the Workers, Pages & API tokens check · fix arrives as a guide

What it is

An R2 bucket holds a large volume of stored data.

Why it matters

R2 bills on storage, so a bucket that only grows is a line item that only grows. Buckets accumulating build artifacts, logs, or old uploads are the usual cause, and nothing prompts a review.

How to fix it

Add lifecycle rules to expire objects past a useful age, and check whether the bucket holds anything that should have been cleaned up — old deploys and superseded uploads are the common finds.

Run them all on your app

Connect your repo and your live services with read-only scopes. The first scan is free, and nothing changes without your approval.