Google Cloud Compute Comparison
This Google Compute Engine machine type comparison webapp helps to find the optimal GCE machine type or instance in the many Google Cloud Platfrom (GCP) regions. A lot of information has been collected from various Google Cloud websites and different sources.
Instance Picker
Comparioson
🖊️ Add, edit or change machine type information
The Google Compute Engine API is used to get all machine types in all regions and zones. Additional information is read in via SQL files during the build process. These files can be found in the instances folder.
🧑💻 Development
If you want to customize the build process or run the webapp on your Gitpod or local computer, you need the following requirements.
Requirements
- Google Cloud CLI (
gcloud
) - SQLite3 (
sqlite3
) - Perl 5 (
perl
) - Perl modules:
- Roboto Font (for Open Graph images)
Debian/Ubuntu
Packages:
sudo apt update
sudo apt install \
sqlite3 \
libparallel-forkmanager-perl \
libapp-options-perl \
libencode-perl \
libyaml-libyaml-perl \
libjson-xs-perl \
libdbd-csv-perl \
libdbd-sqlite3-perl \
libtemplate-perl \
libplack-perl \
libgd-perl \
fonts-roboto
sudo apt-get install apt-transport-https ca-certificates gnupg
# Add the gcloud CLI distribution URI as a package source
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
# Import the Google Cloud public key.
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo tee /usr/share/keyrings/cloud.google.gpg
# Update and install the gcloud CLI
sudo apt-get update
sudo apt-get install google-cloud-cli
macOS
Homebrew packages:
brew install perl
brew install cpanminus pkg-config
brew install sqlite3
brew install gd
brew install --cask google-cloud-sdk
Perl modules:
cpanm --installdeps .
Build:
cd build/
bash build.sh
perl site.pl
Run:
cd ../
plackup --host 127.0.0.1
❤️ Contributing
Have a patch that will benefit this project? Awesome! Follow these steps to have it accepted.
- Please read how to contribute.
- Fork this Git repository and make your changes.
- Create a Pull Request.
- Incorporate review feedback to your changes.
- Accepted!
📜 License
All files in this repository are under the Apache License, Version 2.0 unless noted otherwise.
Portions of this webapp are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 4.0 Attribution License.
Please note:
- No warranty
- No official Google product