https://github.com/learnk8s/kubernetes-instance-calculator-data
A collection of scripts to retrieve instance types and pricing from AWS, GCP and Azure.
https://github.com/learnk8s/kubernetes-instance-calculator-data
aws azure gcp kubernetes
Last synced: 10 months ago
JSON representation
A collection of scripts to retrieve instance types and pricing from AWS, GCP and Azure.
- Host: GitHub
- URL: https://github.com/learnk8s/kubernetes-instance-calculator-data
- Owner: learnk8s
- License: mit
- Created: 2021-08-12T01:53:30.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-20T08:38:01.000Z (over 4 years ago)
- Last Synced: 2025-06-30T06:41:31.895Z (12 months ago)
- Topics: aws, azure, gcp, kubernetes
- Language: JavaScript
- Homepage: https://learnk8s.io/kubernetes-instance-calculator
- Size: 401 KB
- Stars: 60
- Watchers: 4
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## k8s data feed
Export a list of instances with:
```bash
node run.js crunch
```
#### generate the input files
```bash
aws ec2 describe-instance-types --instance-types > input/aws.json
```
```bash
gcloud compute machine-types list --filter="zone:us-east1-b" > input/gcp.txt
```
```bash
az vm list-sizes --location eastus > input/azure.json
```
#### generate the pricing files
```bash
download csv from https://instances.vantage.sh/ and convert to json file
```
```bash
wget https://cloudpricingcalculator.appspot.com/static/data/pricelist.json -O input/gcp-pricing.json
```
```bash
download json from https://azureprice.net/
```
#### Calculator
Please check the Kubernetes instance calculator that uses the raw data https://learnk8s.io/kubernetes-instance-calculator