Concurrent Region & Private Networking
m1rza-s
PROOP

a year ago

Hi, I've got an environment with 1 public service (a gateway) and multiple services on the private network.

To use concurrent regions, do I have to make region instances for all the services or just the 1 public service?

Solved

12 Replies

m1rza-s
PROOP

a year ago

N/A


a year ago

You can add as many regions as you would like to a single service, at least as long as it doesn't have a volume.


m1rza-s
PROOP

a year ago

Ok. What about the private networking?

Currently, all my services (public and railway.internal) are running in Amsterdam.

If I give the public service a US region, do I need to do the same for the other services?


m1rza-s
PROOP

a year ago

I have 1 volume, its private and in Amsterdam.


a year ago

Private networking works across regions too.

But please know that the private network is not region aware..

Say you have your public service deployed into our 4 regions, and you also have a private service deployed into our 4 regions, whenever an instance of your public service makes a request to the private service, there is a random chance it makes a request to any region, not just the closest region.


m1rza-s
PROOP

a year ago

hm i see ok


m1rza-s
PROOP

a year ago

ok so best practice is to cover all the regions with all the services (regardless of access) and they'll ping the closest one 99% of the time


m1rza-s
PROOP

a year ago

except volumes?


a year ago

They will not connect to the closest one anywhere near 99% of the time, the private network is not region aware.


m1rza-s
PROOP

a year ago

I see, alright.

So, I can create multiple regions for the public service and they'll way to the private services via private networking


a year ago

If you set it up like that, yes.


a year ago

!s


Status changed to Solved brody 12 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...