R
Railway6mo ago
Scai

Services per region

Is it possible to deploy to multiple regions, what regions are available right now? I have a project where I require to query some game servers and I would like to have one service per "region" and based on ip location of that game server to use the closest service to query it.
17 Replies
Percy
Percy6mo ago
Project ID: N/A
Scai
Scai6mo ago
I'm speaking theoretically, the code isn't written yet for that service. I've researched multiple times cloudflare workers, but doesn't seem a good idea because of not supporting the udp socket. And thinked at aws serverless functions too.
Brody
Brody6mo ago
Is it possible to deploy to multiple regions
multiple regions per a single service, not yet deploying multiple of the same service to each region, yes (requires a cloudflare load balancer)
what regions are available right now?
check here! https://docs.railway.app/reference/regions#region-options
Scai
Scai6mo ago
From what payed plan has access to regions?
Brody
Brody6mo ago
Pro is required for deploying to a region other than us-west
Scai
Scai6mo ago
I will let here some images just for preview
Scai
Scai6mo ago
No description
Brody
Brody6mo ago
america
Scai
Scai6mo ago
Yes, Oregon & Virginia regions Europe is only Amsterdam which I think would be not enough in future Cloudflare Load Balancer is configured from railway dashboard or cloudflare itself
Brody
Brody6mo ago
cloudflare
Scai
Scai6mo ago
The load balancer configuration is to redirect visitor ip I guess or it can be configured to add a header which would redirect to the input of selected region
Brody
Brody6mo ago
yeah the load balancer decides where to route users traffic to based on what you set on an interactive map within cloudflare's load balancer settings fair warning, cloudflare's load balancer is paid
Scai
Scai6mo ago
Yeah, that's what I saw now. I hope there will be other regions added soon (Europe)
Brody
Brody6mo ago
forgive me for my lack of geographical knowledge, but isn't Amsterdam in Europe?
Scai
Scai6mo ago
Yes, but having game servers all over Europe it's kinda hard to track only with Amsterdam. I will likely test some game servers ips from different europe regions with Amsterdam to see how it goes.
Brody
Brody6mo ago
sounds good!
Scai
Scai6mo ago
So I just upgraded to Pro plan., :poggers: