Hi! I had an app re-deploy into the wrong region when I created a volume.
Fly version
fly v0.0.325 darwin/arm64 Commit: da2b638 BuildDate: 2022-04-28T04:26:35Z
I have an app setup with the allowed region as syd
.
> fly regions list
Region Pool:
syd
Backup Region:
I’ve done about 40 deploys so far and all have them have been fine, and all automatically re-deployed in syd
.
I just created a volume in syd
to attempt to start trying postgres. The volume appeared to be created successfully.
Status before volume creation
> fly status
App
Name = sp-api
Owner = personal
Version = 38
Status = running
Hostname = sp-api.fly.dev
Instances
ID PROCESS VERSION REGION DESIRED STATUS HEALTH CHECKS RESTARTS CREATED
31eba679 app 38 syd run running 1 total, 1 passing 0 8h47m ago
Volume creation
> fly vol create db_test_vol -s 1 -r syd
ID: vol_ypkl7vz8j1evqg60
Name: db_test_vol
App: sp-api
Region: syd
Zone: af82
Size GB: 1
Encrypted: true
Created at: 05 May 22 12:03 UTC
However, my app redeployed upon creating the volume, into the nrt
region, as confirmed in the dash and via cli
> fly status
App
Name = sp-api
Owner = personal
Version = 39
Status = running
Hostname = sp-api.fly.dev
Instances
ID PROCESS VERSION REGION DESIRED STATUS HEALTH CHECKS RESTARTS CREATED
16ade667 app 39 nrt run running 1 total, 1 passing 0 56s ago
My questions are
- Why did this happen, did I enter a command wrong?
- How can I prevent it happening in future
Thank you!