1 Answer
- Newest
- Most votes
- Most comments
3
The ELB target group does not automatically remove EC2 from the target.
For example, if an EC2 is managed by AutoScaling and a health check fails, it will be deleted.
https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-add-elb-healthcheck.html
Check to see if any API events are left in CloudTrail when the target is removed from the target.
You can confirm this by sorting by event name "DeregisterTargets" in CloudTrail.
Once confirmed, you will be able to see the user name that performed the action, etc.
Relevant content
- asked 4 years ago
- asked 6 months ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
Thanks Riku. I checked CloudTrail. ElasticBeanstalk and Autoscaling creating problems. I have increased the health check time to 1000 sec from default 300. Because as per CloudTrail logs this process lasted around 10 minutes.