How to deploy a template of a static website with CloudFormation
In Chapter 2, Hosting a Static Website on Amazon S3 Bucket, you learned how to host a static website on S3 bucket through the AWS management console and AWS CLI. To simplify and code the infrastructure, we use CloudFormation to deploy the same environment of the S3 bucket with a static website.
After deploying the template, we will look into the template to understand how it works and how to write a CloudFormation template.
Getting ready
You do not need to request or fill any form to use CloudFormation, or pay any initial or extra cost. All you need to do is sign up on the AWS management console and access CloudFormation using your IAM credentials.
Tip
There is no additional charge for ...
Get Amazon S3 Cookbook 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.