Is it possible to set a *maximum* number of machines?

I’m in the process of trying to make my app more scalable. However, that means that right now (due to the very statefull nature of my app), it’s very unsafe for more than one machine of my application to be online and serving requests. I’m using the canary deploy strategy, and sometimes, if a deploy doesn’t go super smoothly, it will leave 2 machines running instead, which causes my application to get a bit janky.

Im facing the same use case, with two instances the app can misbehave and the scale is low enough that I can just run with one machine.

If you only want one machine, use fly scale count 1 and fly deploy --ha=false

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.