Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to specify a region for Google App Engine instance?

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?

like image 940
Nam G VU Avatar asked Sep 14 '14 04:09

Nam G VU


People also ask

How do I change my region on Google App Engine?

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.

How do I change default GCP resource location?

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.


Video Answer


2 Answers

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

like image 57
Dan Sanderson Avatar answered Oct 10 '22 07:10

Dan Sanderson


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.

like image 24
Brian de Alwis Avatar answered Oct 10 '22 07:10

Brian de Alwis