# Use EC2 instance ID for tag

**URL:** <https://community.dynatrace.com/t/use-ec2-instance-id-for-tag/46396>\
**Category:** Cloud platforms\
**Tags:** aws, tagging\
**Created:** [July 1, 2024, 3:09pm UTC](https://community.dynatrace.com/t/use-ec2-instance-id-for-tag/46396 "2024-07-01T15:09:15Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [July 2, 2024, 3:32pm UTC](https://community.dynatrace.com/t/use-ec2-instance-id-for-tag/46396/5 "2024-07-02T15:32:35Z")

</div>

Correct.

The optional tag value populates in cases where the OneAgent is deployed on the EC2 instance, but for those that doesn’t have the agent, you still see the instance ID under properties and tags as metadata (under the AWS CloudWatch monitoring views), but it cannot be used for tags. The latter is where we’d like to use it, but it appears that it just isn’t possible.

---

_[View the full topic](https://community.dynatrace.com/t/use-ec2-instance-id-for-tag/46396)._
