Optimization Setting up a CloudFront CDN

  1. At AWS Console
  • Choose Cloudfront
  1. Choose Create a Cloudfront distribution
  2. Choose s3 bucket we have just created
  • Choose Use website endpoint
  • Check and leave default
  • Check and leave default
  • Default root object: index.html
  • Choose Create distribution
  1. Copy distribution domain name
  2. Wait it deploy success and check with browser
  3. Check write function of this web