Amazon Web Services connector
Use the Amazon Web Services cloud connector to collect the resource utilization data of the services that are provisioned in the Amazon Web Services (AWS) cloud. You can use this connector to:
- Collect the cost data of all the services
- Collect the cost and usage data of your virtual machines (EC2 instances)
BMC Helix Cloud Costuses these data points to provide cost insights and forecasting estimations to optimize your cloud costs by providing recommendations.
The connector supports data collection for the following AWS subscription types:
- AWS default
- AWS GovCloud (US)
The following video (8:24) provides information about configuring the Amazon Web Services connector in BMC Helix Cloud Cost.
Collecting data by using the AWS cloud connector
To collect data by using the AWS cloud connector, do the following tasks:
I. Complete the preconfiguration tasks.
III. Verify data collection.
Step I. Complete the preconfiguration tasks
The connector requires the following information to connect to AWS and collect data:
- S3 bucket name
- Name of the daily billing report and its prefix
- Access key and secret key of the IAM account created
To fetch these details, complete the following preconfiguration tasks. If you have multiple AWS accounts, the owner of the master AWS account must perform the preconfiguration tasks.
Step II. Configure the connector
You must configure the connector to connect to Amazon Web Services for collecting the cost and usage data of AWS services.
To configure the connector:
- In the BMC Helix Cloud Cost dashboard, navigate to Connectors > Add a Connector > and select AWS Cloud Connector from the cloud based connectors.
On the Configure Connector page, configure the following properties:
Property
Description
Connector name
A unique name for the connector.
AWS configuration
Specify whether you want to import data from the AWS GovCloud (US) account. The default selection is a standard AWS account.
AWS account access key
- Specify the access key ID of the IAM user that you have created. For example, a typical access key ID looks like: AMAZONACSKEYID007EXAMPLE.
To get the AWS account access key:- Open the IAM console and sign in with your AWS account credentials: https://console.aws.amazon.com/iam/
- Click Users > select your user name.
- Click Security > Credentials tab > Access key section.
- Specify the AWS Account Secret Key for the account to be scanned.
This key plays the role of a password.
- Specify the access key ID of the IAM user that you have created. For example, a typical access key ID looks like: AMAZONACSKEYID007EXAMPLE.
- Collection mode: By default, the data collection cycle is set to On Demand collection. You can select an appropriate unit of time (days, minutes, hours) to schedule the data collection frequency along with event driven collection cycle where the collection is triggered when an event is identified in the selected account.
On the Select Policies page, select the policies that you want to import from the policy library. This option is available only if you are licensed to use BMC Helix Cloud Security. For more information, see Managing policies.
- Click Continue. A confirmation message about the request for data collection processing is displayed.
The Manage Connectors page shows the details of the newly configured AWS Cloud Connector.
Step III. Verify data collection
Verify that the connector ran successfully and check whether the AWS data is refreshed on the Dashboard.
To verify whether the connector ran successfully:
- On the Manage Connectors page, the state of the newly configured connector is updated to Running.
When you run the connector for the first time, the connector recovers data for the past 6 months. The data collection begins immediately but depending on the number of resources in your environment the data is displayed after some time in BMC Helix Cloud Cost. - On the BMC Helix Cloud Cost dashboard, the AWS connector tab is displayed.
- Select the AWS tab from the Dashboard.
- In the Summary tab, verify that the total cost, historical cost, and total resources are displayed. Also, Recommendations are displayed only when you have configured the connector to collect utilization data and you have efficiency issues in your infrastructure. Recommendations are not generated if all the resources are utilized efficiently.
- Resource pool information is not available by default. You must create a resource pool to view the resource pool details like name, resource count, budget, actual cost, and the projected cost. To create a resource pool, click Manage Resource Pools.
- In the Accounts tab, verify that the account details like name, actual cost, change in cost (in US dollars and percent), percent total cost, and number of resources are displayed for the accounts you own.
- In the Services tab, verify that the service details like name, actual cost, change in cost (in US dollars and percent), percent total cost, and number of resources are displayed.
- In the Explore Bill tab, verify that the resource name, actual cost, resource type, region, account name, and the service name are displayed.