31 Jan 2023 10:41 AM - last edited on 01 Feb 2023 12:02 AM by MaciejNeumann
I am running PaaS agent (runtime injection through /api/v1/deployment/installer/agent/unix/paas/latest) on ECS Fargate container. The hostname detected is reported as ip-1-2-3-4.ec2.internal and the host has property "Cloud=EC2" attached.
Based on the sample case provided on Dynatrace KB, the hostname is supposed to be detected as ECS task name.
Would you please advise what could be the problem?
Solved! Go to Solution.
@thuang09 do you have the KB Link? I'm curious if they forgot to include a step for a Host Rename action. You can set automatic rules to rename the hosts as you see fit.
@ChadTurner The root cause is on container "ReadOnlyRootFileSystem". Dynatrace agent requires R/W access to temporary folder for ECS meta data processing . Issue fixed by binding a R/W volume to the container for such access.
@thuang09 thanks for providing the update! Happy to hear you got it fixed and thrilled that its now posted in the community to help out any other users that run into a similar issue!