Reputation: 2719
I noticed that the name of one of my EC2 instances (control-panel-0) is duplicated multiple times in the list of running instances (see screenshot).
I understand that this instance is part of an Auto Scaling Group and is spawning new instances, most likely due to the CPU or file system usage exceeding some threshold.
My question is: How can I tell what resource shortage triggered the duplication? Was it CPU usage? File system usage? How can I tell?
Upvotes: 0
Views: 338
Reputation: 2719
Upvotes: 0
Reputation: 8140
Your instances are not duplicated, their name tag is.
Instance names need not be unique. Instance IDs are unique and is what AWS uses to identify certain resources.
In this case, you are either using an autoscaling group, which creates new instances when scaling needs to happen, or somebody manually named all these instances the same.
You can see in the Auto Scaling Groups tab logs (if there is any) why new instances were added.
Upvotes: 3