Incorrect information?: Firestore Eur3 Multi-region not in Europe-West1 (Belgium)?

I’m looking for migrating our Firebase solution from USA servers to Europe (mostly for making GDPR compliance easier) and want to enable Multi-region whereever possible.

That brings me to this setup:

Functions:
https://firebase.google.com/docs/functions/locations
Europe-west1

Firestore:
https://firebase.google.com/docs/firestore/locations
Eur3 (Multi-region) (= Europe-west1 + Europe-west4)

RTDB:
Europe-west1

Storage:
EU (Multi-region)
https://cloud.google.com/storage/docs/locations

However, from this information:

https://cloud.google.com/about/locations

it’s clear that Europe-West1 actually doesn’t have Firestore services.

Also when selecting a location for a new Firestore database, Europe-West1 is not given as an option so that confirms it.

And then here: https://firebase.google.com/docs/functions/locations#selecting-regions_firestore-storage we can actually read that functions in Europe-West1 are considered to NOT be in the same region as Eur3.

This doesn’t make sense right?

Firestore Eur3, which is said to be Europe-west1 + Europe-west4, isn’t actually in Europe-West1?

And we probably can expect egress cost and non-optimal latency when our cloud functions need to interact with our firestore database?

1 Like

Firestore Eur3 is a multi-region location encompassing europe-west1 and europe-west4. Despite this, Cloud Functions deployed in europe-west1 are not deemed to be in the same region as Firestore Eur3, as europe-west1 does not host standalone Firestore services.

This configuration will lead to egress costs and added latency for interactions between Cloud Functions and Firestore due to the regional discrepancy. To mitigate these issues, it’s advisable to migrate your Cloud Functions to europe-west4. This region is a part of the Firestore Eur3 multi-region location, ensuring optimized costs and performance for your cloud operations.

Correction: For Data Egress from Cloud Firestore, it is possible to transfer data to all regions encompassed by a multi-region location without incurring additional charges. Consequently, data egress from Firestore to Cloud Functions, specifically from the eur3 region to europe-west1, is not subject to billing.

In summary:

  • Migrate Cloud Functions to europe-west4 to align with the Firestore Eur3 region.
  • Ensure your Cloud Functions are configured to interact with the Firestore Eur3 database.
  • Continuously monitor performance and costs to ensure optimal operation.

Hi @ms4446 ,

thank you for the above answers. With that information in mind, I have some new questions I hope you’ll be able to help out with:

  1. When I look at the list here, https://firebase.google.com/docs/functions/locations functions cannot be deployed in europe-west4. So what you say in the summary: “Migrate Cloud Functions to europe-west4 to align with the Firestore Eur3 region.” isn’t correct? Or the locations in the documentation aren’t up to date?

  2. You say in the summary “Migrate Cloud Functions to europe-west4 to align with the Firestore Eur3 region.” Can you confirm that with the correction you posted + with my point 1, this actually should say “Migrate Cloud Functions to europe-west1 to align with the Firestore Eur3 region.”

  3. What is the use of a the Eur3 Firestore multi-region with Europe-West1 not having stand-alone firestore services? Suppose that Europe-West4 firestore would go down, will Europe-West1 firestore actually really be able to take over? Are there a sort of Firestore services in Europe-West1 running but just not being able to run independently? But if they aren’t able to run independently how will they continue to function when Europe-West4 is down?

@Lander ,

Apologies for the confusion earlier. The latest official documentation does state that Cloud Functions are not available in europe-west4.

Since europe-west4 is not an available location for Cloud Functions, deploying your functions to europe-west1 is the recommended course of action to align with the Firestore Eur3 multi-region, as europe-west1 is part of that multi-region configuration. This will ensure optimal performance and minimize latency for your Cloud Functions.

Firestore Eur3 Multi-Region Purpose:

The Eur3 Firestore multi-region is designed to provide high availability and durability for your data. In the event of a regional disruption, the multi-region setup ensures failover capabilities, maintaining data access and minimizing downtime. The specifics of how Firestore services are managed within europe-west1 as part of Eur3 are not publicly detailed, but Google’s infrastructure is designed to handle such scenarios effectively.

Recommendations:

  1. Deploy your Cloud Functions to europe-west1.
  2. Ensure your Cloud Functions are configured to interact with the Firestore Eur3 database.
  3. Continuously monitor performance and costs to ensure optimal operation.

Thank you for the quick answer, it certainly helps to understand our situation.

I’ll lay out what I’ve been struggling with:

