App starting in backup region

I’d like to have the app running in the same region as my DB, which is lax. I have lax set as my only non-backup region. Running flyctl regions list returns this:

Region Pool: 
lax
Backup Region: 
sea
sjc

On multiple occasions, including right now, my app has started in region sjc(B). Do you know why this is happening? I was assuming that the backup regions would be used only if there were an outage in my preferred region.

Thank you.

This is a dumb early decision on our part. Backup regions weren’t a great idea, so you’re better off turning them off for your app:

fly regions backup lax

That will do what you want!

I wrote some more details of the backup problems here: Using backup regions that are geographically close to primary - #2 by kurt

4 Likes