Google Billing
When enabling GCP billing integration, select a type of file export for your Google Service account added to Cloudaware in order to avoid duplication of the billing data.
BigQuery Export
BigQuery export type is being continuously updated by Google, thus we recommend selecting this option when working with billing data in Cloudaware.
1. Log in to your Google console. Select Billing on the left.
2. Go to Billing export and select BigQuery Export to have BigQuery datasets enabled.
![](../__attachments/1171652643/image08.png?inst-v=e8f17e59-147b-42e3-bab0-2952c3065498)
3. Go to Big Data → BigQuery. In the section 'Resources' select the GCP project the billing datasets are consolidated under.
![](../__attachments/1171652643/image09.png?inst-v=e8f17e59-147b-42e3-bab0-2952c3065498)
4. Select the dataset 'Billing' and pick a table under question. Click Share Dataset.
![](../__attachments/1171652643/image10.png?inst-v=e8f17e59-147b-42e3-bab0-2952c3065498)
5. Type the name of the service account the GCP project for billing is managed by. Click Add → BigQuery assign the role 'BigQuery Data Viewer'. Click Done.
![](../__attachments/1171652643/image11.png?inst-v=e8f17e59-147b-42e3-bab0-2952c3065498)
6. Log in to your Cloudaware account. Go to Admin.
![](../__attachments/1171652643/image12.png?inst-v=e8f17e59-147b-42e3-bab0-2952c3065498)
7. Select Google Project Billing and click +Add.
![](../__attachments/1171652643/image13.png?inst-v=e8f17e59-147b-42e3-bab0-2952c3065498)
8. Select BigQuery and insert the required details. Click Save.
![](../__attachments/1171652643/image14.png?inst-v=e8f17e59-147b-42e3-bab0-2952c3065498)
The BigQuery Table Name format should be as follows gcp_billing_export_v1_000X00_00X0XX_0XX00.
9. The green light in 'Status' means that Google billing integration has been added successfully. If there is a red light, please contact support@cloudaware.com.
![](../__attachments/1171652643/image15.png?inst-v=e8f17e59-147b-42e3-bab0-2952c3065498)
Cost on instance level
Google Cloud Platform does not provide the cost data split by instance out of the box. In order for Cloudaware to display the cost on an instance level, every GCE instance in your environment needs to have a tag (e.g. instance-name: actual-name-of-this-instance) applied.
File Export (deprecated)
When enabling GCP billing integration, select a type of file export for your Google Service account added to Cloudaware in order to avoid duplication of the billing data. Please note that BigQuery is more preferable.
1. Log in to your Google console. Click Billing on the left.
2. Go to Billing export and select File export to set up a bucket for storing the billing reports. Select .csv format.
![](../__attachments/1171652643/image01.png?inst-v=e8f17e59-147b-42e3-bab0-2952c3065498)
3. Go to Storage → Browser and click the bucket you selected before. Billing reports will be available in the section 'Objects' within 24 hours since the reporting was enabled.
![](../__attachments/1171652643/image02.png?inst-v=e8f17e59-147b-42e3-bab0-2952c3065498)
4. Go to the tab 'Permissions'. Ensure the service account assigned to the appropriate project has the role Storage Object Viewer for Cloudaware to have getObject access for reading billing reports.
![](../__attachments/1171652643/image03.png?inst-v=e8f17e59-147b-42e3-bab0-2952c3065498)
5. Log in to your Cloudaware account. Go to Admin.
![](../__attachments/1171652643/image04.png?inst-v=e8f17e59-147b-42e3-bab0-2952c3065498)
6. Select Google Project Billing and click +Add.
![](../__attachments/1171652643/image05.png?inst-v=e8f17e59-147b-42e3-bab0-2952c3065498)
7. Select Storage and insert the required details. Click Save.
![](../__attachments/1171652643/image06.png?inst-v=e8f17e59-147b-42e3-bab0-2952c3065498)
8. The green light in 'Status' means that the Google billing integration has been added successfully. If there is a red light, please contact support@cloudaware.com.
![](../__attachments/1171652643/image07.png?inst-v=e8f17e59-147b-42e3-bab0-2952c3065498)
Cost on instance level
Google Cloud Platform does not provide the cost data split by instance out of the box. In order for Cloudaware to display the cost on an instance level, every GCE instance in your environment needs to have a tag (e.g. instance-name: actual-name-of-this-instance) applied.