- 新しい順
- 投票が多い順
- コメントが多い順
Hello, Santosh Sahoo.
It looks like you are trying to understand how to calculate the net cost payable in your AWS Cost and Usage Report (CUR) by matching it with the invoice. Here's a breakdown of how to calculate each of the line item types you mentioned:
DiscountedUsage: To calculate the net cost payable for DiscountedUsage, you can use the reservation_effective_cost. This value represents the cost of AWS resources that are covered by Reserved Instances (RIs) or Savings Plans (SPs). It accounts for the discount provided by these commitments.
SavingsPlanCoveredUsage: For SavingsPlanCoveredUsage, you can use the savings_plan_savings_plan_effective_cost field. This field represents the cost of AWS resources covered by Savings Plans, considering the Savings Plans' effective discount. This is similar to DiscountedUsage but specific to Savings Plans.
SavingsPlanNegation: SavingsPlanNegation typically represents negative numbers and can be considered as zero cost because it represents situations where AWS provides you with credits or adjustments. In your calculation, you can treat this as 0 cost.
SavingsPlanRecurringFee: SavingsPlanRecurringFee represents the recurring fee charged for your Savings Plans. You can use the line_item_blended_cost for this, as you mentioned, because it is a straightforward cost.
RIFee: To calculate the net cost payable for RIFee (Reserved Instance fee), you can use the line_item_blended_cost. This field represents the cost of your Reserved Instances.
Usage: For Usage costs, you can also use the line_item_blended_cost. This field represents the cost of using AWS resources on a pay-as-you-go basis.
Tax: Tax line items typically represent additional taxes applied to your AWS charges. You can use the line_item_blended_cost to calculate the net cost payable for taxes.
Additionally, it's a good practice to reconcile your CUR with your AWS Billing and Cost Management dashboard.
Best regards, Andrii
To match what you see on the invoices, you ONLY should use line_item_unblended_cost
. The "RI effective cost" or the "SP effective cost" does not get reflected on the invoice. Those charges are useful if you are trying to amortize the upfront cost of your RI or SP across the whole term considering how the discount applies to your usage throught the term of the commitment.
With the No Upfront RI or SP, you would not have any upfront charges. With All Upfront or Partial Upfront payment option, those upfront charges would get generated in a separate subscription invoice. To find your recurring monthly fee for RIs or SPs in CUR you would normally search for the column line_item_line_item_type
and the values would be like 'RIFee' or 'SavingsPlanUpfrontFee'
So, effectively, if you wanted to match the cost of your invoices with the SUM of cost you see in CUR, for this purpose you should only use the line_item_unblended_cost
column. Because invoices will display the unblended cost.
Thanks Nataliya. Appreciate your response. :)
関連するコンテンツ
- AWS公式更新しました 2年前
- AWS公式更新しました 2年前
- AWS公式更新しました 2年前
To match CUR with monthly invoices, one should only use the SUM in the line_item_unblended_cost column, because invoices only show unblended cost (the cost the customer would pay on a monthly basis, instead of the amortized cost of the RIs/SPs that's spread across the whole term of the commitment)
Nice explanation, Andrii. However, I found that 'DiscountedUsage' only represents the cost of AWS resources covered by RIs (the cost covered by SPs is not included in this value) in AWS Data Exports User Guide (https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html)