0

I am trying to deploy using CodeDeploy.

And I'm followed all of the tutorial from aws docs.

But that give a below log.

Any advice or suggestion would be appreciated. Thank you in advance.

2018-06-23 06:42:38 ERROR [codedeploy-agent(26957)]: InstanceAgent::Plugins::CodeDeployPlugin::CommandPoller: Missing credentials - please check if this instance was started with an IAM instance profile

1 Answer 1

1

It appears that your issue is that the EC2 instance does not have an IAM instance profile associated with it. In order for the CodeDeploy agent to communicate with CodeDeploy, it needs to get IAM credentials. Here's an overview and more details on how it needs to be set up.

In a nutshell, your instance needs an IAM instance profile that has the appropriate permissions to talk with CodeDeploy and download from S3. If you're using CodeDeploy on-premise instances, the setup is different. See the documentation.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.