How to assign a unique ID to each instance of a task in Amazon ECS

Viewed 203

If I have four instances of, say, an appserver running in Amazon ECS.

Is there some way to let each appserver that it is #1 of four, #2 of four, and so on.

I've read these docs Amazon ECS container metadata file, but there doesn't seem to be anything like that mentioned in there.

Any ideas?

0 Answers
Related