Amazon CloudFront is a web service that AWS uses to speed up the distribution of static and dynamic web content through a worldwide network of data centers called edge locations.

  • Amazon CloudFront can speed up the distribution of the content by routing user requests through the AWS backbone network.
  • Amazon CloudFront delivers the content immediately if it is already in the edge location.
  • If the content is not in the edge location, Amazon CloudFront retrieves it from the defined origin.
  • Amazon CloudFront reduces the latency that users experience when retrieving objects.

How to configure Amazon CloudFront

  • Specify an origin server such as an Amazon S3 bucket which will store the original, definitive version of the objects.
  • Upload the objects to be served by Amazon CloudFront to the origin servers.
  • Create an Amazon CloudFront distribution – this can be a web distribution for static and dynamic content or an RTMP distribution for streaming media files.
  • Amazon CloudFront assigns a domain name to the new distribution.
  • Amazon CloudFront sends the configuration of the distribution to all the edge locations.

Amazon CloudFront can be accessed through the AWS Management Console, AWS SDKs, CloudFront API, AWS Command Line Interface and AWS Tools for Windows PowerShell.

Reference: Amazon CloudFront