Chat now 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.

a
Click Support on the navigation bar on the upper-right.
b
Choose Support Center. Your currently signed-in account number (ID) appears in the Support Center title bar.
3
Choose Create report.
a
Report name: enter the name of report.
b
Additional report details: select Include resource IDs.
5
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.
a
Click Sample Policy link and copy and paste the text in this sample policy into the permissions associated with your Amazon S3 bucket.
b
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.
6
Report path prefix - Optional: Enter the report path prefix that you want to name of your report.
8
Report versioning: Choose Overwrite existing report.
10
Compression type: Choose GZIP or ZIP
11
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

1
Log in to the AWS IAM console at: https://console.aws.amazon.com/iam/.
2
Click IAM under the Security, Identity & Compliance column.
The Resource Groups view opens on the right.
4
In the Resource Groups view, click the user which Access Key is to be retrieved.
The User Summary view opens.
5
In the User Summary view, click Security credentials, then the Sign-in credentials view opens.
6
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.
7
Click Download .csv file to keep the access key and secret access key somewhere safe.
8
(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

3
On the navigation panel, under Homes, click Cloud Manager.
The Cloud Manager dashboard opens.
4
In the Cloud Manager dashboard, click Administration, and then click Add or Create AWS Agent.
The Agent Setup Wizard dialog box opens.
5
In the Select Agent Host view, select the agent manager on which the new agent is to be deployed, and then click Next.
6
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): .
相关文档