Cloud Usage History

For some reports, uploading usage history from cloud providers is required. This doc covers how to obtain that information from the major cloud providers, like AWS, Azure, and Google Cloud.

Sharing cloud usage history

Sharing cloud usage history helps us create an accurate representation of the cost-benefits of migrating to a new service (e.g.: AWS S3 ➡️ Azure Blob Storage) or adopting a new product (e.g.: forecast APM cost). Once generated, you can download your usage history from a cloud provider and submit to Taloflow via our secure upload service.

circle-check

AWS

Your AWS usage history is available in AWS Cost and Usage Reports (sometimes abbreviated as CURs).

circle-info

You must have AWS Billing and Cost Management Console Accessarrow-up-right to perform the following steps.

Generate AWS Cost and Usage Reports

To start generating AWS Cost and Usage Reports, please follow these steps:

  1. On the navigation pane, choose Cost & Usage Reports.

  2. Click Create Report. Give your report a name. For example, general-cost-report . Make sure that both Include resource IDs and Data refresh settings are selected.

  3. Under delivery options, select the S3 bucket where your reports currently reside and click Verify OR create a new S3 bucket if you do not currently have one for the report. If you get a prompt to add a default bucket policy, accept it.

  4. We recommend you create a path prefix in the next field (e.g.: main ). Make sure that Hourly, GZIP and Create New Report Version are selected. Click Next, then click Review & Complete.

circle-info

AWS should generate your first Cost and Usage Reports in 8-24 hours time.

Download AWS Cost and Usage Reports

  1. On the navigation pane, choose Cost & Usage Reports.

  2. A list of your Cost and Usage Reports will be available. Click on the relevant one.

  3. Click-through the S3 bucket folders until you select the latest report (ideally full month), and download to csv.gz file.

circle-exclamation

Google Cloud Platform

To export billing data from Google Cloud Platform (GCP) you have to create a billing report table in BigQuery.

circle-info

You must have Billing enabledarrow-up-right on your project to perform the following steps.

Generate the Billing Report in BigQuery

  1. Set up Cloud Billing data export to BigQuery by following these instructionsarrow-up-right.

  2. Run the following query in BigQueryarrow-up-right after replacing <PROJECT>, <DATASET>, <BILLING_ACCOUNT_ID> and <INVOICE_MONTH> with the name of the relevant project, the relevant BigQuery dataset you created in the previous step, the Billing Account IDarrow-up-right, and the last month in the following format yyyyMM (e.g.: 202105):

circle-info

This query will extract the relevant information for Cloud Storage.

Download the Billing Report from BigQuery

  1. If there are less than 16k records from the query, then you can simply click Save Results, then select CSV (local file) to download the report.

  2. If there are more than 16k records from the query, then you'll have to perform these additional steps:

    1. Click on Query History

    2. Click on the query you just ran

    3. Click on the Temporary Table link (Destination Table) and click export to GCS

    4. Chose GZIP compression

    5. For file location, browse and select a GCS bucket where you want to save the file

    6. For the file name it would be better to use a wildcard in case more than one file needs be created, so you can put something like report-*.csv.gz (Read more about this herearrow-up-right)

    7. When the export finishes you can download the files from your GCS bucket directly.

circle-exclamation

Microsoft Azure

triangle-exclamation

Microsoft Azure has many different account types and some of these have their own specific ways of accessing the billing report for export. The following two sets of linked instructions work in the vast majority of cases. However, if these steps are not relevant to your account type, please contact us at [email protected]envelope and we'll provide different instructions.

circle-exclamation

Last updated

Was this helpful?