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.

preguntada hace un año392 visualizaciones
2 Respuestas
0
Respuesta aceptada

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
INGENIERO DE SOPORTE
respondido hace un año
profile pictureAWS
EXPERTO
revisado hace un año
  • 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
respondido hace 6 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas