[英]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.我有一个位于中美洲地区的项目,但由于我可以选择欧洲地区,所以我想更改 firestore 和存储的位置。 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.
目前,一旦您 select 为您的项目指定了位置,就无法更改它。
You might find this documentation useful for additional information.
您可能会发现此文档对于其他信息很有用。
https://firebase.google.com/docs/firestore/locations#top_of_page
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在 Google 网上论坛更新了 2 个答案
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并且不打算在不久的将来实施
As mentioned in the question, currently only a single Cloud Firestore database can be created per project; 如问题所述,目前每个项目只能创建一个Cloud Firestore数据库; 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. 对于Firebase存储,您始终可以在不同位置创建新存储桶 。
Not really an answer, just a link to another really good answer to essentially the same question.不是真正的答案,只是指向对基本相同问题的另一个非常好的答案的链接。
https://stackoverflow.com/a/65927522/3540849 https://stackoverflow.com/a/65927522/3540849
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.