I’m trying to SSH into instances that are running on different regions:
Currently I’m using 2 different regions: LHR and MAA
When I run: fly status -c fly.production.toml
it shows:
Instances
ID PROCESS VERSION REGION DESIRED STATUS HEALTH CHECKS RESTARTS CREATED
c0da1128 app 14 lhr run running 1 total, 1 passing 0 2022-10-06T19:57:31Z
3011d928 app 14 maa run running 1 total, 1 passing 0 2022-10-06T14:16:37Z
trying to access using:
fly ssh console --app <appname> --region lhr
and run env
I can see FLY_REGION=lhr
but when I do
fly ssh console --app <appname> --region maa
I still get FLY_REGION=lhr
How do I know that I’m inside the correct instance?
I’m I running the wrong command? or does it look like --region
is not doing anything?