a year ago
Is it possible to change the region of the database images? I currently have a PostgreSQL running in us-west-1 and want to change to east coast, but unlike for the my app's container I don't see other regions listed there?
53 Replies
a year ago
You can't move GCP volumes to metal yet.
a year ago
I am not sure what you mean by this, but you can create new databases on metal if you have the related feature flag enabled. However, moving existing volumes to metal is not possible yet.

is the volume what's blocking the database from being created / moved in a different region then?
a year ago
yes, the volume follows the service's region
for my app container I see all the new metal regions, etc, but for the database only the existing US West
a year ago
this is indeed intended, as you can't move volumes from gcp to metal. your postgres database has been deployed on us-west gcp pre metal era.
The issue I'm running into there is that it doesn't seem like there's a way to specify the volume region before creating the database? Unless I'm missing something there, I'm assuming that I could use a Postgres Docker image instead of the pre-built database container, but I think that misses out on the Data viewer and then the automatic backup scheduling through railway if I upgrade to teams right?
a year ago
you would still get the db features. still, it's odd that you're not allowed to specify a region on creation.
I'll play around with it some, I'm getting some latency in my app in prod and I'm trying to troubleshoot what the bottleneck is since on localhost it's really fast, and I mean on localhost there's no rtt latency so of course it's fast but I'm just trying to figure out what I can do to optimize that a bit in prod
a year ago
alright, curious
a year ago
!e
a year ago
I forgor
a year ago
Lemme raise this accordingly to the team- I think we would want people to set a default region.
a year ago
seems like databases deploy automatically without staging a changeset based on the bit of messing around i just did
a year ago
changing that could also fix it
a year ago
New users can btw, with the new workspaces system
I just haven't migrated existing users
a year ago
oh sweet, the preferred region now works when you have a workspace?
I told you a few days ago that db creation on metal is fucky <:kekw:788259314607325204>
a year ago
working on it 😢
For now the fastest way is to eject a volume, move db service into a new region and attach a new volume there
I'll spin up a test project to play around with some stuff to see how much performance benefits I can get before I start messing with my prod stuff, but really excited about bare metal! Love all the recent railway updates
even that didn't work for me.
I delete the Volume
This allows me to change the service region
But as soon as I attach a new volume the DB service jumps back to US-West
a year ago
If you go into your feature flags settings, make sure volumes on metal is on
a year ago
!s
Status changed to Solved brody • about 1 year ago




