Remotion 云运行中的多个存储桶
EXPERIMENTAL
Cloud Run 处于 Alpha 状态,且尚未积极开发。
Remotion Cloud Run 支持 每个区域和项目 1 个桶,用于你在其中使用 Remotion Cloud Run。没有必要创建多个桶,因为:
🌐 Remotion Cloud Run supports 1 bucket per region and project that you use Remotion Cloud Run in. It is not necessary to create multiple buckets because:
- 云存储桶是一种几乎可以无限扩展的存储解决方案。
- Remotion 将完美隔离每个渲染,以防它们互相干扰。
- 你可以为网站提供唯一标识符,以区分生产环境和开发环境。
- Remotion Cloud Run 服务是一个不会随你的代码库变化的二进制文件。
你可能会直觉上创建多个桶,因为你有多个环境,但通常不需要。
🌐 You might intuitively create multiple buckets because you have multiple environments, but it is usually not needed.
删除多余的桶
🌐 Deleting extraneous buckets
如果你收到错误信息
🌐 If you got an error message
You have multiple buckets [remotioncloudrun-1a2b3c4d, remotioncloudrun-howDidThisHappen] in your Cloud Storage region [us-east1] starting with "remotioncloudrun-".在 GCP 控制台中删除多余的存储桶以修复错误。
🌐 delete the extraneous buckets in the GCP console to fix the error.