google-cloud-platform - Google Cloud 未知 "Storage PD Capacity"费用

标签 google-cloud-platform google-cloud-run google-cloud-networking google-cloud-billing

最近,Google Cloud 中开始出现针对“存储 PD 容量”的收费。根据指控,尽管我不直接使用任何虚拟机或存储磁盘,但我在某处使用了 7.27 GiB。

我使用的唯一 Compute Engine 产品是 1 个没有持久存储的 Google Cloud Run 服务。我的服务使用我使用 this 配置的静态出站 IP 地址指导。这使用无服务器 VPC 访问连接器,该连接器始终有 2 个处于事件状态的 f1-micro 实例(它永远不会扩展超过该数量)。但是,我在 pricing page 上没有看到任何提及这些实例使用的持久存储的内容。 (我也想不出他们为什么要使用 7GB)。

我使用的唯一其他产品是 Google Cloud API Gateway,我认为它不需要存储,特别是考虑到它 doesn't even cache responses .

我唯一需要注意的是,这些费用从 4 月 16 日开始出现。在这一天,我做了以下更改:

  • 将我的 Cloud Run 服务从 us-central1 移至 us-east4
  • 将我的 API 网关从 us-central1 移至 us-east4
  • 将我的静态 IP 地址从 us-central1 移至 us-east4,遵循 this再次指导

“移动”是指删除并从头开始重新创建。

每天 0.32 美元并不算多,但只是想了解此存储的用途!

Disks Billing

最佳答案

在 Google Cloud 支持方面浪费了几周的时间后,我终于弄清了问题的真相。

TLDR;持久磁盘 (PD) 存储在 us-central1 中有免费套餐,但在 us-east4 中没有免费套餐。因此,将 VPC Serverless Access Connector 移至 us-east4 后,我开始收取 PD 存储费用。


VPC 无服务器访问连接器使用 Compute Engine Instance Groups在引擎盖下。这是来自 Google 支持的屏幕截图(这似乎是仅限内部的 View ,因为我在控制台中看不到它): VPC Serverless Access Instance Group

这些是使用永久磁盘 (PD) 存储的虚拟机。当我将 VPC 无服务器访问连接器从 us-central1 切换到 us-east4 时,PD 存储也发生了变化:enter image description here

以前,我没有注意到“存储 PD 容量”费用,因为它是 0。切换到 us-east4 后,成本变为非零,所以我注意到了。根据 SKU,

关于google-cloud-platform - Google Cloud 未知 "Storage PD Capacity"费用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/76125311/

相关文章:

google-cloud-platform - Gcloud 无法获取资源 : Specified IP address is not allocated to the project or does not belong to the specified scope

python - 使用 tensorflow tf-transform 进行数据规范化

node.js - 通过 Cloud Functions 从 Cloud Storage 解压缩文件

node.js - Google Cloud 跟踪 自定义跟踪只能运行几次

node.js - Google Pub/Sub 上的 GRPC 权限被拒绝 [错误 7]

google-cloud-platform - Cloud Scheduler 不适用于自定义 Cloud Run 域

google-cloud-platform - 使用 "--set-sql-instance"参数部署到云运行时,云构建权限被拒绝

google-cloud-platform - 在部署管理器中使用 'gcloud services vpc-peerings connect'

google-cloud-platform - 是否可以将 Cloud shell 和虚拟机放在同一个 VPC 中?