CloudFront Flashcards
Difference in location for CF Functions and Lambda@Edge
CF Functions reside at the 218+ Edge Locations
Lambda@Edge exists at the 13 Regional Edge Locations – closer to the origin
How to configure CF Standard (Access) Logs? Where and how often are they delivered?
Configure on a distribution, send to S3. Sent multiple times an hour, but can delay up to 24 hours
What are CF Real-time logs, and how to configure?
Within-seconds logs. Delivered to KDS. From there, you can build your own consumer, or use KDS —> KDF —> S3
What is the point of CF Origin Groups?
Failover. With origins in an origin group (primary / secondary), you can configure failover
I can use URL paths in my CF distribution to route to many different origins. How does Lambda@Edge improve upon this?
By running code in response to requests. Can make decisions on more factors – headers, cookies, query strings, viewer country, etc.
What is “S3 Zone Apex Support,” and why is it relevant to CloudFront?
This refers to the power of an Alias record to point from a root domain to another AWS resource (in this case, S3) So this allows you to point 222323.cloudfront.net –> examplebucket.s3.amazonaws.com, as for static website hosting