• /
  • EnglishEspañol日本語한국어Português
  • EntrarComeçar agora

AWS Billing monitoring integration

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.

Importante

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.

Dica

If you have not created a role in AWS, follow the procedure to connect AWS to New Relic before configuring a budget policy.

  1. From the AWS Management Console, select Services > IAM > Roles.

  2. Select the role you have configured for New Relic, then select Permissions.

  3. 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.

  4. Select the option to add a custom policy.

  5. Enter a new custom policy name; for example, NewRelicBudget.

  6. Enter the following permission statement in the Policy Document:

    {
    "Version": "2012-10-17",
    "Statement": [
    {
    "Effect": "Allow",
    "Action": [
    "budgets:ViewBudget"
    ],
    "Resource": "*"
    }
    ]
    }
  7. Save your changes.

Dica

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:

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

EstimatedCharges: The estimated charges for your AWS usage. This can either be estimated charges for one service or a rollup of estimated charges for all services. The currency is USD.

AWS Budgets metrics

  • actualAmount: The actual cost or usage being tracked by a budget.
  • limitAmount: The total amount of cost or usage that you want to track with a budget as an upper limit.
  • forecastedAmount: The forecasted cost or usage being tracked by a budget.

Other system data

The AWS Billing integration also collects the following attributes:

Attributes

Description

AWS Billing attributes

  • Service Name: The name of the AWS service. This dimension is omitted for the total of estimated charges across all services.
  • Linked Account: The linked account number.

AWS Budgets attributes

  • budgetName: The name of a budget. Unique within accounts
  • budgetType: Whether the budget tracks monetary cost or usage
Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.