AWS CloudFront

What is CDN???

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.

What is CloudFront?

Amazon CloudFront can be used to deliver your entire website, including dynamic, static, streaming, and interactive content using a global network of edge locations. Edge Location is the location where content will be cached and this is separate to an AWS Region/AZ. These edge locations are not just READ only -- you can write to them too. (i.e. put an object on to them.)

Requests for your content are automatically routed to nearby edge locations, so content is delivered with the best possible performance. The files are distributed from the Origin where all the files distributed by CDN is present and the origin can be an S3 bucket, an EC2 instance, an Elastic Load Balancer, or Route53. The CDN which consists of a collection of Edge locations is known as Distribution.

Usually, In Edge locations, the objects/contents are cached for the life of the TTL (Time To Live). We can clear/invalidate these cached objects but will be charged.

We have invalidations present in the CloudFront where we can invalidate particular objects or entire directory or sub-directory. When we invalidate something, it will not be available in the edge locations cache memory.

There are two different types of Distributions with CloudFront

  • Web Distribution - Typically used for websites
  • RTMP - Used for Media Streaming

Comments

Popular posts from this blog

SAP Datasphere Data Integration - Part 1 - Introduction and Integration using Remote Tables

SAP Datasphere - Data Integration - Part 2 - Data Integration based on Data Flows and External Sources

SAP Datasphere - Data Builder types and creation of Tables