如何更改 firebase 存储的位置?

How to change the lcoation of firebase storage?

大家好,在检查我的 firebase 项目成本时,我发现 appspot 导致我的成本很高。我的 GCP- 位于 eur3(欧洲西部)。但是我的 firebase 存储是多区域的。所以我的问题是我可以更改 firbebase 存储的位置吗?我的问题不是 us.artficats 而是关于更改 firebase 存储的位置是否有意义,如果是的话,那么如何?

您还可以看到,us.artifacts...appspot.com 占用了巨大的带宽。问题应该在 Firebase CLI 9.14 中解决,但我的是 9.23.1。所以我不知道是什么导致了这个 problem.Please 在下面留下一个解决方案(如果你知道修复)。

Cloud Storage for Firebase 将您的文件存储在 Google Cloud Storage 存储桶中,使它们可以通过 Firebase 和 Google Cloud 访问。 Cloud Storage 位置设置在存储桶上,您可以在不同位置创建不同的存储桶。你可以 change the storage class of the bucket but changing the location for the bucket is not supported currently. So if you want you can create another bucket with the preferred location. You can follow this guide on how to move and rename the bucket.

现在关于 us.artifacts.....appspot.com 存储桶占用的巨大带宽,我建议您按照 中所述在存储桶上设置生命周期管理策略].