Using Auto Scaling / Auto Scaling Usage Examples |
You can control how Auto Scaling determines which instances to terminate. You can specify a termination policy when you create an Auto Scaling group, and you can change the termination policy at any time using the euscale-update-auto-scaling-group command.
You can override the default instance termination policy for your Auto Scaling group with one of the following options:
Option | Description |
---|---|
OldestInstance | The oldest instance in the Auto Scaling group should be terminated. |
NewestInstance | The newest instance in the Auto Scaling group should be terminated. |
OldestLaunchConfiguration | The first instance created using the oldest launch configuration should be terminated. |
Default | Use the default instance termination policy. |
To configure an instance termination policy: