How it works...

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. 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.26.108