Reputation: 13813
for my firestore database, I can clearly see the location of my database, like in this image
but I can't find out the default location of my firebase storage to store my images. I only find the bucket name
how to find the default region location of my firebase storage ? I need to ensure the location is the nearest from my user
is it always be the same as Default GCP resource location ?
Upvotes: 0
Views: 2779
Reputation: 131
Just came across this because I needed the same. The accepted answer does not tell you how to find it, if you don't know what was selected previously. And if the project in question already has a Storage configured, but not Firestore.
It turns out that you only need to open the project settings in the Firebase console (accessible from the little cog on the top), and there it will tell you the Default GCP resource location (third item from the top). It is not set for projects where this has not yet been selected, but it is fixed for projects where you already selected it either when first setting up Storage or Firestore.
Upvotes: 1
Reputation: 317487
The region of a project's default storage bucket is the same as Firestore. You actually agreed to set it that way in a dialog at some point during project setup. Please read the documentation:
Cloud Firestore and Cloud Storage — If you start using either of these products, you're prompted to select your project's default Google Cloud Platform (GCP) resource location (if it wasn't already selected when setting up another service).
Upvotes: 1