A user has created an ELB with Auto Scaling. Which of the below mentioned offerings from ELB helps the user
to stop sending new requests traffic from the load balancer to the EC2 instance when the instance is being
deregistered while continuing in-flight requests?
A.
ELB sticky session
B.
ELB deregistration check
C.
ELB connection draining
D.
ELB auto registration Off
Explanation:
The Elastic Load Balancer connection draining feature causes the load balancer to stop sending new requests
to the back-end instances when the instances are deregistering or become unhealthy, while ensuring that
inflight requests continue to be served.
http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/config-conn-drain.html
C.
ELB connection draining
Ans C
from Chef’s copied link
http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html
If your instances are part of an Auto Scaling group and connection draining is enabled for your load balancer, Auto Scaling waits for the in-flight requests to complete, or for the maximum timeout to expire, before terminating instances due to a scaling event or health check replacement.
You can disable connection draining if you want your load balancer to immediately close connections to the instances that are de-registering or have become unhealthy. When connection draining is disabled, any in-flight requests made to instances that are de-registering or unhealthy are not completed.
Makes Sense to this question!
c
C
C