1 Answer
- Newest
- Most votes
- Most comments
0
Are the instances part of an EC2 Autoscaling group? If so, you would see Tags named "aws:autoscaling:groupName" on the instances.
Relevant content
- asked 7 months ago
- asked 2 years ago
- Accepted Answerasked 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 9 months ago
No: there is no autoscaling group. Thanks for asking.
Have a look in CloudTrail at the RunInstances events creating the EC2 instances, it might give the info you need to work out how they're being launched.
@skinsman (and everybody). thanks for getting me closer to the issue. See CloudTrail info on the latest-new mystery instance (I deleted all previous 'ghost' instances) below: CloudTrail reveals (and mystifies) with the following info: 1. Username = InstanceLaunch 2. Source IP = spot.amazonaws.com 3. User agent = spot.amazonaws.com, also 4. Resource Types: VPC, Ami, NetworkInterface, EC2-instance, KeyPair, SceurityGroup, and subnet Hopefully the above data provides a clue that can lead me to the answer. Any further thoughts (anyone)?
I found a load balancer that I created as a demo to study. I believe this is the problem. I will delete it and see what happens.
Alas! Unfortunately, deleting the Load Balancer (along with its empty Target group) and terminating the 'ghost' EC2 instance did not resolve the issue: a new 'ghost' EC2 instance was launched 1 hour and 40 minutes after terminating the previous 'ghost' EC2 instance! I'm being forced to spend money. Lol!