A user has configured ELB with Auto Scaling. The user suspended the Auto Scaling AddToLoadBalancer (which adds instances to the load balancer. process for a while). What will happen to the instances launched during the suspension period?
A.
The instances will not be registered with ELB and the user has to manually register when the process is resumed
B.
The instances will be registered with ELB only once the process has resumed
C.
Auto Scaling will not launch the instance during this period due to process suspension
D.
It is not possible to suspend only the AddToLoadBalancer process
Suggested Answer:A🗳️
Auto Scaling performs various processes, such as Launch, Terminate, add to Load Balancer etc. The user can also suspend the individual process. The AddToLoadBalancer process type adds instances to the load balancer when the instances are launched. If this process is suspended, Auto Scaling will launch the instances but will not add them to the load balancer. When the user resumes this process, Auto Scaling will resume adding new instances launched after resumption to the load balancer. However, it will not add running instances that were launched while the process was suspended; those instances must be added manually.
When the Auto Scaling "AddToLoadBalancer" process is suspended, instances launched during that period will not be automatically registered with the Elastic Load Balancer (ELB). The process of adding instances to the ELB is temporarily halted during the suspension period. If the user wants these instances to be registered with the ELB, they will need to manually perform the registration once the process is resumed.
Correct Answer: A
https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-suspend-resume-processes.html
"AddToLoadBalancer
Amazon EC2 Auto Scaling launches the instances but does not add them to the load balancer target group or Classic Load Balancer. When you resume the AddToLoadBalancer process, it resumes adding instances to the load balancer when they are launched. However, it does not add the instances that were launched while this process was suspended. You must register those instances manually."
OMG if A is true this design is so dumb, why would I want an instance that is not receiving any load it just spawned to do nothing, and probably more will spawn since there is no load reduction, this sounds dishonest, the correct behavior should be C.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
albert_kuo
8 months, 3 weeks agoTroyMcLure
2 years, 6 months agoG000z
2 years, 6 months agoawscertified
2 years, 6 months agoVino
2 years, 7 months ago