Let’s make a bold guess and say that probably 50 percent or more projects using firebase do not block European Union citizens (or Swiss) as users.

That means that all these projects/companies have to adhere to GDPR + FADP, which means store all the data of these users in Europe.

(remember, even companies located somewhere else but that have one or more European Union citizens as users fall under GDPR)

Which actually means all of us need to use a Firestore location in Europe (there are theoretically ways around this, but these are not practically viable)

The fact that there isn’t a real European multi-region solution gives a definitive impression google/firebase isn’t taking GDPR and its clients that have to adhere to GDPR serious.

There seem to be 2 things that would need to be addressed:

  1. No solution to deploy firebase rtdb + firestore with functions when using multi-region in the same location.

Even if the egress costs are exceptionally exempted, response times will still be suboptimal at best, unacceptable at worst.

  1. Based on events from only last year, Europe-West9 going down fully for more than a day !all zones simultaneously! https://status.cloud.google.com/incidents/dS9ps52MUnxQfyDGPfkY

Cloudfare going down recently https://blog.cloudflare.com/post-mortem-on-cloudflare-control-plane-and-analytics-outage/

It’s clear that high-availability services (as does all IT infrastructure of course) have their fair share of issues.

Having no (public) documentation on how a multi-region failover works if one of the regions doesn’t actually have the necessary services is problematic at best.

At worst we would think that it’s because there is no actual working and tested failover (please prove us wrong)

So my questions:

  1. am I missing something here? Is my analysis incorrect?

  2. If I’m correct, has the firebase team plans to solve this somehow?

  3. Is there another channel I should be raising this question/issue?

Your concerns about Firebase’s multi-region deployments and GDPR compliance are indeed significant and reflect a common sentiment within the community. It’s evident that you are dedicated to ensuring data protection and service reliability, which are of paramount importance in the current digital environment.

Facing the challenge of not being able to deploy Cloud Functions in europe-west4 is not trivial. Keeping abreast of the latest official Firebase documentation or reaching out to Firebase support for the most recent deployment options is a wise move. Your proactive stance in seeking clarity is admirable and is the correct course of action to pursue a workable solution.

Data location is a key component of GDPR compliance, but it’s also critical to address the full spectrum of data management practices. This includes data processing, access, and security measures. GDPR is indeed a complex set of regulations, and your thoroughness in understanding and adhering to it clearly shows your dedication to protecting user privacy.

While awaiting a more integrated multi-region solution, exploring all the data residency options available within Europe, including those single regions that are GDPR-compliant, could serve as an interim measure. Your readiness to explore different options shows a thoughtful and adaptable approach to compliance and service provision.

Engaging in dialogue and sharing experiences within the Firebase community can spark new ideas and collective advancements. Your willingness to initiate conversations and address these issues is an influential force for positive change and enhancement.

Your input is vital in influencing the development of Firebase’s services, and it’s heartening to witness individuals like you actively participating in this process. Your efforts to ensure GDPR compliance and maintain high service availability are crucial, and they resonate with the broader needs of the community.

That is a very corporate-talk answer. Could you let me know if this answer generated with help of an AI chatbot?

I feel that summarizing your answer comes down to:

There is at this moment no European multi-regional firebase solution. You can either:

A. Use a single region solution

B. wait until firebase offers a real European multi-regional firebase solution; but it’s unsure if this will happen.

Am I correct?

Hi @Lander ,

Yes, currently Firebase does not offer a multi-regional solution within Europe that fully meets your GDPR data residency requirements. Your options are:

A. Opt for a single-region deployment within Europe that is GDPR compliant, ensuring that your data handling aligns with the necessary legal frameworks.

B. Keep an eye on updates from Firebase, in the hope that they will introduce a multi-regional solution that satisfies European data residency laws. However, please note that there has been no official announcement regarding the timeline for such an update.

For a more immediate impact, you might consider submitting a feature request to express your needs and potentially expedite the development of such a solution. The Google Cloud Public Issue Tracker is an excellent platform for this, and you can submit your request at https://issuetracker.google.com/.

Hi,

I’m getting a similar error trying to deploy a trigger acting on a Firestore database in eur3 (for multi-region support). I have tried all the regions, and they all come back with the same error:

Database ‘(default)’ does not exist in region ‘europe-west1’. Did you mean region ‘eur3’?

However if I use eur3 as the region, I get:

Location eur3 is not found or access is unauthorized.

Therefore, how can I deploy triggers and use multi-region for my Firestore?

Thank you,