Adding a Google Cloud Billing target
The Google Cloud Billing target grants Turbonomic access to billing data from a billing export to BigQuery. Turbonomic uses this data to visualize historical cloud expenses and discover Committed Use Discounts.
Points to consider:
-
The Google Cloud Billing target can retrieve billing data from BigQuery data sets across all applicable regions, both inside and outside the US.
-
You can add multiple billing targets. Data for these targets will be aggregated and shown when you set the scope to your global environment.
Before adding a target, be sure you have the key file for the service account that Turbonomic will use to connect to Google Cloud and discover billing data. If you do not have this key, follow the steps outlined in this topic.
Adding the target
This topic describes features that are available in the new design of the user interface. This new design is enabled by default. If you switched to the legacy design, click in the navigation bar of the user interface and then turn on the toggle to re-enable the new design. For more information, see New Design for the User Interface.
-
Click Settings > Target Configuration.
-
On the Target configuration page, click Add Target.
-
On the Select target page, click Google Cloud Billing.
-
In the side panel, review the connection requirements and then click Connect Target.
-
Configure the following settings:
-
Display name
Specify a name that uniquely identifies this connection.
This name is for display purposes only and does not need to match any name in Google Cloud.
-
Service account details
Upload the service account key (JSON file).
This is the JSON for the key file that you generated in a previous task.
-
GCP Project ID
Specify the ID for the project that stores billing data.
This is the unique ID assigned to the project associated with the billing account. Costs accrued to this project are charged to the billing account you are adding.
-
BigQuery billing export dataset name
Specify the dataset name associated with your BigQuery billing export.
This data set is for billed costs. You can find the data set name in the Google Cloud Billing dashboard under Billing export / BIGQUERY EXPORT.
-
Type of billing data enabled for export
-
Standard usage cost data
-
Detailed usage cost data
When you export Google Cloud billing data from BigQuery, you can choose to export standard or detailed usage cost data. Turbonomic recommends detailed usage cost data because it includes granular information for VMs, which the platform uses to generate accurate VM scaling actions. This information is also reflected in cloud charts (such as the Workload Cost Breakdown chart) when you set the scope to individual VMs. Note that support for standard usage cost data will be discontinued in a future release.
-
-
BigQuery billing cost table name
Specify the cost table name associated with the BigQuery billing export.
The cost table names in your BigQuery dataset are as follows:
-
Standard usage cost data
gcp_billing_export_v1_<Billing_Account_ID>
-
Detailed usage cost data
gcp_billing_export_resource_v1_<Billing_Account_ID>
-
-
Billing account ID
Specify the billing account ID associated with your project. For help finding the ID, see this Google Cloud page.
This field is required if you configure BigQuery Pricing Export Data Set Name and BigQuery Pricing Export Table Name.
-
BigQuery pricing export dataset name
Specify the dataset name associated with your BigQuery pricing export.
You can find the dataset name in the Google Cloud Billing dashboard under Billing export / BIGQUERY EXPORT.
-
BigQuery pricing export table name
Specify the table name associated with your BigQuery pricing export.
In your BigQuery dataset, the pricing export table is named cloud_pricing_export.
-
Proxy configuration
Specify proxy information only if you connect through a proxy.
-
Proxy hostname or IP address
Specify the address of the proxy used for this target.
-
Proxy port
Specify the port to use with the proxy used for this target. By default, the port is 8080.
-
Proxy username
Specify the username to use with the proxy.
-
Proxy password
Specify the password to use with the proxy.
-
Connect using HTTPS
Select this option if Turbonomic will connect to the proxy through HTTPS.
-
-
After adding a Google Cloud billing target
You have completed the required tasks for connecting to Google Cloud. Turbonomic can now monitor your Google Cloud workloads and billing data, and recommend actions to optimize these workloads at the lowest possible cost. Review the following topics for more information: