Creating an infrastructure as code release pipeline with AWS Cloudformation and CodePipeline

Start taking advantage of the quality and speed of Continuous deployment for your AWS infrastructure. In this Snip, we will deploy a simple cloud formation template with configurations for a test and production environment. Our CloudFormation template will have parameters with different values for test and production. We will zip and upload our configuration as code files to an S3 bucket with versioning enabled. We will configure a simple 3 step pipeline using AWS CodePipline that will deploy the test environment based on the template in s3, then upon approval will push the changes to the production environment.

Prerequisites include: 2 ec2 ssh keypairs Have a valid AMI ID, for an AMI in your region