-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for new "Spot" instances #12
Comments
Hi @bo-qeye, When I review the pricing on GCP website, I can see that the spot pricing is the same as preemptible instances. How do you think we should present the spot pricing in the website? as additional comments? changing the preemptible title to Preemptible/Spot? |
Hi @Burekasim Looking into it, it appears, as you point out, that the price is the same for Spot and preemptible. Seeing as Spot instances are equal or better to preemptible ones in all aspects, I'm guessing that GCP will discontinue (or quietly phase out) preemptible. I propose changing the title to "Spot/Preemptible", as you suggest. |
+1 |
Note that Spot pricing is not (or is no longer) the same as) preemptible pricing. From https://cloud.google.com/compute/docs/instances/spot#pricing
We would need to scrape currently Spot pricing ~monthly and add an entirely new column, as it is valuable to see standard, preemptible, and spot rates. Note that the catalog API does now support spot pricing in their results. |
Hi Kevin, Thanks for letting me know, when I started working on this website, it took me 4 days until I had to abandon the catalog api because there was no way to get to the same price of gcp calculator. |
Yeah, I haven't played with the catalog API yet, but it looked... more complicated than I'd prefer... I notice (some of?) the GCP pricing page docs have been updated to include the Spot pricing as well (and in some cases no longer show preemptible), so there might be some scraping that can be done? Mostly the important thing IMO is that the Spot pricing changes monthly and varies per-SKU, so #34 might end up being a prerequisite here :( |
I also considered using the Catalog API recently, but it was too difficult for my use case, while Infracost API was a pleasure to use, so please check out #36. |
GCP recently announced an evolution of preemptible VMs. They are now called Spot VMs.
More info here: https://cloud.google.com/compute/docs/instances/spot
The text was updated successfully, but these errors were encountered: