flyctl icon indicating copy to clipboard operation
flyctl copied to clipboard

Suggestion: Ask for region choices as a part of app deployment workflow

Open v1gnesh opened this issue 4 years ago • 2 comments

We've seen a handful of cases in the forum where folks have experienced issues due to the implicit backup region choice made automatically. Latest example: https://community.fly.io/t/i-also-cannot-deploy

Like there's a prompt asking for region when deploying an app, should it also ask what one wants to do about the backup region? That way, they know what to expect (fewer cases of 'why is my thing running there').

Similarly, if a DB is being deployed, should the workflow

  • look for other apps in their org, and say something if app and DB are not in the same region
  • ask which app this relates to

Of course, feel free to remove the 'bug' label and use whatever is appropriate.

v1gnesh avatar Jan 16 '22 04:01 v1gnesh

Good idea! We'll probably be dropping backup regions shortly until we can rethink it with our new Nomad-free architecture. Then we'll revisit these topics.

jsierles avatar Jan 26 '22 01:01 jsierles

Thanks for raising this. #3250 removed the old Nomad launch path that selected backup regions implicitly. Current Postgres launch also uses the app’s launch region and attaches it to that app, so I’m going to close this as obsolete. Please reopen if the latest flyctl still makes an unexpected region choice during launch.

tomr-fly avatar Aug 03 '26 21:08 tomr-fly