Name: cfn-vpc
Owner: AOE
Description: VPC setup via CloudFormation
Created: 2016-01-13 23:25:07.0
Updated: 2016-08-03 04:55:03.0
Pushed: 2016-07-15 17:26:15.0
Homepage: null
Size: 13
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Author: Fabrizio Branca
“Inspired” by this blog post (code)
This template is intended to be used with StackFormation - a CLI tool that helps you manage and deploy
CloudFormation stacks and also does some preprocessing (e.g. introduces Fn::FileContent
)
This concept of setting up a VPC consists of two parts:
1.) Deploy the vpc.template
for the basic VPC and Internet Gateway setup
2.) Deploy the az.template
for every availability zone you want to use in your VPC. This template will create a public
and a private subnet including all routes (+ tables + associations) and a NAT Gateway (+ Elastic IP)
Using a separate template for every AZ allows you to keep the code DRY. StackFormation' s
prefixed template merging feature helps you to combine all the AZ templates into one and deploy them as a single CloudFormation template.
Check blueprints.example.yml for an example.