Select Region when Deploying Services

7 months ago

I want to know if it is currently possible to choose the region to deploy a service on. I have tried and seen so documentation for this. The GraphQL doesnt let you set one when creating services, and I am sort of stumped.

Solved$10 Bounty

13 Replies


7 months ago

Looks like its just updating the multi region config


7 months ago

Does this mean we can use the multiregion config, put in only 1 region and a replication there, and it forces the service to be deployed there?


I would assume so


Oh yeah brody reacted 😅


7 months ago

Thank you


7 months ago

Last question ig would be how am I passing in the JSON?

{
      "us-west2": {
        "numReplicas": 2
      },
      "us-east4-eqdc4a": {
        "numReplicas": 2
      },
      "europe-west4-drams3a": {
        "numReplicas": 2
      },
      "asia-southeast1-eqsg3a": {
        "numReplicas": 2
      }
    }
  }

Does this work? or I need to add something else


I say just give it a try and see if it works.

Couldn't really find anything regarding the JSON schema myself unfortunately.


7 months ago

It's shown in the docs under the cac page


Oops thanks.

@OBO your configuration looks good.


7 months ago

Thank you both!


7 months ago

Works like a charm


7 months ago

🔥


Status changed to Solved brody 7 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...