CloudFormation
I’ve been going over CloudFormation. Some of the benefits are:
Allows you to create and provision resources in a reusable template fashion Turns your resources into stacks that work as units Allows you to source control your infrastructure Below are a some templates that I tested on.
A VPC with an EC2 instance:
Description: VPC Resources: myVPC: Type: AWS::EC2::VPC Properties: CidrBlock: 10.0.0.0/16 EnableDnsSupport: 'true' EnableDnsHostnames: 'true' InstanceTenancy: dedicated Tags: - Key: Network Value: Public mySubnet: Type: AWS::EC2::Subnet Properties: VpcId: Ref: myVPC CidrBlock: 10.
[Read More]