Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Dataflow job machine type and estimated cost

I'm deploying a Python pipeline to Dataflow and specifying a machine type of e2-small. According to published pricing this should cost ~$0.0168 per hour. I deployed my pipeline and let it run for 34 minutes and the cost estimate was already at 8 cents when I would have expected it to still be < 1 cent.

So my questions are these: Does the cost estimation take into account the machine type? And if it *does*, then what am I missing about published pricing of e2-small vs the actual cost?
jmakarboom_0-1685462844448.png

jmakarboom_2-1685463199166.png

 

 

Solved Solved
0 1 1,632
1 ACCEPTED SOLUTION

I figured it out. I noticed that the vCPU per hour price is per region and not per machine type provisioned. So in this particular case e2-small has 2 vCPUs which are each charged at ~6.9 cents / hour.

View solution in original post

1 REPLY 1

I figured it out. I noticed that the vCPU per hour price is per region and not per machine type provisioned. So in this particular case e2-small has 2 vCPUs which are each charged at ~6.9 cents / hour.