AWS CloudFront

What is a Content Delivery Network (CDN)

  • a system of distributed servers (network) that deliver webpages/content to a user BASED ON GEOGRAPHICAL location, depending on the user's proximity to a give server within the network.


  • Amazon's product name for CDN service they provide.

Key CloudFront Terms

  • Edge Location: The location where the content will be cached. (separate from the AWS region)

  • Origin: Origin of all files that the CDN will distribute (often a s3 bucket, but also can be EC2, Elastic Load Balancer, or Route53)

  • Distribution: Name given the CDDN which consists of a collection of Edge Locations.

  • Two Main types of Distributions

    1. Web Distribution - static files/websites
    2. RTP - streaming media files, like videos

Why use a CDN?

  • makes SECOND requests for assets faster.
  • i.e. user1 makes request to nearest edge location, edge location checks if it has file, it doesn't, pulls from source and caches for 'time to live' (TTL) period, user2 makes request to same edge location, receives content much faster.


AWS Identity Access Managment


Typescript Basic Syntax