Jump to Content
Developers & Practitioners

Billing reports and Saved Cost Views

June 4, 2022
https://storage.googleapis.com/gweb-cloudblog-publish/images/Screenshot_2022-05-10_2.41.05_PM.max-700x700.max-700x700.png
Mark Mirchandani

Google Cloud Developer Advocate

Try out Saved Cost Views to create and share custom views from the Google Cloud billing reports page.

TL;DR — Try out Saved Cost Views to create and share custom views from the Google Cloud billing reports page.


There’s a lot in common with FinOps, cost optimization, cost efficiency, etc. Different companies and cloud providers use these to describe a variety of ideas that have one thing in common: maximize the value on your investment in the cloud. While there are many ways to optimize your investment, none are possible without first understanding your costs.

https://storage.googleapis.com/gweb-cloudblog-publish/original_images/image6_eWvdgLN.gif
Oh those pesky costs! Where did they go? There’s got to be a better way!

The number one way to start looking at your costs in Google Cloud is to use the billing reports page. Just getting started? Try out the new billing tour to get a quick walkthrough of a few different reports available in the console.

https://storage.googleapis.com/gweb-cloudblog-publish/images/image4_rbkfC47.max-1000x1000.png
You can find this on the project dashboard page

There’s also a video I put together that goes over how to use the billing reports and how to use the filters. It’s from last year so there’s been a few updates, but the idea is still the same and the interface hasn’t changed.

Video Thumbnail

Exploring your GCP costs with Billing reports

There’s more detailed ways to look at your cost that I’ll cover soon, but for now I want to call out a new feature available in the billing reports: Saved Cost Views. It’s a pretty simple feature, so I’ll get right into how to use it.

https://storage.googleapis.com/gweb-cloudblog-publish/images/image1_w38Kq3v.max-1400x1400.png
It’s just that simple!

The “Save View” button does exactly what it sounds like: it saves what you’re currently looking at as a new view that you can name. This can be really handy when you find yourself looking for some specific information often. Rather than manually selecting all the filters each time, you can set up your filters once and then save them as a new view.


For example, I find myself often looking at the past 90 days for production projects, grouped by SKU, just to make sure everything looks good and I didn’t miss anything. The first step to setting this up would be to set up the filters for what I want to see.

https://storage.googleapis.com/gweb-cloudblog-publish/images/image8_L2yAtTe.max-400x400.png
You can tell it’s a production project because it says “prod”. But for real, use labels

It’s simple enough to change the usage date to the last 90 days, group by SKU, and select the project(s) I care about. These give me a nice-looking graph so I can make sure my recent prod costs look like I expect them to.

https://storage.googleapis.com/gweb-cloudblog-publish/images/image5_azyV8Uj.max-900x900.png
These “stairs” are a result of Google Cloud automatically applying Sustained Use Discounts

Everything looks exactly how I want it to here, which is great. But I don’t want to have to come back to the reports and constantly set the same filters over and over again. One easy fix is just to bookmark the page since the filters are added as query string arguments, but that becomes a pain to juggle as more views and team members are added. So, I’ll just save the view.

https://storage.googleapis.com/gweb-cloudblog-publish/images/image3_6M4t6V4.max-700x700.png
Seems like an accurate name

Now anyone with access to the billing reports for this billing account can just select the view from the drop down and they’ll see the same data!

https://storage.googleapis.com/gweb-cloudblog-publish/images/image2_qYf435h.max-1100x1100.png
I wonder how old this screenshot will be by the time I post this article

Of course, this is a pretty simple example. There’s a lot more you can filter on, such as regions, labels, and specific products/SKUs. If you’re looking for an easy way to quickly switch between a few reports, try it out for yourself!


If you want to read more, check out the documentation.

Posted in