Fix missing credentials error on Amazon CodeDeploy

tags: 

Setting up an Amazon CodeDeploy installation is sometimes tricky and the documentation is not really helpful and complete.

The most common error is "Missing credentials - please check if this instance was started with an IAM instance profile" in /var/log/aws/codedeploy-agent/codedeploy-agent.log of the target EC2 instance.

This error means that the EC2 instance is not configured with the proper rights. The following are the most common reasons:

Pages