google-cloud-pricing-cost-calculator icon indicating copy to clipboard operation
google-cloud-pricing-cost-calculator copied to clipboard

Feature request: spot price, flexible CUD

Open Jonathanliu92251 opened this issue 2 years ago • 6 comments

Currently, the calculator can't provide compute offerings' spot and flexible CUD price which are important price types besides hour, month, cud-1y, cud-3y.

Jonathanliu92251 avatar Feb 01 '23 00:02 Jonathanliu92251

I would love this as well!

samlhuillier avatar Apr 18 '23 15:04 samlhuillier

非常感谢,我已经收到您刚发的邮件。Got it, thanks.

Jonathanliu92251 avatar Apr 18 '23 15:04 Jonathanliu92251

Spot VMs are now supported: https://github.com/Cyclenerd/google-cloud-pricing-cost-calculator/tree/master/usage#resources

Can you map the flexible CUDs with the discount?

Cyclenerd avatar May 08 '23 12:05 Cyclenerd

非常感谢,我已经收到您刚发的邮件。Got it, thanks.

Jonathanliu92251 avatar May 08 '23 12:05 Jonathanliu92251

The Flexible CUDs, I've not found the SKU mapping, but it seems like this:

  • A 28% discount over your committed hourly spend amount for a 1-year commitment
  • A 46% discount over your committed hourly spend amount for a 3-year commitment

Source: https://cloud.google.com/compute/docs/instances/committed-use-discounts-overview#spend_based

Jonathanliu92251 avatar Jun 01 '23 08:06 Jonathanliu92251

If it is simply a discount add it as a discount in the YAML.

Cyclenerd avatar Nov 19 '23 11:11 Cyclenerd