GCP pricing API does not have data for compute instances like N2 M2 C1

0 votes

Problem: Currently we are using the price calculator API from Google to calculate the estimated cost for GCP compute instances. But as observed it does not have the data for N2, M2, C1, etc. instances. As suggested from google we tried the billing catalog API and found that still, data was missing for the N2, M2 & c1 instances. And Catalog API is very dense and is not very developer-friendly

Can we get any official working API from google to calculate the pricing for these compute instances?

Existing API which does not have the N2, M2 & C1 instances data: https://cloudpricingcalculator.appspot.com/static/data/pricelist.json

New API from google for catalog billing using the SKU id:

https://cloudbilling.googleapis.com/v1/services/6F81-5844-456A/skus?key=

here 6F81-5844-456A is the SKU id for compute engines

Mar 30, 2022 in GCP by Rahul
• 3,380 points
559 views

1 answer to this question.

0 votes

You can check the list of available configurations here 

N2 data is available through the API 

C1 type is not available, API or otherwise 

To obtain the pricing of M2 you have to request a quota.

 

answered Apr 6, 2022 by Korak
• 5,820 points

Related Questions In GCP

0 votes
1 answer
+2 votes
1 answer
0 votes
1 answer

How does the pricing model work in GCP cloud?

While working with Google Cloud Platform, the ...READ MORE

answered Oct 7, 2019 in GCP by Sirajul
• 59,230 points
2,550 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Is there any API for GCP Pricing Calculator for https://cloud.google.com/compute/all-pricing?

You can take a look at the ...READ MORE

answered Mar 9, 2022 in GCP by Korak
• 5,820 points
1,803 views
0 votes
1 answer

Using Pulumi automation API to deploy GCP instances in an http framework does not work

This would allow for constructors to not ...READ MORE

answered Apr 5, 2022 in GCP by Korak
• 5,820 points
487 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP