Amazon CloudFront is a Content Delivery Network that makes use of Amazon's points of presence as edge locations to perform regional edge caching of content. It can be used to serve both RTMP and web content.
- Origins contain the source content, and are where requests for content not present in the cache are directed.
- Distributions are individual caches.
- Origin Access Identities allow you to authenticate with origins.
Only responses to
OPTIONS requests are cached, though CloudFront distributions can be configured to accept the following HTTP methods:
CloudFront distributions support long-lived WebSocket connections without configuration.
S3 as origin
An S3 bucket can be used as an origin for cheaply serving static files.
- Standard (access) logs follow the W3C extended log file format.
- Real-time logs allows delivery in real-time (latency in the seconds) of sampled requests via Kinesis data firehose. You're able to select the log data you wish to receive.
Note that log messages are not necessarily in chronological order.
The full list of fields is in the developer guide, but some interesting highlights:
time-takentracks the time from the server's receipt of the client's request until the last byte of the response is written to the output queue.