cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ECS fargate PaaS agent host name detection

thuang09
Newcomer

Hi there,

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.

thuang09_0-1675190373557.png

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?

Thanks!

3 REPLIES 3

ChadTurner
DynaMight Legend
DynaMight Legend

@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. 

-Chad

@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.

Thanks!

 

@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! 

-Chad

Featured Posts