A utility to parse and aggregate Google Compute Engine CSV usage files
Java Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/main/java/uk/co/inetria/gce
.gitignore
LICENSE
README.md
parse.sh
pom.xml
usage_export.png

README.md

Google Compute Engine Usage Parser

A utility to parse and aggregate Google Compute Engine CSV usage files. Ensure you have Google Compute Engine usage export enabled in your cloud console as shown in this screenshot:

Alt text

Usage:

    git clone https://github.com/omerio/compute-engine-usage-parser.git
    cd compute-engine-usage-parser
    mkdir dir usage
    # Download the usage files, needs cloud sdk. Note these files contain both daily and aggregate usage, you need 
    # to use one or the other, otherwise you will count things twice
    gsutil -m cp gs://<usage-bucket>/*.csv usage/
    ./parse.sh usage