- Create new project in Google Cloud Console
Create a new entity in empty Cloud Datastore. When prompted for the location, choose
europe-west
, which according to Cloud Datastore Locations represents the multi-region of Europe.Reasoning:
maximize the availability and durability of your database. Multi-region locations can withstand loss of entire regions and maintain availability without data loss. In the Cloud Datastore Service Level Agreement, multi-region locations define a higher monthly uptime percentage than regional locations.
Next, create and deploy new Google App Engine (standard env) app into the same project.
Cloud Datastore Locations also explains:
The location setting for your Google Cloud Platform project applies to both Cloud Datastore and App Engine.
App Engine is a regional resource, though.
For this project, the command
gcloud app describe
will return
locationId: europe-west
According to App Engine Locations, europe-west
represents the Belgium region, while Cloud Datastore tells me europe-west
is the multi-regional location in Europe. OTOH, Belgium isn't explicitly listed as a (regional) location of Cloud Datastore.
Question
Does locationId: europe-west
refer to Belgium and Belgium is also the multi-regional location in Europe (for Cloud Datastore, but not for App Engine)?
Bonus Question
If the assumptions are correct: Does it mean that when the Belgium location is lost that clients could still access Cloud Datastore (as it is replicated to another region), but not the corresponding App Engine app?