Cloud Cost Management
Cloud Cost Management is in private beta and supports only AWS at this time. To request access, use this form.
Cloud Cost Management provides insights for engineering and finance teams to see how changes to infrastructure can affect costs. It enables you to understand trends, allocate spend across your organization, and identify inefficiencies.
Datadog ingests your cloud cost data and transforms it into queryable metrics. If costs rise, you can correlate the change with usage metrics to determine the root cause.
To use Cloud Cost Management, you must have an AWS account with access to Cost Usage Reports (CURs), and have the AWS integration installed in Datadog.
Note: Data can take up to 48 to 72 hours after setup to stabilize in Datadog.
Generate the CUR
Follow AWS instructions for Creating Cost and Usage Reports, and select the following Content options:
- Include resource IDs
- Automatically refresh your Cost & Usage report
Select the following Delivery options:
- Time granularity: Hourly
- (Optional) Report versioning: Create new report version. Creating a new report for each run allows for some redundancy if errors occur during CUR creation, but it is not required by Datadog. If you do not want updated reports, select the other option.
- Compression type: GZIP
Configure access to the CUR
Configure AWS to ensure Datadog has permissions to access the CUR and the s3 bucket it is stored in by creating a policy using the following JSON:
Tip: Keep the name you created for this policy handy for next steps.
Attach the policy to the Datadog integration role
Attach the new S3 policy to the Datadog integration role.
- Navigate to Roles in the AWS IAM console.
- Locate the role used by the Datadog integration. By default it is named DatadogIntegrationRole, but the name may vary if your organization has renamed it. Click the role name to open the role summary page.
- Click Attach policies.
- Enter the name of the S3 bucket policy created above.
- Click Attach policy.
You can visualize your ingested data using the following cost types:
|Cost based on applied discount rates plus the distribution of pre-payments across usage for the discount term (accrual basis).|
|Cost shown as the amount charged at the time of usage (cash basis).|
|Cost based on the average rate paid for a usage type across an organization’s member accounts.|
|Cost based on the list rate provided by AWS.|
Datadog adds tags to the ingested cost data to help you further break down and understand your costs.
The added tags correlate the cost data with observability data that your systems provide to Datadog, data from resources configured with AWS Resource tags, and the Cost and Usage Report (CUR).
The following tags are also available for filtering and grouping data:
|The cloud service being billed.|
|The category for the cloud service being billed (for example, Compute or Storage)|
|The usage details of this item.|
|The type of charge covered by this item (for example, Usage, or Tax)|
|Whether the usage is Reserved, Spot, or On Demand.|
|The ID of the account that used this item.|
|The ID of the account paying for this usage.|
Cloud costs in dashboards
Visualizing infrastructure spend alongside related utilization metrics can help you spot potential inefficiencies and savings opportunities. You can add cloud costs to widgets in Datadog dashboards by selecting the Cloud Cost data source.