Configure termination policies for Amazon EC2 Auto Scaling - Amazon EC2 Auto Scaling
Configure termination policies to control instance termination order in Auto Scaling. Instances using outdated configurations are terminated first, but this can be changed.