Skip to content
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 prices for preemptible instances #12

Closed
gdubicki opened this issue Jan 5, 2023 · 2 comments
Closed

Add prices for preemptible instances #12

gdubicki opened this issue Jan 5, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@gdubicki
Copy link
Contributor

gdubicki commented Jan 5, 2023

Is your feature request related to a problem? Please describe.

I want to compare E2 vs N2D preemptible instances across a few regions using your tool and I can't because it doesn't include preemptible prices at all.

Describe the solution you'd like

Add a column within the "Costs" group with the preemptible price.

Describe alternatives you've considered

Using an alternative solution - https://gcpinstances.doit-intl.com - but it has its own issue with no guarantee of data being up to date (see doitintl/gcpinstances.info#34 for more info).

@gdubicki gdubicki added the enhancement New feature or request label Jan 5, 2023
@Cyclenerd
Copy link
Owner

Currently you can only filter if the instance (machine type) is available as spot (Spot Provisioning Mode). By the way, prices are calculated automatically with this tool: https://github.com/Cyclenerd/google-cloud-pricing-cost-calculator

For Spot there is already a little bit prepared but not yet implemented.

https://github.com/Cyclenerd/google-cloud-pricing-cost-calculator/blob/master/build/mapping.csv#L176

Pull requests are welcome. I don't use spot VMs so I can't control the real calculation that is later on the invoice.

@Cyclenerd
Copy link
Owner

Prices for Spot VMs are now displayed.

@Cyclenerd Cyclenerd self-assigned this May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants