EC2 LB Target group deletes target

0

I observed that EC2 LB Target group deletes registered target (EC2 instance port 80) automatically every month. That too without any waning or intimation mail. Please suggest.

profile picture
asked a year ago225 views
1 Answer
3
Accepted Answer

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.

profile picture
EXPERT
answered a year ago
profile picture
EXPERT
reviewed 6 months ago
profile picture
EXPERT
reviewed 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions