How do I specify a region for an instance of Google App Engine?

When authorizing a Cloud SQL instance, an App Engine instance requires both instances in the same region — this is indicated by Google here , as shown below.

enter image description here

The problem is that we can choose a region for the Cloud SQL instance when creating it, although I'm not sure how we can select it for creating / loading the App Engine instance

enter image description here

So the question is, how do I specify the scope for an instance of App Engine?

+5
source share
2 answers

I came across this question after 3.5 years, and gcloud now supports creating App Engine applications for a project in a specific region:

 $ gcloud app create --project=$PROJECTID --region=northamerica-northeast1 

Alternatively, it can be specified in the Google Cloud Console when creating the Project Engine Project component.

0
source

Source: https://habr.com/ru/post/1202519/


All Articles