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
- Use a private origin when public direct access is unnecessary.
- 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.
- Trace DNS lookup, TLS connection, cache lookup, and origin fetch.
- Identify which content can safely share a cached response.
- Choose a private origin access boundary for static assets.
Check your understanding
Which component stores the static files in a CloudFront + S3 design?
Choose an answer to see the reasoning.
Continue with AWS documentation
Before following a deployment guide, review current pricing, permissions, and cleanup steps. Budget alerts are not a hard spending cap.