AWS CostExplorer

Supported version: Cloud

Pre-requisites:

  1. Python Script Integration Service deployed on the Gathr Analytics.

  2. Below libraries available on the Gathr Analytics: a. jsonpath_ng b. boto3

    Please note that to install these packages, the user is required to perform one time activity on the Gathr Analytics Machine and below commands are required to execute on the python terminal:

    a. “pip install jsonpath-ng” to install jsonpath_ng package. b. “pip install boto3” to install boto3 package.

  3. All the required roles and permissions for the AWS CostExplorer.

  4. Client Id and Client Secret for the AWS CostExplorer.

IMPORTANT: Please make sure your AWS CostExplorer instance must be accessible from the Gathr Analytics Machine.

Note:

The following 3 API’s must be enabled on the policy defined for your IAM user at AWS CostExplorer:

  1. ce:GetDimensionValues

  2. ce:GetCostAndUsage

  3. ce:GetTags

Operation Details:

Below are the list of all the python scripts operation for the AWS CostExplorer:

S.NoOperation NameDescription
1All TagsGet list of all the Tags in AWS CostExplorer.
2Get Tags ValuesGet the values of a Tag in AWS CostExplorer.
3Get Cost and Usage DetailsGet the details regarding Cost and Usage in AWS CostExplorer.
4All Dimension ValuesGet all the values of a Dimension in AWS CostExplorer.

Steps to use AWS CostExplorer on the Gathr Analytics:

The user needs to follow the below steps:

  1. The user needs to upload the CostExplorer App on the Gathr Analytics and in return it will auto-register all the python scripts on the Gathr Analytics.
  2. The user needs to right click on the floor and needs to go to the Scripts->Operations-> AWS CostExplorer.
  3. It will expose all the scripts operations here and the user can run any operation of his/her choice.
Top