The mental model

DNS tells a client where to connect; it does not deliver the application response. Route 53 can host DNS records, while CloudFront accepts requests at edge locations and fetches content from an origin when needed. TLS certificates prove the endpoint’s identity. Treat DNS, certificate validation, caching, and origin access as separate parts of the request path.

For static files, a regular private S3 origin with CloudFront origin access control can keep the bucket from becoming publicly readable. Cache keys and expiration determine which responses visitors share. Personalized or authenticated content needs deliberate caching rules so one user’s response cannot become another user’s cached page.

Decisions to make

  1. Use a private origin when public direct access is unnecessary.
  2. Choose cache behavior from the response’s sensitivity and freshness requirements.

Design exercise · no AWS resources needed

Work through a scenario

A documentation site serves public pages and an authenticated account page.

  1. Trace DNS lookup, TLS connection, cache lookup, and origin fetch.
  2. Identify which content can safely share a cached response.
  3. Choose a private origin access boundary for static assets.

Check your understanding

Which component stores the static files in a CloudFront + S3 design?

Continue with AWS documentation

Before following a deployment guide, review current pricing, permissions, and cleanup steps. Budget alerts are not a hard spending cap.

Saved in this browser. Press again to undo.

Prepaid · USD

Top up balance

Available balance: $0.00

Your balance works across Heap tools. A failed lookup or generation releases its reserved amount.