Chapter 4. Deploying a Static Website with CloudFormation

In this chapter, you will learn:

  • How to deploy a template of a static website with CloudFormation
  • How to deploy a template with the AWS CLI

Introduction

CloudFormation is a deployment tool that helps to provision your infrastructure using AWS resources such as EC2, IAM, RDS, Route 53, S3, and so on by creating a template to code your infrastructure in it so that you can deploy your infrastructure repeatedly. An AWS CloudFormation template is a text file and its format is the JSON standard and all the resources in the template are a single unit called stack. For example, imagine that you need to design and integrate a typical 3-tier web system with VPC, EC2, EBS, RDS, Route53, and ELB to deploy ...

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.