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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南