How to do it...

Go ahead and create a new CloudFormation template for our VPC. Just a heads-up: this will be one of the larger templates that we'll create in this book:

  1. The first two Parameters correspond to the Availability Zones we discussed previously. We don't provide any default values for these parameters, to maintain region portability:
      Parameters:        AvailabilityZone1:           Description: Availability zone 1 name (e.g. us-east-1a)           Type: AWS::EC2::AvailabilityZone::Name         AvailabilityZone2:           Description: Availability zone 2 name (e.g. us-east-1b)           Type: AWS::EC2::AvailabilityZone::Name
  1. The shell of our VPC has now been created. At this point, it's not connected to the Internet, so it's not entirely useful to us. We need to add an Internet ...

Get AWS Administration Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.