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.

gefragt vor einem Jahr393 Aufrufe
2 Antworten
0
Akzeptierte Antwort

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-TECHNIKER
beantwortet vor einem Jahr
profile pictureAWS
EXPERTE
überprüft vor einem Jahr
  • 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
beantwortet vor 6 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen