

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: CloudFront CDN
incomplete
2: CloudFront Distributions
incomplete
3: CloudFront Invalidation
incomplete
4: Presigned URLs
incomplete
5: Why Use Presigned URLs?
incomplete
6: CloudFront With DNS
incomplete
7: Cleanup
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
Click to play video
How does Netflix serve a 14 GB 4K video file to a user on demand? Two options include:
But neither of those solves the problem of initial load time (how long until the first frame starts after hitting "play"). To get fast initial loads, we also need a quick round-trip time (RTT). If you're a gamer, it's basically the same as server ping: the time it takes for a request to go from your computer to the server and back.
CloudFront is AWS's content delivery network (CDN). A CDN is a network of servers distributed around the world that cache and serve content in locations that are physically close to users. In simple terms, they cache static content like images, videos, and scripts from an origin server and serve it from the nearest edge location.
CDNs solve two main problems: