Multi az farm

Egor's Avatar


23 Dec, 2014 11:18 AM

I'm curious, how scalr determine that aws zone is not available?
For example, I have a farm role which distribute instances in two subnets, and the "Min instances" in scaling settings is set to 4. So Scalr launch the 2 instances in each subnet.
What happens when one of the zones became unavailable? Will scalr launch 2 more instances in second zone, to provide the minimum number of instances.
I was trying to reproduce this situation. I've created the test subnet, and add it to farm role, and then delete this subnet through aws console. After that I launch the farm, - scalr creates one instance in available zone, and attempts to launch 3 instances in second zone which has been deleted. All this instances hanging in "pending" state, and nothing happens.

  1. Support Staff 1 Posted by Igor Savchenko on 24 Dec, 2014 01:08 AM

    Igor Savchenko's Avatar

    Scalr will launch server in another AZ if Amazon API will return that you cannot launch instances in specific AZ.

    In your test you've removed object outside scalr which created broken configuration on scalr side.


  2. marc closed this discussion on 22 Jul, 2016 09:03 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac