CloudFront / Cloudflare in front of S3.
Putting a CDN (CloudFront, Cloudflare, Fastly) in front of an
S3 bucket / origin server reduces the bill because:
A) The CDN caches at edge POPs close to users, so most requests are
served from the cache and never hit S3 — fewer S3 GET requests
and (often) cheaper egress pricing.
B) The CDN encrypts the bucket.
C) S3 charges nothing without a CDN.
D) It speeds up writes.Sign in to save your code and track progress across devices.