AWS Cloudwatch: ec2tagger: Unable to describe ec2 tags for initial retrieval: RequestError: send request failed caused by: Post "https://ec2.ap-southeast-1.amazonaws.com/": dial tcp

0

Hi, I am running my ec2 on windows 2019. I have installed the CWAgent and the service is running. However, the cloudwatch console is unable to capture the metrics (logical disk % free space and memory %), even though i have listed it in the config file.

From the OS logs, I can see this error: ec2tagger: Unable to describe ec2 tags for initial retrieval: RequestError: send request failed caused by: Post "https://ec2.ap-southeast-1.amazonaws.com/": connecte: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

I have tried to run tnc monitoring.ap-southeast-1.amazonaws.com -port 443 and the connection is true.

Any tips on how to resolve the error?

Penguin
질문됨 7달 전714회 조회
1개 답변
1

Hello.

Please check the answer below.
This error may occur if there is no route to communicate from EC2 to "https://ec2.ap-southeast-1.amazonaws.com/" or if you do not have IAM permissions.
https://repost.aws/questions/QUG8FJfdmhRjGO8US24tZRag/ec2-instance-centos7-running-on-a-vpc-cannot-start-amazon-cloudwatch-agent#ANl8Exc_8rQuujZqQK_jxn6A

profile picture
전문가
답변함 7달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