Amazon Web Services - AWS Cost and Usage Extractor
Before you begin
Before you configure this ETL, the owner of the consolidated AWS Billing account must complete the following prerequisites:
Set up an S3 bucket to store daily billing reports from AWS. For more information about setting up the S3 bucket, see Creating a bucket.
- Configure an AWS IAM Account with specific privileges to access billing reports from the S3 bucket. For more information, Configuring-an-AWS-IAM-account-with-privileges-to-access-S3
Schedule the AWS Cost and Usage report to be generated daily. Ensure that you configure the usage report to include business service tag information for the billed items.
For more information, see Turn on daily reportsEnsure that you configure the Amazon Web Services - AWS API Extractor to collect tagging related data. The ETL module then creates a hierarchy of business service entities and related resources.
The Amazon Web Services - AWS Cost and Usage Extractor can organize the cost and usage data that it collects, and present it per business service to the TrueSight Cloud Cost Control. To learn more about the collection of business service data by ETLs, see Collecting-business-service-data.
Integration steps
To integrate TrueSight Capacity Optimization with the extractor, perform the following task:
- In the TrueSight Capacity Optimization console, navigate to Administration > ETL & SYSTEM TASKS > ETL tasks.
- In the ETL tasks page, under the Last run tab, click Add > Add ETL.
The Add ETL page is displayed. In the Run configuration tab, for the ETL module property, select Amazon Web Services - AWS Cost and Usage Extractor.
Specify values for the properties under each expandable tab. For details about the common properties, see ETL-common-configuration-properties.- In the Entity catalog tab, ensure that you select the same entity catalog that is used by the Amazon-Web-Services-AWS-API-Extractor ETL module.
In the Amazon Web Services Connection tab, specify values for the following properties:
The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.
- Click Save.
You return to the Last run tab under the ETL tasks page. - In simulation mode, validate the results: In the ETL tasks table under ETL tasks > Last run, locate your ETL (ETL task name), click Run
to run the ETL.
After you run the ETL, the Last exit column in the ETL tasks table will display one of the following values:- OK: The ETL executed without any error in simulation mode.
- WARNING: The ETL execution returned some warnings in simulation mode. Check the ETL log.
- ERROR: The ETL execution returned errors and was unsuccessful. Edit the active Run configuration and try again.
- After you verify that the ETL is running correctly, switch the ETL to production mode:
- In the ETL tasks table under ETL tasks > Last run, click the ETL name under the Name column.
- In the Run configurations table in the ETL details page, click Edit
to edit the active run configuration.
- In the Edit run configuration page, navigate to the Run configuration expandable tab and set Execute in simulation mode to No.
- Click Save.
- Locate the ETL in the ETL tasks table and either schedule an ETL run or click Run
to run it now.
After you run the ETL, or schedule the ETL for a run, it will extract the data from the source and transfer it to the TrueSight Capacity Optimization database.