My CodeDeploy deployment is failing. Usually I'm able to see the event list on each instances, and see which ones failed/passed. This no longer works, and the event list is empty. What could be causing this?
As Jonathan Turpie mentions, you should probably troubleshoot if the instance is taking care of your deployment.
You could first try to troubleshoot via AWS CLI, aws deploy get-deployment --deployment-id d-USUAELQEX. It might return error codes that will help you to tweak your setting and succeed with your deployment. See http://docs.aws.amazon.com/cli/latest/reference/deploy/get-deployment.html
If your EC2 instance actually handles the deployment. Edit the /etc/codedeploy-agent/conf/codedeployagent.yml and set :verbose: to true on your EC2 instance.
Try to deploy again and open codedeploy-agent.log at /var/log/aws/codedeploy-agent and see if you are able to see anything there. Read more here: http://docs.aws.amazon.com/codedeploy/latest/userguide/host-cleanup.html
You may not be able to see events if the deployment didn't get far enough. For example, there was a problem getting the list of instances due to IAM configuration or your instance isn't responding to commands.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With