Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change region of existing Firebase project?

I have a project that is located in the Central America region, but since I can choose a European region, I would like to change the location of the firestore and storage. Is it possible to do this without deleting the existing project?

Updated

Response from technical support:

Thank you for reaching out to us. Currently, once you select a location for your project, you cannot change it.

You might find this documentation useful for additional information.

https://firebase.google.com/docs/firestore/locations#top_of_page

I hope this information has been helpful for you.

Updated 2 Answer at Google Groups

Unfortunately we don't support changing regions once resources are created. You'll have to create a new project and migrate data, etc.

and the do not plan implement it in near future

like image 263
Andrei Z. Avatar asked Aug 08 '18 18:08

Andrei Z.


People also ask

How do I change my Firebase region?

After you set your project's default GCP resource location, you cannot change it. If you set up Cloud Firestore or Cloud Storage, you're prompted to select your project's default GCP resource location in the Firebase console workflow.

How do I check my firestore region?

As per the official documentation Cloud Firestore Locations, the location of the storing is the same from your GCP Project. So, for you to check the location, you just need to access your project settings, to confirm this information.

Is firestore multi regional?

You can store your Cloud Firestore data in a multi-region location or a regional location. Note that if you already have an App Engine app with a location of either us-central or europe-west , your Cloud Firestore database will be considered multi-regional.


1 Answers

As mentioned in the question, currently only a single Cloud Firestore database can be created per project; both the mode (Native mode | Datastore mode) and the location are immutable choices. We're working infrastructure to enable us to improve this in the future, but for the time being this is not changeable.

Creating a new project is the only way to do this. Managed import and export (Datastore mode | Native mode) will enable you to move data between the old and new project more easily.

For Firebase storage, you can always create new buckets in different locations.

like image 113
Dan McGrath Avatar answered Oct 10 '22 04:10

Dan McGrath