Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/drupal/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google compute engine 如何计算Google数据流的成本?_Google Compute Engine_Google Cloud Dataflow - Fatal编程技术网

Google compute engine 如何计算Google数据流的成本?

Google compute engine 如何计算Google数据流的成本?,google-compute-engine,google-cloud-dataflow,Google Compute Engine,Google Cloud Dataflow,我的公司正在评估我们是否可以使用谷歌数据流 我在谷歌云平台上运行了一个数据流。控制台在右侧的“保留CPU时间”字段中显示5小时25分钟 工作配置:n1-standard-4 开始8个工人 如何计算数据流的成本?根据 价格是每小时每GCEU 0.01美元,我如何找到数据流消耗的GCEU数量和小时数 您可以在此处找到每台机器的GCEU数量:。例如,n1-standard-4s是11个GCEU 然后计算批处理数据流作业的成本(除了虚拟机的原始成本之外) 然后,工作的总成本为 (machine hour

我的公司正在评估我们是否可以使用谷歌数据流

我在谷歌云平台上运行了一个数据流。控制台在右侧的“保留CPU时间”字段中显示5小时25分钟

工作配置:n1-standard-4

开始8个工人

如何计算数据流的成本?根据 价格是每小时每GCEU 0.01美元,我如何找到数据流消耗的GCEU数量和小时数


您可以在此处找到每台机器的GCEU数量:。例如,n1-standard-4s是11个GCEU

然后计算批处理数据流作业的成本(除了虚拟机的原始成本之外)

然后,工作的总成本为

(machine hours) * ((GCEUs) * $.01 + (machine cost per hour) + (PD cost per hour for attached disks))
例如,对于具有250GB磁盘的n1-standard-4,计算结果为(11*$.01+$.152+($.04*250/30/24))=.276美元/机器小时。

自2018-05-03以来一直存在

现在您应该使用以下公式:

(vcpu_hours * vcpu_hourly_price) +
(mem_hours  * mem_hourly_price) +
(disk_hours * disk_hourly_price)

可能需要额外的洗牌成本。

谢谢,您能否扩展您的等式,并将VM的原始成本计算在内,以产生总成本?我需要数据流的总成本。自2018年5月3日起,数据流有了新的定价模型。见下文。
(vcpu_hours * vcpu_hourly_price) +
(mem_hours  * mem_hourly_price) +
(disk_hours * disk_hourly_price)