O'Reilly logo

Amazon S3 Cookbook by Naoya Hashimoto

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

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

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