Amazon Web Services - AWS API Extractor
Prerequisites
If you want to configure an ETL to retrieve data from multiple AWS accounts, click the Multiple AWS accounts tab. Else, complete the prerequisite steps under the Single AWS account tab.
Single account
Multiple accounts
Click a box in the workflow diagram to view the corresponding step details.
Basic requirements
- Generate an external ID that you need to use when you configure the additional AWS accounts. The external ID is an alphanumeric string. Use any alphanumeric string or use a tool such as the GUID UNIX tool to generate it.
To organize your resources by business services, ensure that you tag your resources by using a business service tag key name such as Service. You need to specify this business service tag key name during ETL configuration.
For more information, see Collecting-business-service-data.
Configure the main AWS account
Configure the additional AWS account
You must repeat these steps for every additional AWS account.
To configure and run the ETL
- 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 API 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 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 on this message for details.
- Click Save.
You return to the Last run tab under the ETL tasks page. - Run the ETL in the simulation mode, and validate the results:
- In the ETL tasks table under ETL tasks > Last run, locate your ETL (ETL task name), and click Run
.
The Last exit column in the ETL tasks table displays 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.
- Check the log or edit the ETL configuration if the ETL did not run as expected or failed.
- In the ETL tasks table under ETL tasks > Last run, locate your ETL (ETL task name), and click Run
- After you verify that the ETL is running correctly, complete these steps to run the ETL in the 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.
- On 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 the ETL run or click Run
to run it now.
When the ETL is run, it extracts data from the source and transfer it to the TrueSight Capacity Optimization database.