When you create a new Firebase project, you also select an Analytics location, which represents the country/region of your organization, and a Cloud Firestore location, which represents where your data is stored by Google Cloud Platform services that support data location, like Cloud Firestore.
Once you select a location for your project, you cannot change it. Use this overview to determine the location selection that makes sense for your project.
Types of locations
You can select a multi-region location or a single, regional location.
Select a multi-region location to maximize the availability and durability of your Cloud Firestore database. Multi-region locations can withstand the loss of entire regions and maintain availability without losing data.
The only multi-region location currently available for Firebase services is in the United States. It's named as follows for each service:
|Firebase service||Location Name|
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 if your application is more sensitive to write latency or if you want co-location with other Google Cloud Platform resources.
The following regional locations are available for Firebase services:
|Region Name||Region Description|
||South Carolina, USA|
All regional locations are separated from other regional locations by at least 100 miles.
Set a project location
The location setting for your project is shared across the following services:
- Cloud Firestore
- Cloud Storage
- App Engine
Once you set a location for your project, you cannot change your project's location setting.
When you create a Firebase project, your region is automatically selected, by default. To edit the location setting, follow these steps:
- Next to the Analytics location set by default, click .
- Select your preferred Analytics location from the dropdown list.
- Select a Cloud Firestore location.
When you set a project's location, consider how the regional setting will affect the services you decide to use.
When you create a Firebase project, the location you select automatically applies to Cloud Firestore. Once you've selected this location, you cannot change it. To reduce latency and increase availability, store your data in the region closest to the users and services that need it. To learn more, see Cloud Firestore locations.
On the Blaze billing plan, each Cloud Storage bucket you create can have a different location setting, based on your needs for that specific bucket's use. On the Spark billing plan, your single Cloud Storage bucket uses the Cloud Firestore location you select at project creation. To learn more, see Bucket Locations.
View your project's location setting
You can check the location setting in your project settings in the Firebase Console.
For more information about building applications to meet your latency, availability and durability requirements, see Geography and Regions.