Which instance will AutoScaling terminate first while executing the termination action?

A user has defined an AutoScaling termination policy to first delete the instance with the nearest billing hour. AutoScaling has launched 3 instances in the US-East-1A region and 2 instances in the US-East-1B region. One of the instances in the US-East-1B region is running nearest to the billing hour.

Which instance will AutoScaling terminate first while executing the termination action?
A .  Random Instance from US-East-1A
B .  Instance with the nearest billing hour in US-East-1B
C .  Instance with the nearest billing hour in US-East-1A
D .  Random instance from US-East-1B

Answer: C

Explanation:

Even though the user has configured the termination policy, before AutoScaling selects an instance to terminate, it first identifies the Availability Zone that has more instances than the other Availability Zones used by the group. Within the selected Availability Zone, it identifies the instance that matches the specified termination policy.

Reference: http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/us-termination-policy.html

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments