Chapter 3. Managing AWS Resources Using AWS CloudFormation

In this chapter, we will cover recipes for:

  • Creating CloudFormation templates
  • Creating CloudFormation templates from existing AWS resources
  • Deploying applications on EC2 instances
  • Updating a stack

Introduction

In this chapter, we present recipes for using AWS CloudFormation to create, update, and delete a collection of related AWS resources. We use CloudFormation templates to define AWS resources, and any other dependencies and parameters that are required to run a given specific application. A template is essentially a JavaScript Object Notation (JSON) file. Using AWS CloudFormation, you can implement version control for your infrastructure and define new templates, or use existing ones, to ...

Get Amazon EC2 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.