My EC2 instance is configured with Outbound rules. How can I configure it to communicate with "codeployed"?

1

Codedeploy Server

Event details

Error code

UnknownError

Script name

Message

CodeDeploy acent was ot able to reeive the lfecycle event-Check the (odeDeploy aent logs on your host and make sure the agent is rumin and can omnect to the CodeDeploy sever

EC2

codedeploy-agent.log ERROR [codedeploy-agent(140244)]: InstanceAgent::Plugins::CodeDeployPlugin::CommandPoller: Network error: #<Seahorse::Client::NetworkingError: execution expired>

DD-Boom
已提问 7 个月前188 查看次数
1 回答
1

Hello,

This error could be a result of different factors but the most common reasons are: a) the CodeDeploy agent is not installed on the instance b) the EC2 instance role does not have the proper permissions. I'll link the proper documentation to check if these are configured correctly.

Here's some documentation on how to install and verify that the CodeDeploy agent is installed on your instance.

And here's the documentation on showing how the EC2 instance profile should be configured so that it can communicate with the CodeDeploy agent.

I hope this helps and please give any updates or more information so that I may help further!

Thanks, Mark Torres

AWS
已回答 7 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则