Code Monkey home page Code Monkey logo

gcpinstances.info's Introduction

GCPinstances.info (by DoiT International)

Easy GCP Compute Engine Instance Comparison

Why?

Because it's frustrating to compare instances using GCP's own machine type, pricing, and other pages.

Who?

It was started by @powdahound who created the AWS version (ec2instances.info),

rewritten to Google Cloud by Avi Keinan from DoIT International, and awaits your improvements on GitHub.

How?

Data is scraped from multiple pages on the GCP site.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Warning: This site is not maintained by or affiliated with Google. The data shown is not guaranteed to be accurate or current. Please report issues you see.

License

MIT

gcpinstances.info's People

Contributors

burekasim avatar noavrd avatar naorpeled avatar gdubicki avatar amosshahar avatar joar avatar muffl0n avatar kirill1a avatar

Stargazers

Chimbu Chinnadurai avatar Vladyslav Gudzenko avatar Shay El Gold avatar Tim Shilov avatar  avatar  avatar David avatar Michael Warkentin avatar Dave Bunten avatar  avatar Steven Nemetz avatar  avatar Changsu Jiang avatar  avatar Babatunde Adeyemi avatar Donatas Navidonskis avatar Jatin Jindal avatar  avatar Lucas Mellos Carlos avatar Roberto Dedoro avatar Will Tait avatar Luca Serpietri avatar Alex Jeffreys avatar  avatar Sören König avatar yhori avatar Dariusch Ochlast avatar Scott Beeker avatar Jonathan Le avatar  avatar Julian Harty avatar Alex Hübner avatar Jaeho Shin avatar Alexey Sharov avatar  avatar  avatar Tom Rosenfeld avatar Miroslav Repka avatar Zaar Hai avatar Derrick Qin avatar  avatar Garrett avatar Mike Sparr avatar Stepan Stipl avatar Dustin Christlieb avatar  avatar Sayle Matthews avatar Jatinder Kataria avatar  avatar Felipe avatar  avatar Arri Rucker avatar Guru Raghupathy avatar Joshua Fox avatar Ronald Bradford avatar Eyal Zekaria avatar Chris McGrath avatar  avatar Alexandre Tostivint avatar Bradley Rutland avatar Ahmed ZERZERI avatar  avatar Logan Clemons avatar tomerav avatar Ofir Cohen avatar  avatar sapphire-qw avatar Eben du Toit avatar Aveer Ramnath avatar  avatar Dror Levy avatar  avatar mouson avatar Pedro Lourenço avatar Sam Stoelinga avatar Fabian Beuke avatar W Han avatar Maksim avatar Aleh Strakachuk avatar Ankit Bhatnagar avatar Mateusz Grabuszyński avatar Noah avatar Shayne Clausson avatar Marcin Kuthan avatar Tenvi avatar Derrick avatar Seung-won Park avatar  avatar Ljupco Vangelski avatar Raman Antanevich avatar Alex Efimov avatar Rares Stanciu avatar  avatar Davi Ribeiro avatar  avatar Chongyang Shi avatar Hanqing Liu avatar Jorge Felix Martínez Pazos avatar Gealber Morales avatar hisui avatar

Watchers

Hadrien Mary avatar Alex Simenduev avatar James Cloos avatar mouson avatar Tamir Klein avatar Frederic Perrouin avatar Lior avatar  avatar  avatar James Gardiner avatar Adoram Rogel avatar

gcpinstances.info's Issues

Add website link to the repository details.

This website is very useful.
But accessibility through the repository is low because there is no link to the website.
Therefore, it would be better to add a link to the website in the repository details.

Add column for price per vcpu/per GB mem?

When looking for the best family to use you usually care about price per compute unit and not the total price
Once i filter for the minimum instance size i need my next step is usually looking for the instance that cheaper per core/GB

C2D does not get sustained use discounts

The following line of code computes C2D as having a 20% sustained use discount. However, C2D does not has sustained use discounts. See:

c2d_sud_discount = 0.8

I believe this also means this line is wrong for T2A:

t2a_sud_discount = 0.7

Feature Request: get info as API?

I'd like pull this information programmatically (to e.g. select a machine type based on user requested vCPU, RAM, etc). Do you have any interest in supporting an API for this info, or would the API just be to scrape it? Thanks for an awesome resource!

Adding to "selected" in URL is broken

Adding a selected machine type to "selected" in URL fails

// selected rows
var selected_row_ids = $('#data tbody tr.highlight').map(function () {
return this.id;
}).get();
if (selected_row_ids.length > 0) {
params.selected = selected_row_ids;
}

cause there is no "id" set in html

<tr role="row" class="odd highlight">
  <td>e2-standard-2</td>
  <td>2 vCPUs</td>
  <td>8 Gib</td>
  <td class="sorting_1">$48.9173 monthly</td>
  <td>$48.9173 monthly</td>
