Java (Java Agent, Installation, JVM, and Controller Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

Best Practices for NODE_NAME when running in ECS and/or containers

Wanderer

Best Practices for NODE_NAME when running in ECS and/or containers

We are running appd in containers running java/tomcat in JVM and using AWs elastic container service.  Are there some best practices on what should be used for 

NODE_NAME when containers can move around machines and be running multiple times on the same machine?  We are currently using env variable named $HOSTNAME which on ECS is dynamically generated and unique each time a container starts up.  I'm worried we will end up with many inactive/orphaned nodes that show 0% health until they expire after a long time.  For example, each time we do a release new node names will be generated and the old ones will no longer be valid.
 
 
Tags (1)
Best Practices for NODE_NAME when running in ECS and/or containers