I had the opportunity to use a CDN (Contents Delivery Network) for a project and tested how much faster it would be with CloudFront.

  • Test site
    https://gojiteji.github.io/experimanet_html/Favorite.html

  • Comparison

    • common specs
      • instance type
        AWS EC2 t2 micro
      • OS
        Amazon Linux
      • Region
        Tokyo
    • different specs
      • without CDN
        • All contents are provided by the same server.
      • with CDN
        • Movie, Image, and Audio files are provided by CDN.
        • CDN is working from AWS S3 and AWS CloudFront.

architecture  image