New Relic infrastructure integrations include an integration for reporting your AWS Billing data to New Relic. This document explains how to activate this integration and describes the data that can be reported.
Features
New Relic's AWS Billing integration collects financial data for all your applications and AWS accounts, and then groups it to make it easier for teams to gain cost visibility. This integration collects data from different sub-accounts and services, and also evaluates your AWS budgets in terms of actual spend and forecasted spend.
This financial data is split into the following dashboards:
- Billing (Costs) dashboard
- Billing (Budgets) dashboard
Requirements
Before you enable AWS budgets, you must:
- Set up an AWS budget through AWS Console for New Relic to collect AWS Billing data.
- Enable the Receive Billing Alerts checkbox in AWS console > Billing and cost management > Billing preferences. This is necessary for Amazon to report usage fees via CloudWatch. You are not required to actually receive alerts from AWS.
중요
You only need to enable the Receive Billing Alerts checkbox to access the Billing (Costs) dashboard.
Activate integration
To enable this integration follow standard procedures to Connect AWS services to New Relic.
Enable AWS budgets
Enabling AWS budgets allows New Relic to capture service consumptions as well as usage and costs information for the budgets you configured in AWS.
팁
If you have not created a role in AWS, follow the procedure to connect AWS to New Relic before configuring a budget policy.
From the AWS Management Console, select Services > IAM > Roles.
Select the role you have configured for New Relic, then select Permissions.
From the selected role's Inline policy tab, select the expand icon if one already exists, or select the option to add a new inline policy to the role.
Select the option to add a custom policy.
Enter a new custom policy name; for example, NewRelicBudget.
Enter the following permission statement in the Policy Document:
{"Version": "2012-10-17","Statement": [{"Effect": "Allow","Action": ["budgets:ViewBudget"],"Resource": "*"}]}Save your changes.
팁
If you're configuring New Relic to fetch AWS budgets data from an AWS member account, make sure that the account owner has activated IAM user access to the Billing and Cost Management console.
Find and use data
To find your integration data in the infrastructure UI, go to one.newrelic.com > All capabilities > Infrastructure > AWS and select one of the AWS Billing integration links.
For general information about how to find and use integration data, see Understand integration data.
Data is attached to the FinanceSample
event type. That event type can have four different provider
values, depending on the type of billing data:
- Budgets
- AWS service expenses
- Aggregated account and sub-account expenses
- Unaggregated account/sub-account data, and unaggregated AWS service expenses
Details for these types of billing data and how to query them are below:
Configuration and polling
You can change the polling frequency and filter data using configuration options.
Default polling information for the AWS Billing integration:
- New Relic polling interval: 1 hour
- Amazon CloudWatch data interval: 4 hours
Metric data
The New Relic infrastructure AWS Billing integration collects the following metric data:
Data | Description |
---|---|
AWS Billing metrics |
|
AWS Budgets metrics |
|
Other system data
The AWS Billing integration also collects the following attributes:
Attributes | Description |
---|---|
AWS Billing attributes |
|
AWS Budgets attributes |
|