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.

asked a year ago378 views
2 Answers
0
Accepted Answer

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
SUPPORT ENGINEER
answered a year ago
profile pictureAWS
EXPERT
reviewed a year ago
  • 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
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions