O'Reilly logo

Building Serverless Web Applications by Diego Zanon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required