How to estimate the number of Cost Explorer UsageRecords ?

0

Hello,

I wonder how to estimate the number of Cost Explorer UsageRecords for our account. All AWS blog posts are talking only about EC2 instances, e.g.:

A UsageRecords is defined as one-line of usage. For example, one EC2 instance running for 24 hours will generate 24 distinct usage records at the hourly granularity.

(https://aws.amazon.com/about-aws/whats-new/2019/11/aws-cost-explorer-supports-hourly-resource-level-granularity/#:~:text=By%20enabling%20hourly%20granularity%20you,the%20specific%20resource%20incurring%20costs.)

But what about Batch jobs, ECS clusters and all other services ? I guess they also generate their own UsageRecords. I would like to estimate the overall number of generated UsageRecords to estimate additional Cost Explorer spending after opting for Hourly and Resource Level Granularity.

已提問 2 年前檢視次數 306 次
1 個回答
0

As you mentioned above Reference document - https://aws.amazon.com/aws-cost-management/aws-cost-explorer/pricing/

"AWS Cost Explorer Hourly and Resource Granularity - The Cost Explorer Hourly and Resource level granularity allows you to access cost and usage data at hourly granularity for the past 14 days and resource level granularity. The resource level granularity is available for EC2 instances only. The cost is $0.01 per 1,000 UsageRecords month. UsageRecords are defined as one line of usage. For example, one EC2 instance running for 24 hours will generate 24 distinct usage records at the hourly granularity.

Cost dependent on the number of usage records any service generated at hourly level. The above description explains how it works for EC2 instances. Its same for all the other services.

what you could do is to look at the hourly level CUR report and check for number of usage records generated in the past by the account for each service per day based on that you can arrive at any estimate for 14 days. Because the data will be shown at hourly granularity only for 14 days. This would still be an estimate and that can change based on the usage in the account.

usage records = the line items in the CUR

estimated cost = line items in hourly CUR at the end of the month * 14/30* 0.01/1000 "

profile pictureAWS
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南