January 2019
Intermediate to advanced
490 pages
15h 37m
English
We created a CloudFront distribution for an existing bucket that was configured as a static website. We created the bucket in a previous recipe. With AWS CLI commands, you can either pass in just the original server and accept the defaults for the other options, or you can pass in a distribution config JSON file with all of the required configurations. These options are mutually exclusive. In this recipe, we only specified the original server S3 bucket for the AWS CLI command version. However, with the CloudFormation template, we still had to use the distributed config, with the essential parameters.
Read now
Unlock full access