What is Amazon CloudFront and how does it improve website performance?
Short answer
Amazon CloudFront is a global content delivery network service that caches copies of your website content, such as images, videos, and web pages, at edge locations physically closer to your users around the world, so requests are served from a nearby location instead of…
Advertisement
AModel answer
Amazon CloudFront is a global content delivery network service that caches copies of your website content, such as images, videos, and web pages, at edge locations physically closer to your users around the world, so requests are served from a nearby location instead of traveling all the way back to your origin server, reducing latency significantly.
Example
aws cloudfront create-distribution --origin-domain-name mybucket.s3.amazonaws.com
Real-world example
A global news website uses CloudFront so that a reader in Tokyo loads images and articles from a nearby edge location instead of waiting for content to travel from a server located in the United States.
Likely follow-ups
- What is an edge location and how many does AWS operate?
- How does CloudFront decide which edge location serves a specific user?
Related topics