前往主控台

Cloud Firestore Locations

Before you use Cloud Firestore, you must choose a location for your database. 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 Cloud Firestore data in a multi-region location or a regional location.

Multi-region locations

A multi-region location is a general geographical area, such as the United States. Data in a multi-region location is replicated in multiple regions. Within a region, data is replicated across zones.

Select a multi-region location to maximize the availability and durability of your database. Multi-region locations can withstand the loss of entire regions and maintain availability without losing data.

The following multi-region locations are available for Cloud Firestore:

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

Regional location

A regional location is a specific geographic place, such as South Carolina. Data in a regional location is replicated in multiple zones within a region.

Select a regional location for lower costs, for lower write latency if your application is sensitive to latency, or for co-location with other Google Cloud Platform resources.

The following regional locations are available:

Region NameRegion Description
North America
us-west2Los Angeles
northamerica-northeast1Montréal
us-east1South Carolina
us-east4Northern Virginia
South America
southamerica-east1São Paulo
Europe
europe-west2London
europe-west3Frankfurt
europe-west6Zürich
Asia
asia-south1Mumbai
asia-east2Hong Kong
asia-northeast1Tokyo
asia-northeast2Osaka
Australia
australia-southeast1Sydney

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

Project location setting

The location setting of your project is shared by the following products:

  • Cloud Firestore
  • App Engine
  • Cloud Storage

    This choice sets the location of your default Cloud Storage bucket, though you may create buckets in other locations.

Setting the location in one product also sets the location for the other. Once set, you cannot change your project's location setting.

For more on the Firestore location setting and how it affects other Firebase products, see Set a project location.

Viewing the location setting of your project

Your location setting is viewable in your project settings. View your project settings in the Firebase Console.

Next steps

  • For more information about building applications to meet your latency, availability and durability requirements, see Geography and Regions.