On 26/11/14 09:13, Maish Saidel-Keesing wrote:
Thanks Pavlo.

Is there any reason why FIFO was chosen?

I believe that this was the original termination policy on AWS, and that was the reason we chose it. It was used on AWS because if you deleted an instance that was just created you would be charged for a full hour, so it was cheaper on average to delete an older one. It appears from the docs[1] that they now do something more sophisticated by default (kill the one closest to the next billing hour, all else being equal) and also offer a bunch of different policies.

cheers,
Zane.

[1] http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/AutoScalingBehavior.InstanceTermination.html

Maish
On 26/11/2014 12:30, Pavlo Shchelokovskyy wrote:
Maish,

by default they are deleted in in the same order they were created,
FIFO style.

Best regards,
Pavlo Shchelokovskyy.

On Wed, Nov 26, 2014 at 12:24 PM, Maish Saidel-Keesing
<maishsk+openst...@maishsk.com <mailto:maishsk+openst...@maishsk.com>>
wrote:

    In which order are machines terminated during a scale down action
    in an
    auto scaling group

    For example instance 1 & 2 were deployed in a stack. Instances 3 & 4
    were created as a result of load.

    When the load is reduced and the instances are scaled back down, which
    ones will be removed? And in which order?

    From old to new (1->4) or new to old (4 -> 1) ?

    Thanks

    --
    Maish Saidel-Keesing


    _______________________________________________
    OpenStack-dev mailing list
    OpenStack-dev@lists.openstack.org
    <mailto:OpenStack-dev@lists.openstack.org>
    http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




--
Pavlo Shchelokovskyy
Software Engineer
Mirantis Inc
www.mirantis.com <http://www.mirantis.com>


_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

--
Maish Saidel-Keesing



_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



_______________________________________________
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to