Interview Prep/AWS/DNS, CDN and Messaging

How does CloudFront work: distributions, origins and behaviors?

IntermediateConceptDNS, CDN and Messaging
Answer

A distribution has one or more origins (S3, ALB, API Gateway, custom HTTP) and behaviors, path-pattern rules that choose the origin, allowed methods, cache policy, origin request policy, viewer protocol policy and function associations. The cache key (URL plus whichever headers, cookies and query strings you include) decides cache hits, so include only what the origin actually varies on.

TLS certificates for custom domains must be issued in us-east-1 in ACM.

aws All AWS questions Roadmap: AWS core services

More on DNS, CDN and Messaging