# Dynatrace ECS (EC2) implementation

**URL:** <https://community.dynatrace.com/t/dynatrace-ecs-ec2-implementation/50166>\
**Category:** Container platforms\
**Tags:** aws, docker\
**Created:** [February 10, 2025, 6:14am UTC](https://community.dynatrace.com/t/dynatrace-ecs-ec2-implementation/50166 "2025-02-10T06:14:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alvin-hm](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alvin-hm](https://community.dynatrace.com/u/alvin-hm)\
**Post date:** [February 10, 2025, 6:14am UTC](https://community.dynatrace.com/t/dynatrace-ecs-ec2-implementation/50166/1 "2025-02-10T06:14:19Z")

</div>

Hi Team,

Hope you’re all doing well!

I’m looking for a clear guide on implementing Dynatrace in our current ECS setup. We have an ECS cluster with multiple services and tasks running on it, and we’re using EC2 instead of Fargate.

I came across this document: [Dynatrace AWS CloudWatch ECS Integration](https://docs.dynatrace.com/docs/ingest-from/amazon-web-services/integrate-with-aws/cloudwatch-metrics/cloudwatch-ecs#view-service-metrics), but I find it a bit vague. I’m not sure what the next steps are after enabling service monitoring, as the metrics mentioned seem to be just standard CloudWatch metrics.

Could anyone guide me on the proper way to implement Dynatrace in this setup? Any insights would be greatly appreciated!

Thanks in advance!

Best Regards,&nbsp;  
Alvin

---

<div class="post-metadata">

**Author:** ![gopher](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gopher/32/5728_2.png) [@gopher](https://community.dynatrace.com/u/gopher)\
**Post date:** [February 10, 2025, 6:29am UTC](https://community.dynatrace.com/t/dynatrace-ecs-ec2-implementation/50166/2 "2025-02-10T06:29:46Z")

</div>

Hi&nbsp;[@alvin-hm](https://community.dynatrace.com/user/86422)&nbsp;,  
The link you have is only for the cloud watch integration, this is just high level resource metrics.&nbsp; What you are after is this one:&nbsp;[Deploy OneAgent using AWS Systems Manager Distributor — Dynatrace Docs.](https://docs.dynatrace.com/docs/ingest-from/amazon-web-services/integrate-into-aws/aws-ec2/deploy-oneagent-using-aws-systems-manager-distributor)&nbsp;which is a guide for deploying the one agent to the ec2 instance for fullstack montioring.

However… There are many different ways to deploy you can deploy via your build scripts (including agent pulldown and install), cloud formation templates , ansible it all depends on your environment and how you deploy your instances.,

This is a handy workshop you can do with examples of both:&nbsp;[AWSMonitoringTutorials/README.md at master · Dynatrace/AWSMonitoringTutorials · GitHub](https://github.com/Dynatrace/AWSMonitoringTutorials/blob/master/README.md)

Hope it helps.

---

<div class="post-metadata">

**Author:** ![alvin-hm](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@alvin-hm](https://community.dynatrace.com/u/alvin-hm)\
**Post date:** [February 13, 2025, 4:39am UTC](https://community.dynatrace.com/t/dynatrace-ecs-ec2-implementation/50166/3 "2025-02-13T04:39:41Z")

</div>

Hi&nbsp;[@gopher](https://community.dynatrace.com/user/10565)

Thank you for providing these documents. I was able to modify our Launch Template in ASG to automatically install Full Stack Dynatrace monitoring upon instance launch. I can see that it is installed correctly and sending data to our dashboard UI.

However, none of the containers running inside the ECS cluster are enabled for deep monitoring, and I’m not receiving any logs from the applications. I also tried manually restarting the processes I want to monitor, but that didn’t help either.

How can I ensure that any new instance launched by ASG will have all containers running on it monitored in Dynatrace?

---

<div class="post-metadata">

**Author:** ![gopher](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gopher/32/5728_2.png) [@gopher](https://community.dynatrace.com/u/gopher)\
**Post date:** [February 13, 2025, 9:26pm UTC](https://community.dynatrace.com/t/dynatrace-ecs-ec2-implementation/50166/4 "2025-02-13T21:26:28Z")

</div>

For ECS components, you will need to do the following using this guide.  
[Monitor Amazon Elastic Container Service (ECS) — Dynatrace Docs](https://docs.dynatrace.com/docs/ingest-from/amazon-web-services/integrate-into-aws/aws-ecs)
