Creating a distribution

A CloudFront distribution is what makes it possible to associate a DNS configuration (Route 53) with CloudFront to distribute static content. A distribution needs an origin server to know where the files are stored. In our case, the origin will be the S3 bucket that was previously configured.

Let's perform the following steps to create a CloudFront distribution:

  1. Browse the CloudFront Management Console at https://console.aws.amazon.com/cloudfront and click on Create Distribution:
  1. The next step is to select the distribution type. For our website, select Get Started under the Web option:
  1. The next screenshot illustrates ...

Get Building Serverless Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.