Cloud Firestore - 选择区域来存储数据? [英] Cloud Firestore - selecting region to store data?

查看:23
本文介绍了Cloud Firestore - 选择区域来存储数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一种出于法律原因需要将用户数据存储在特定区域的产品.

I'm working on a product which for legal reasons needs to store user data in a specific region.

我正在使用 Firebase,所以我创建了一个项目,选择了它需要所在的区域,但是查看保存用户数据的 Firestore 我找不到任何可以确定数据实际所在区域的内容.最让我担心的是 Cloud Functions 端点以 us-central1 开头,但显然这可能只是指定区域中不存在云函数.

I'm using Firebase so I created a project selecting the region it needs to be in however looking at firestore where the user data is kept I can't find anything pinpointing the region the data actually is. The thing which makes me worry the most is the Cloud Functions endpoints start with us-central1 but obviously that could just be that cloud functions don't exist in the specified region.

既然这是一件重要的事情,有没有办法确认数据的位置,甚至强制它位于特定区域?

Given this is an important matter is there a way to confirm the location of data and even force it to be in a specific region?

推荐答案

更新

除了 2 个多区域(nam5、eur3)位置之外,Cloud Firestore 还支持以下区域 GCP 资源位置:请参阅文档以获取最新的位置列表.

Cloud Firestore 目前仅在我们的美国多区域(爱荷华州、俄克拉荷马州、南卡罗来纳州)提供.当我们接近 GA 时,我们计划将其推广到全球多个地点,您将能够在创建时选择哪一个.不过,这不是你今天可以做的.

Cloud Firestore is currently only available in our US multi-region (Iowa, Oklahoma, South Carolina). As we approach GA we plan to roll it out to multiple locations across the globe and you'll be able to select which one at creation time. Not something you can do today though.

这篇关于Cloud Firestore - 选择区域来存储数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