Chat now with support
Chat with Support

Foglight Hybrid Cloud Manager 1.6 - User Guide (for AWS environments)

API used to collect Cost metrics

Foglight Hybrid Cloud Manager for AWS uses the AWS Cost and Usage Report to tracks your AWS usage and provides the estimated charges associated with your AWS account. AWS delivers the AWS Cost & Usage Report (in CSV format) for the Amazon Simple Storage Service (S3) bucket you specified, and updates the reports at least once a day. AWS Agent retrieves the reports programmatically using the Amazon S3 APIs.

If you use the consolidated billing feature in AWS Organizations, this report is available only to the master account and includes activity for all the member accounts that are associated with the master account.

Please refer to the AWS Cost and Usage Report for more details.

Click Support on the navigation bar on the upper-right.
Choose Support Center. Your currently signed-in account number (ID) appears in the Support Center title bar.
Choose Create report.
Report name: enter the name of report.
Additional report details: select Include resource IDs.
S3 bucket: Enter the name of the Amazon S3 bucket where you want the reports to be delivered and then select Verify. The bucket must have appropriate permissions.
Click Sample Policy link and copy and paste the text in this sample policy into the permissions associated with your Amazon S3 bucket.
Open a new Page to access your S3 bucket, click Permissions and then Bucket policy. Paste the text in this sample policy into the permissions associated with your Amazon S3 bucket.
Report path prefix - Optional: Enter the report path prefix that you want to name of your report.
Report versioning: Choose Overwrite existing report.
Compression type: Choose GZIP or ZIP
Click Next, after you have reviewed the settings for your report, choose Review and Complete.

AWS monitoring setup

A complete setup includes the following two steps:

Getting authentication information through console

Log in to the AWS IAM console at:
Click IAM under the Security, Identity & Compliance column.
The Resource Groups view opens on the right.
In the Resource Groups view, click the user which Access Key is to be retrieved.
The User Summary view opens.
In the User Summary view, click Security credentials, then the Sign-in credentials view opens.
In the Access keys area, click Create access key.
The Create access key dialog box appears and shows the access key and Secret access key.
Click Download .csv file to keep the access key and secret access key somewhere safe.
(Optional) If you see the Limit exceed message, click the button next to the Status column to delete an access key that is not being used. Then repeat Step 6 to create and retrieve a new access key.

Creating an AWS Agent

On the navigation panel, under Homes, click Cloud Manager.
The Cloud Manager dashboard opens.
In the Cloud Manager dashboard, click Administration, and then click Add or Create AWS Agent.
The Agent Setup Wizard dialog box opens.
In the Select Agent Host view, select the agent manager on which the new agent is to be deployed, and then click Next.
In the AWS Credential view, specify the following values, as needed, then click Finish.
Account Alias: The display name of this account.
Collect Memory Metric: Select this option to enable the collection of instance memory metrics. The default value is disabled.
Collect Linux Volume Utilization: Select this option to enable the collection of Linux volume utilization. The default value is disabled.
Specify an agent name (Optional): Specify the name of agent.
Configure regions to be monitored (Optional): Select AWS regions for monitoring. All regions will be monitored if this field is not configured.
Configure Account Cost to Monitor: Configure the Cost Metrics collection. Collections will start only after the AWS Cost and Usage Report are created on the AWS Console. See To create an AWS Cost and Usage Report. For more details, see Configure Account Cost to Monitor: .
Configure Proxy (Optional): Configure the proxy setting when the Agent Host requires a proxy connection to the Internet. For more details, see Configure Proxy (Optional): .
Related Documents