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.
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
So the question is, how to specify a region for App Engine instance?
You cannot change an app's region after you set it. Note: Two locations, which are called europe-west and us-central in App Engine commands and in the Google Cloud console, are called europe-west1 and us-central1 , respectively, elsewhere in Google documentation.
After you set your project's default GCP resource location, you cannot change it. Note that your default GCP resource location only applies to your default Cloud Storage bucket. You can create multiple buckets, each with their own location.
Europe is available for App Engine apps, currently on a limited basis and by request. https://developers.google.com/appengine/docs/location http://googledevelopers.blogspot.com/2012/12/app-engine-174-released.html https://docs.google.com/forms/d/1W7LsnYRj0eBAzEQlDtFbsVuIZ0nFU2TaP7cZiaY4Z0Q/viewform?formkey=dDllb3FHLS1IdXVIcjVKR3FScklka1E6MQ
App Engine is just in the United States and Europe for now.
Previously on Stack Overflow: Verify/change application region at Google App Engine Change GAE application location
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With