Category: yaml

CodeDeploy is an excellent tool to deploy your code to an autoscaling group (or ECS or AWS Lambda). For example, you can use the BeforeInstall hook to untar a file or AfterInstall hook to clean up temporary files.

When I started using it, I thought it was quite easy to setup using the console by creating an application followed by a deployment group and finally a deployment. All in all about 10 minutes and I was happy, however, my deployment failed and failed again and then again :(

NOTE: CodeDeploy Agent needs to be installed on the EC2 instance to be able to use codedeploy-local.

Related Articles