S3 - Simple Storage Service (CloudFront (Edge Locations (Edge Locations…
S3 - Simple Storage Service
CDN -What is it?
A content delivery network (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.
Edge Locations are a collection of servers that are in geographically dispersed data centers, and these Edge Locations are used by CloudFront to keep a cache of copies of your objects (HTML files, Images, and other content that you are serving).
Available content can be accessed by users from the Edge Location instead of from the server (which could be located of the other side of the world) thus giving improved performance time, higher transfer rates and lower latency.
Objects that are cached in Edge Locations are cleared from the cache when their TTL (Time To Live) is up, but you can actually clear the cache yourself if you want users to use a newer version of an object (but you will be charged for that).
You can cache content you are trying to access from the website or S3, but you can also write content to the Edge Location. So it is a 2-way thing. I.e. Edge Location are not just READ only - you can WRITE to them too (i.e. PUT an object on to them.)
Edge Locations are separate from AWS regions and AZ’s (Access Zones) and there are actually much more Edge Locations than AWS Region/AZ.
This is the origin of all the files that the CDN will distribute. Origins can be a S3 Bucket, an EC2 Instance, an Elastic Load Balancer, or Route53.
This is the name given the CDN, which consists of a collection of Edge Locations.
Web Distributions - Typically used for websites, HTTP/HTTPS. Cannot be used for Media streaming/Flash multi media content.
RTMP (Adobe Real Time Messaging Protocol) - Used for Media (Video, Audio and Data) streaming / Flash multi media content.
Amazon CloudFront can be used to deliver your entire website, including dynamic, static, streaming, and interactive content using AWS’s global network of edge locations. Requests for your content are automatically routed to the nearest edge location, so content is delivered with the best possible performance.
Amazon CloudFront is optimized to work with other Amazon Web Services, like S3, EC2, ELB and Route53, but can work seamlessly with any non-AWS origin server, which stores the original definitive versions of your files.
Difference between CloudFront and Transfer Acceleration is that CloudFront is focussed on content delivery, thus more efficient reads and downloads, whereas Transfer Acceleration is all about faster uploads into S3.
Amazon S3 Transfer Acceleration enables fast, easy, and secure transfers of files over long distances between your end users and an S3 bucket.
Transfer Acceleration takes advantage of AWS CloudFront’s globally distributed Edge Locations. As the data arrives at an Edge Location, data is routed to S3 over an optimized network path.