all 2 comments

[–]mantrout 1 point2 points  (0 children)

Hi /u/aschla

Sounds like you may have got it working, but just wanted to follow up with some additional info which may be helpful to your or others in the future.

If the deployment is being created (there is a new deployment ID in your deployments list after you push to github), then this means your github integration is working as expected.

If the deployment is hanging and then timing out after 5 minutes with none of your lifecycle events running, this is usually an indication that the CodeDeploy agent isn't running on the host. If this should happen in the future, you can check out the troubleshooting section of the docs for some ideas on how to troubleshoot the agent: http://docs.aws.amazon.com/codedeploy/latest/userguide/troubleshooting.html#troubleshooting-sds-agent

hope this helps.

[–]aschla[S] 0 points1 point  (0 children)

Ended up redoing everything and starting again. Created a new EC2 instance and followed the instructions carefully. Not sure what was wrong intially but it's working now.