6
votes

When authorizing a Cloud SQL instance for an App Engine instance, it is required to have both instances in the same region - this is stated by Google here as below snapshot.

enter image description here

The issue is that we can choose the region for a Cloud SQL instance when creating it, though I'm not sure how we can choose one for creating/uploading an App Engine instance

enter image description here

So the question is, how to specify a region for App Engine instance?

2

2 Answers

2
votes

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

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

Alternatively it can be specified in the Google Cloud Console when creating a project's App Engine component.