- Newest
- Most votes
- Most comments
Hi All,
Thanks for your answers. unfortunately, in the "Auto Scaling Groups" page, I have no option as mentioned in the documentation (see first pic below)- only the option to create new auto scaling group, and I don't have any load balancers (second pic below). I also checked my spot instances, and made sure that I don't have any requests (third pic).
What else could it be? Thanks Again, Adi
Try to change autoscaling policy,
https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html
Wish that helps
Check the tags on your instance, are there any that start with aws:
? Those would be created by an AWS service and might show what service is maintaining the capacity.
Alternatively, around the time the replacement instance is launched, look in CloudTrail and filter by:
- EventName: RunInstances
- EventName: CreateFleet
These are generally the 2 API calls used to create new EC2 instances, and it should say which service is making the API call
Hi,
Thanks for your answer. please check next post, with an additional information.
Adi
Hi Shahad_C,
The Tags tab can be found above:
Moreover, it seems that the usage operation is RunIntances.
what should I do next?
@rePost-User-9776128 - open the RunInstances call and check what the source is (is the call being made by another AWS service? By a script in your account?). That should tell you what the source of the launch is. Since it looks like this may be spot, there could be a persistent spot request as virshu mentioned
Hi
As you mentioned the autoscaling is causing that ,
Try to disable autoscaling attached to your load balancer
This is feasible in console ec2 > load balancer
You can look at this document - https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enable-disable-scaling-policy.html
Look at the section "To disable a scaling policy (console)"
Other than autoscaling, it could be a spot instance. If you have active spot request, it will launch another instance as well.
Relevant content
- AWS OFFICIALUpdated 5 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
Try to change autoscaling policy,
https://docs.aws.amazon.com/autoscaling/ec2/userguide/deleting-scaling-policy.html
Wish that helps