How to determine which DataSync agent is running on which EC2 instance

0

We have multiple DataSync Agents deployed to multiple EC2 instances.

Is there an easy way to see which Agent is running on which EC2 instance?

The AWS Management Console screens for DataSync don't not appear to show any identifier which links the agent to its EC2 host instance. The cli command "aws datasync describe-agent --argent-arn xxxx" doesn't seem to reveal the EC2 instance and the EC2 screens in the management console don't offer any clue.

We can add custom tags to the EC2 instance but is there any other way to see the link?

Thanks.

질문됨 일 년 전392회 조회
2개 답변
0
수락된 답변

Hello,

Greetings for the day!

As of now, Datasync Console or the "Describe-Agent" API call does not return EC2 instance ID or the IP associated. It only displays the below information when running describe-agent API call:

aws datasync describe-agent --agent-arn arn:aws:datasync:ap-south-1:xxxxxxxxxxxx:agent/agent-0f90ffa00ae8axyz2 --region ap-south-1

{ "AgentArn": "arn:aws:datasync:ap-south-1:xxxxxxxxxxxx:agent/agent-0f90ffa00ae8axyz2", "Name": "testDatasync", "Status": "ONLINE", "LastConnectionTime": "1970-01-01T05:30:00+05:30", "CreationTime": "2022-02-18T10:52:03.205000+05:30", "EndpointType": "PUBLIC" }

Thank you for providing your valuable feedback on the service. I have gone ahead and raised a feature request with the service team on your behalf. While I am unable to comment on if/when this feature may get released, I request you to keep an eye on our What's New and Blog pages for any new feature announcements.

https://aws.amazon.com/new/ https://aws.amazon.com/blogs/aws/

For now, I would suggest you to use custom tags on EC2 instances associated with Datasync agents to identify them based on the tags that you've assigned.

Thank you!!

AWS
지원 엔지니어
답변함 일 년 전
profile pictureAWS
전문가
검토됨 일 년 전
  • Thank for the feedback. It would be a nice feature to have but we can use custom tags for now.

0

The best way as of now is to login(ssh) to the datasync ec2 instance, the agent id will be mentioned in it.

Gtantse
답변함 6달 전

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

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

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

관련 콘텐츠