Select Region when Deploying Services

3 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


3 months ago

Looks like its just updating the multi region config


3 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 😅


3 months ago

Thank you


3 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.


3 months ago

It's shown in the docs under the cac page


Oops thanks.
@OBO your configuration looks good.


3 months ago

Thank you both!


3 months ago

Works like a charm


3 months ago

🔥


Status changed to Solved brody 3 months ago


Loading...