Understanding and Analyzing Your Costs with Google Cloud Billing Reports - GSP614

Understanding and Analyzing Your Costs with Google Cloud Billing Reports - GSP614

Overview

Google Cloud cost management tools provide greater visibility, accountability, control, and intelligence so that you can scale your business in the cloud with confidence. Tailored to meet the needs of organizations of all sizes, these tools help reduce complexity and increase the predictability of your cloud costs.

Google Cloud Billing reports is a cost management tool that provides built-in reporting within the console. In this lab, you familiarize yourself with Billing reports and understand how to answer fundamental cost management questions, such as:

In this lab, you learn about Google Cloud Billing Reports, a cost management tool that provides built-in reporting within the Google Cloud console.

Objectives

In this lab you learn how to perform the following tasks:

  • Explore Cloud Billing report charts in the Google Cloud console using a sample billing account.

  • Analyze cost trends using report filters.

  • Explore Cloud Billing cost drivers.

  • Review a summary of costs.

Task 1. Access the sample Cloud Billing account

In this task you access the sample billing report that is used in this lab.

  • To open the billing report for a sample billing account, right click the following link and select Open link in incognito window:

    Sample Billing Report.

    The link opens the Google Cloud console in the Billing Reports window. In the remainder of this lab you will explore the various features of billing.

Note: To access Google Cloud Billing in your own environment, you'll need one of the Cloud Billing roles outlined at Overview of Cloud Billing access control.

Task 2. Explore Cloud Billing report charts

In this task you explore your Cloud Billing report chart to see how much you are spending. You have a variety of options available to customize your report views, including filters and other settings. Your report view changes depending on the filter selections you choose.

  1. In the Cloud console, in the Billing menu, click Reports.

    This Reports page includes a chart that plots usage costs for all projects linked to a billing account.

Note: Because you are viewing a working project, the charts in this lab may differ from what you see in your Billing reports. By default, the chart shows current and forecasted costs by project for the current calendar month. Each color in the chart corresponds to a different project.

  • In the top left, the actual cost to date is displayed for the current month, including a comparison to the cost over the same number of days in the preceding month.

    Total Cost

  • In the top right, the forecasted total cost is displayed for the current month, including a comparison to the previous month.

Forecasted Cost

  1. To visualize your daily costs grouped by project, hold the pointer over a specific day on one of the colors in the chart to compare the cost for that project to the total cost for the day.

Daily Cost

  • The cost trend line (the dotted line) is visible when your selected time period includes a date in the future.

Total cost commparison

  • The cost trend line indicates how much you're forecasted to spend in that time period.

It also reflects both the long term trend and any consistent monthly cycles. Learn more about trends at Viewing your forecasted costs.

  • Below the chart is a summary of the costs by project in the selected time period.

Summary of the costs

Filters and grouping

Customize your view using the drop-downs for filtering and grouping.

View your charges by invoice and without taxes or adjustments

  1. Click the expand icon

    Expand icon

    in the upper right.

Note: If you don't see both the report and the Filters panel, widen your browser window.

Filters panel

  1. In the Time range section, select Invoice month and set your From and To month range.

  2. View the chart. Notice the Reports page updates to match the invoice month and tax option you selected. The table below the chart displays the cost breakdown based on your filter selections.

Reports page

Costs by project

In this task you analyze your cost trends. You filter the view by time range, location, and credits to see how your costs have changed.

View your cost trend over a specified time period

  1. In the Filters pane, for Time range, select Usage date.

  2. Click Custom range, and then select Last 30 days.

    The chart shows the last 30 days of usage. As before, the top of the graph shows your costs compared to the previous time period so you can easily compare how your costs trend over time.

Last 30 days usage

View your cost trend by location

  1. In the Filters pane, expand the Locations section.

  2. Under Geography, click Americas.

    Notice how the specific Americas regions and multi-regions are selected and that the graph changes to reflect this.

  3. Under Region & multi-region, click europe-west1.

    Notice that the europe-west1 region is added to the graph.

  4. Clear the Geography and Region & multi-region options previously selected, and then collapse the Locations group.

View your cost trend by credits

You can use credits filters to change the view of your cost calculations. You can select all applicable credits (default) to be included in the cost calculations, or you can clear some or all of the credit options to exclude credits from the cost calculations.

For more information about credits, see View and analyze your credits.

Sustained use discounts

  1. Expand the Credits section.

Credits section

  1. Clear the Sustained use discounts checkbox.

Note: In this lab, Sustained use is the only available discount. Because of this, the Discounts option is automatically cleared when you clear Sustained use discount. The chart is more flat when the automatically applied discounts are no longer reflected.

  1. Select the Sustained use discounts checkbox to see how the chart changes.

  2. Collapse the Credits section.

Task 4. Explore your cost drivers

In this task you explore your billing reports to visualize and investigate any unexpected changes in cost.

Find the unexpected cost increase

  1. Click Reports.

  2. In the Filters pane, for Time range, select Invoice month.

  3. To discover the cause of the large increase in cost, hold the pointer over the spike in the chart to identify the project.

    In this case the project causing the large cost increase is CTG-Dev.

CTG-Dev large costs

Note: Because your Reports view is a working project, your chart looks different from the chart in this section and has different spikes.

  1. In the Filters pane, for Projects, click CTG-Dev.

  2. In Group by, click Service.

  3. To find out which service caused the increase in cost, hold the pointer over the spike in the graph.

    In this case it appears that BigQuery caused the increase in cost.

  4. In the Filters pane, for Group by, click SKU.

    In this case, the BigQuery Analysis SKU was the highest cost on this day. This SKU is charged when executing queries using BigQuery.

Task 5. Review a summary of your costs

In this task you review a summary of your costs. Billing reports show current cost trends and forecasted costs. The cost breakdown report shows what you would have spent at the on-demand price for your Google Cloud usage, and how your final invoice amount was affected by any credits, adjustments, and taxes.

  • In the Cloud console, in the Billing

    Billing menu icon

    menu, click Cost breakdown.

The graph shows your total costs for a specific invoice month and how credits and taxes affected the final amount invoiced for that month. For example, sustained use discounts automatically apply to Compute Engine resources that run a significant portion of the billing month, helping save you money. The sample chart below shows the total cost of usage minus the credits applied for sustained use discounts.

To learn more see, Committed use discounts and sustained use discounts.

Invoice month bar chart


Solution of Lab

Open link in incognito window Sample Billing Report

Recheck https://www.cloudskillsboost.google/games/5383