One app in each region

Hi,

Is there a way to force at least one instance of the app in each region? With three regions, im seeing two in one region and one is empty.

Thanks,
Matt

flyctl regions list                                                                                                                                 
Region Pool:
lhr
ord
syd
Backup Region:
flyctl scale show                                                                                                                                   
VM Resources for sxt-dev
        VM Size: dedicated-cpu-2x
      VM Memory: 4 GB
          Count: 3
flyctl status                                                                                                                                       
Instances
ID       VERSION REGION DESIRED STATUS  HEALTH CHECKS      RESTARTS CREATED
d2928e39 21      syd    run     running 1 total, 1 passing 0        2m4s ago
dc683bbd 21      syd    run     running 1 total, 1 passing 0        2m4s ago
87a32c70 21      ord    run     running 1 total, 1 passing 0        3m18s ago

I’ve changed it to 4, and still nothing in the lhr region.

This is not a good UX, but we have an internal setting for this that will limit each region to one instance. The problem is, it won’t allow more than one VM per region.

This will be fixed within the next few months, particularly as we ship tooling for running apps + postgres cross region. For now, I can just hand enable that setting if it does what you need!

If I mount three volumes one in each region would that do it? One VM per region might be ok, I can scale the vm size if needed, is this setting per app (sxt-dev is the app if it is)?

Yes if you put the volumes where you want you can precisely control placement.

One VM per region actually works surprisingly well, we just overflow to the next nearest region if load spikes.