Creating a Custom VPC in AWS using CloudFormation
Recently I needed to create a custom VPC, as the default CIDR blocks in all of the VPCs we have deployed have overlapping CIDR ranges. This prevents the use of VPC peering. As I knew I was going to do this many times, I opted to create everything using CloudFormation and nested stacks. The idea was each stack could be used to create individual elements if needed, and the master stack would fit everything together to provide the complete VPC.