Category: Deployment, AWS

Because all of our infrastructure is in AWS, CodeDeploy was a natural fit to replace our deployment agent.
AWS CloudFormation deployment pipelineBecause we needed a deployment pipeline and several pieces of CodeDeploy configuration (a CodeDeploy application and at least one CodeDeploy deployment group) for each web project we want to deploy, we decided to use AWS CloudFormation to version this configuration.
We made a simple build in TeamCity to push an AWS CloudFormation template to S3, which triggers a pipeline that deploys to AWS CloudFormation.
AWS CloudFormation exampleThis is a simplified example of the AWS CloudFormation template we use to manage the AWS configuration for one of our web projects.
This graph shows summed deployment errors over time and compares CodeDeploy to our legacy in-house deployment agent (Troop).

Related Articles