Cloud Firestore in Datastore mode Locations

Before you use Cloud Firestore in Datastore mode, you must choose a location where the project's data is stored. To reduce latency and increase availability, store your data close to the users and services that need it.

Types of locations

You can store your Datastore mode data in either a multi-region location or a regional location.

Data in a multi-region location operates in a multi-zone and multi-region replicated configuration. Select a multi-region location if you want to 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.

Data in a regional location operates in a multi-zone replicated configuration. Select a regional location if your application is more sensitive to write latency or if you want co-location with other Google Cloud Platform resources that your application may use.

Multi-region locations

A multi-region location is a general geographical area, such as the United States. Multi-region locations contain multiple regional locations. The following multi-region locations are available:

Multi-Region Name Multi-Region Description
europe-west Europe
us-central United States

Regional location

A regional location is a specific geographic place, such as South Carolina. The following regional locations are available:

Region Name Region Description
North America
us-west2 Los Angeles
northamerica-northeast1 Montréal
us-east1 South Carolina
us-east4 Northern Virginia
South America
southamerica-east1 São Paulo
europe-west2 London
europe-west3 Frankfurt
europe-west6 Zürich
asia-south1 Mumbai
asia-east2 Hong Kong
asia-northeast1 Tokyo
asia-northeast2 Osaka
australia-southeast1 Sydney

All regional locations are separated from other regional locations by at least 100 miles.

Selecting a location

The location setting for your Google Cloud Platform project applies to both Cloud Firestore in Datastore mode and App Engine. When you select a location in either product, you set the location for your entire Google Cloud Platform project.

If you have not yet selected a location for your project, you will be asked to select the location when you complete any of the following tasks:

Viewing the location of your project

Use one of the following methods to find out which location you selected for your project:

  • Run the gcloud app describe command.

  • If you have at least one version of an App Engine app deployed, open the App Engine Dashboard in the Google Cloud Platform Console. The location information in the upper right-hand corner of the dashboard applies to both App Engine and Cloud Firestore in Datastore mode.

    Screenshot of the previously chosen location

Next steps

Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Datastore Documentation