Book Image

Amazon S3 Cookbook (n)

By : Naoya Hashimoto
Book Image

Amazon S3 Cookbook (n)

By: Naoya Hashimoto

Overview of this book

Table of Contents (19 chapters)
Amazon S3 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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 CloudFormation itself, but you need to pay for AWS resources when you manually create your AWS resource. Visit http://aws.amazon.com/cloudformation/pricing/.

How to do it…

First of all, we will select a template specifying a template URL on Amazon S3...