What is CDN
- A Content Delivery Network or CDN is a system of distributed servers (Network) that deliver webpages and other web content to a user based on the geographic locations of the user, the origin of the webpage and a content delivery server.
CloudFront – Terminology
- Edge Location – This is the location where content will be cached or saved. This is separate to an AWS Region/AZ.
- Origin – This is the origin of all the files that the CDN will distribute. This has been an S3 Bucket, EC2 Instance, an Elastic Load Balancer or Route53.
- Distribution – This is the name given to the CDN which consists of a collection of Edge Locations.
What is CloudFront
- Amazon CloudFront cant be used to deliver your entire website, including dynamic, static, streaming and interactive content using a global network of edge locations. Requests for your content are automatically routed to the closest Edge Location of the user for the best possible performance. The more users that access the content from one location, the quicker the content will load.
- Amazons CloudFront is optimized to work with other AWS Services, like Amazon S3, Amazon EC2, Amazon Load Balancing and AWS Route 53. CloudFront also works seamlessly with any non-AWS origin server, which stores the original, definitive versions of your files.