Google Compute Engine: how to control your daily usage of the cloud!

A couple days ago, Ken Sim, Product Manager at Google, announced a new feature that will probably make smile those of you who are hunger for analytics about their cloud infrastructure. News is, Google finally added a mean to programmatic access detailed Google Compute Engine usage data, thanks to the so-called Compute Engine Usage Export. You can enable it from the Console as shown in this screenshot from the GCP official blog:
UsageExport

What it is

This new programmatic access feature Google has added will enable you to easily export detailed reports about your usage data. Usage Export makes it quite easy to obtain more insight about your usage of Compute Engine at a quite deep level. For example, you can monitor exactly how long a virtual machine has been running or how much storage space a persistent disk uses on a daily basis. Being able to access those data programmatically opens a wide range of possibilities that were precluded before. Usage Export will provide both daily reports that include usage data from the latest 24 hour period and also a monthly rollup report that include monthly usage data up to the most current day. 

How Usage Export works

Google Compute Engine Usage Export is very similar to Billing Export, the tool to get programmatic access to Billing data through the Billing API. It allows you to export a CSV file with the detailed usage data to the Google Cloud Storage bucket you want it to be saved to. Once there, the CSV file can be accessed through either the Cloud Storage API, the CLI tool, or the Console. An interesting feature here is the possibility of combining item from Usage Export with data from Billing Export. Linking elements among the two makes it easy to identify unexpected charges for a particular resource, or any other weird behavior you may incur. Thanks to that, you can monitor, analyze and optimize both the performance and the costs of your whole infrastructure.
If you want to start learning how to Google Compute Engine and the Google Cloud Platform, check out our Learning and Quizzes in CloudAcademy.com!

Written by

Software Engineer with a solid focus on QA and an extensive experience in ICT. Above all, Andrea has a very strong interest in Free and Open Source Software, and he is a Debian and Ubuntu Developer since years. Non-tech interests include: Rugby, Jazz music and Cooking.

Related Posts

Albert Qian
— June 19, 2018

Preparing for the Microsoft Azure 70-535 Exam

The credibility of Microsoft Azure continues to grow in the first quarter of 2018 with an increasing number of enterprises migrating their workloads, resulting in a jump for Azure from 10% to 13% in market share. Most organizations will find that simply “lifting and shifting” applicatio...

Read more
  • Azure
  • Compute
  • Database
  • Security
— May 8, 2017

Which AWS Compute Service Do I Need?

With the ever increasing and expanding service catalog being developed by the engineers at AWS, it's easy to get confused when it comes to understanding which AWS Compute service you need and which service you should be using for your deployments. Which service offers me the quickest de...

Read more
  • AWS
  • Compute
— February 21, 2017

Which Cloud Computing Platform? Advantages of a Multi-Cloud Strategy

The rivalry is warming up in the cloud space as vendors continue to offer innovative features and reduced pricing. In this post, we will highlight the competition between the three titans of the cloud: Google Cloud Platform (GCP), Amazon Web Services (AWS), and Microsoft’...

Read more
  • AWS
  • Azure
  • Compute
  • Google Cloud
— May 5, 2016

Compute Fundamentals for AWS: Updated Course

Innovation fuels cloud computing.Compute Fundamentals for AWS: Updated, Improved, and Better than EverCloud Academy happily announces a major update to a popular course: Compute Fundamentals for AWS.David Robinson originally built this course an introduction to AWS's cornerstone comp...

Read more
  • AWS
  • Compute
— May 19, 2015

Preemptible Virtual Machines: cheap instances from Google Compute Engine

Could you use some serious computing power? Say hello to Google's Preemptible Virtual Machines.One of the nice things about having access to hundreds of thousands of computers is that you get to do cool stuff. Arguably, the fact that, with enough creativity, you can use that access to...

Read more
  • Compute
  • Google Cloud
— March 24, 2015

EC2 vs Google Compute Engine: comparing the big players in IaaS

IaaS: EC2 vs Google Compute EngineArguably, Infrastructure as a Service (IaaS) is the most important cloud computing vertical. Within that, in terms of services and features, AWS enjoys the top position, while Google Cloud Platform is slowly catching up. In this post, we'll discuss maj...

Read more
  • AWS
  • Compute
  • Google Cloud
Igor Putilov
— February 26, 2015

EC2 Pricing: understanding compute costs on AWS

Amazon EC2 pricing considerations (& how to save your money)After a first glance at the pricing page for Amazon EC2, you might find absorbing so much information a little intimidating. In this post we will try to break EC2 pricing down and provide strategies to not only ease the pa...

Read more
  • AWS
  • Compute
— October 23, 2014

Learn Google Compute Engine with our new course!

After the launch of our first course introducing the Google Cloud Platform, our expert David Clinton is back with a brand new course to learn Google Compute Engine. We just launched it, and you can watch it on CloudAcademy.Google is one of the hottest cloud platform, probably the most ...

Read more
  • Compute
  • Google Cloud

Deploying a MEAN Stack Onto Google Compute Engine

Gone are the days where a product team used to spend a considerable amount of time to build a basic web application.  Say Hi to MEAN! If you are familiar with LAMP/WAMP stacks, you could consider MEAN as a complete stack based on JavaScript. In fact, MEAN represents: MongoDB, ...

Read more
  • Azure
  • Compute
— July 21, 2014

How to Identity and Access Management works in Google Compute Engine

Google Cloud Platform is gaining momentum, and it seems that Google is warming up to compete with Amazon Web Services. During the last quarters Google has invested heavily on new services and features for both Google App Engine and Google Compute Engine. Like any other cloud computing p...

Read more
  • Compute
  • Google Cloud
— July 14, 2014

Load Balancing in Google Compute Engine

Load balancing is an important feature of cloud infrastructure services. With the ability to rapidly launch VMs, it is important to ensure that all the VMs are evenly utilized. Amazon’s Elastic Load Balancer (ELB) is quite popular for its ability to route the traffic across a set of ins...

Read more
  • Compute
— July 4, 2014

Overview of Replica Pools in Google Compute Engine

Cloud is all about elasticity. Cloud infrastructure running web-scale applications can shrink and grow dynamically. Batch processing on cloud will have to deal with on-demand instantiation of the machines based on the load.Google Compute Engine is a high performance, next generation Ia...

Read more
  • Compute