Open In App

Amazon Web Services – Introduction to CloudFront CDN

Amazon CloudFront is a global web service that allows you to securely deliver content to your users with low latency and high availability. It does so by further delivering content safely.  This service helps to built high performance and security in your application. CloudFront works for both static and dynamic content such as .html, .css  etc. CloudFront delivers the content worldwide with best possible performance. It also helps in speedy distribution of content.             

Cloudfront CDN

  How is this done?

Cloudfront uses edge locations to serve the user’s request.  



Edge location; Regional Edge cache and origin server

  1. The user requests the data from the nearest edge location.
  2. If the cached data is present at the edge location then the request is served from the edge location.
  3. If the data is not present at the edge location then it is fetched from the regional edge cache (regional cache has a larger cache width).
  4. In the absence of a regional edge cache, the data is fetched directly from the origin server after expiration. But using regional edge cache provides low latency.

To know from which origin server the CloudFront needs to fetch the files, it uses CloudFront distribution.  

Use cases:

Following are some of the use cases of Cloudfront:



Benefits:

Following are the benefits of using cloudfront:

Article Tags :