</tr>

Sort doesn't work anymore when Currency is set to Eur

Hello !

Thanks for your work !

When I set the Currency to Eur, ordering of items changes, and I can't sort by machine type , or SUD. But sorting by cpu and memory works as normal.

Capture d’écran 2023-05-30 à 19 13 18

I'm on Chrome on macOS.

Thanks !

Benchmark data missing

Benchmark data is missing for several instance types, e.g.:

  • a2 family
  • m3 family
  • c3 family
  • n2-highcpu-96
  • n2d-highcpu-128
  • n2d-highcpu-224

update c3d info

scraper.py file is ready, waiting for GCP to update the calculator.

Missing instance types (e.g. n2)

The list of instances isn't complete, even for machine types that have been around for some time. For example, n2-highmem-96 is missing while all other n2-highmem machines are present.

Automate site updates? - I can help

Hi @Burekasim and the whole team!

Thanks again for this solution. While there are alternatives now, I really like your minimalistic and clear site.

But again I don't feel confident that it shows the up-to-date info because as of writing these words the data update time is 2022-12-18, which is 2.5 weeks ago if you are an optimist ...or last year if you are a pessimist. 😅

Anyway, I wanted to ask what is the progress on automating the updates? I read the comment that's it's on the roadmap from June 2022 but I also remember my ticket from October 2021 about the same thing, so perhaps I can help you with this if you are stuck?

Don't want to brag but I have a lot of experience with various CI/CD solutions, including Github Actions which would make the most sense here probably. (You can check out my work in gitlabform/gitlabform, for example.) I propose to create a site update pipeline running once per day (or on another schedule, if you think that makes more sense).

What do you think?

e2-medium wrong vCPU count

The e2-medium vCPU count shown as 1. I have it deployed and I see 2 vCPUs. Official docs also show it as 2 vCPU instance.
Screen Shot 2022-09-12 at 22 51 45

Consider switching to Infracost API

I have recently written an internal app that is using Infracost API and it works really well.

Infracost API is a third-party solution, not from GCP, but from a company that focuses on providing accurate cloud infra cost estimations. So they do their best to deal with the price scraping / using Catalog API in the backend and provide a nice GraphQL API in the front.

It's available for free but you can also self-host your own instance.

Inconsistent format breaks deserialization

Hi,

There are some inconsistencies that make loading the data file difficult. In particular:

  1. At the top level, there is a map keyed by machine family...except that it also includes licenses, which has a completely different data definition
  2. Within a machine type spec element, the cores element is sometimes an integer value (e.g. n2d-highcpu-16 == 16) while other times, it is the string value "shared" (e.g. f1-micro)

Would there be any appetite here to make the data format more standardized? I'm thinking we could start with a json-schema definition.

Check T2D specifications

Need to update T2D specifications in the scraper.py script, I don't know if GPU/Sole tenant/etc is available (there is no documentation):

'gpu': 0, 'sole_tenant': 0, 'nested_virtualization': 0, 'regional_disk': 0

Contents of "Region" and "Columns" dropdowns dont scroll

Hi,

I think that since the style has been updated in #38 (and I agree that the site is prettier now!) the dropdowns "Region" and "Columns" don't scroll.

Screenshot 2023-04-28 at 09 46 12

This is a problem especially for the Regions as the list is long enough to not fit on my big monitor and I have to resort to scrolling with keyboard arrows.

Update available CPU types

Hi @Burekasim,

I just noticed the CPU Type info is out of date. For example, gcpinstances.info shows most n2-* machine types as having only Cascade Lake CPUs available, while in fact it supports both Cascade Lake and the newer Ice Lake.

I'm not sure if you're able to pull this data from an API, but in case it's manually entered I've gone ahead and taken screenshots of the all the CPU types available for each machine type in case it's helpful for you.

Note: in the first few screenshots you'll notice a CPU Type that is greyed-out. That's not actually a CPU type available on that machine type, it's just displayed because it was the CPU type that was selected before I changed the Machine type. Only the non-grey CPU types are available for the machine type.

Screen Shot 2022-01-26 at 13 26 42

Screen Shot 2022-01-26 at 13 26 28

Screen Shot 2022-01-26 at 13 26 54

Screen Shot 2022-01-26 at 13 27 08

Screen Shot 2022-01-26 at 13 27 35

Screen Shot 2022-01-26 at 13 27 45

Screen Shot 2022-01-26 at 13 27 56

Screen Shot 2022-01-26 at 13 28 08

Choice persistance for Region/Cost/Currency

Hello,

It would be handy to "keep" the choices in the list to ensure it can be bookmarked with the same ones.
For exemple, when you choose a region, cost or currency - and you bookmark, then you reload the webpage: all the choices are reset to default.

Thank you,
Br,
François

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.