了解未使用的预留成本 - Amazon 成本和使用情况报告
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

了解未使用的预留成本

您可以使用Amazon成本和使用情况报告 (AmazonCUR) 来了解未使用的 RI 成本。以下四个场景介绍了操作方法。

注意

在下表中,为清楚起见,对Amazon CUR 和 DBR/DBR-RT 中的列和行进行了转置。第一列中的值代表报告的标题。

场景 1:RI 使用率为 100%

RI 费用行项目有 $0 未使用成本和 0 个用量小时。

使用 DBR/DBR-RT,您可以通过参考字段和 RI 费用行项目来了解未使用 UnblendedCosts 的 RI 使用情况 UsageQuantity 和成本。RI Fee 单列项目可以通过 ItemDescription 字段中存在 “购买工时” 信息来识别。表 1 说明用来管理 DBR 和 DBR-RT 报告中的未使用 RI 成本的列和信息。

表 1 — 2019 年 6 月 17 日之前在 DBR 和 DBR-RT 中使用 100% 的 RI 的未使用 RI 成本

ProductName

Amazon Elastic Compute Cloud

Amazon Elastic Compute Cloud

UsageType HeavyUsage:c3.8xlarge HeavyUsage:c3.8xlarge
操作 RunInstances RunInstances
可用区 us-east-1a us-east-1a
预留实例
ItemDescription USD 0.10 hourly fee per Linux/UNIX (Amazon VPC), c3:8xlarge (744 hours purchased, 744 hours used) USD 0.10 hourly fee per Linux/UNIX (Amazon VPC), c3:8xlarge
使用量 0 744
未混合费率 0.1 0.1
未混合成本 0 74.4

使用Amazon CUR,您可以通过参考 RI 费用项的 “预留/” 和 “预约/ UnusedQuantity” 字段来了解未使用 UnusedRecurringFee的 RI 使用情况和成本。下表 4 说明了当前用于管理Amazon CUR 中未使用的 RI 成本的列和信息。

表 2 — 在Amazon CUR 中 100% 使用 RI 时的未使用 RI 成本

行商品/产品代码

Amazon EC2

Amazon EC2

UsageType HeavyUsage:c3.8xlarge USW2-BoxUsage:c3.8xlarge
行号/LineItemType RI Fee DiscountedUsage
行号/LineItemDescription USD 0.10 hourly fee per Linux/UNIX (Amazon VPC), c3:8xlarge USD 0.00 hourly fee per Linux/UNIX (Amazon VPC), c3:8xlarge
行号/UsageAmount 744 744
行号/NormalizedUsageAmount 47,616 47,616
行号/UnblendedRate 0.1 0
行号/UnblendedCost 74.4 0
预订/UnusedQuantity 0
预订/UnusedRecurringFee 0
预订/UnusedAmortizedUpfrontFeeForBillingPeriod 0
预订/RecurringFeeForUsage 74.4
预订/AmortizedUpfrontCostForUsage 5
预订/EffectiveCost 79.4

除了与 DBR/DBR-RT 支持的当前功能相匹配外,AmazonCUR 还具有以下优点:

  • 使用Amazon CUR,您可以访问 EffectiveCost 有关该单项 DiscountedUsage 的信息,其中包括经常性费用和预付费用。DBR 只包括定期费用。

  • 在Amazon CUR 中,不会转换订单项的 UsageType 字段, DiscountedUsage而 DBR 将该信息替换为 RI Fee 行项目信息。这是因为用户可以按 ReservReservationARNAmazon CUR 中的订单项目进行分组,以了解哪个 RI 打折了多少使用量。

  • 在Amazon CUR 中,不会转换 RI 费用行项目的 LineItemDescription 字段。DBR 追加购买的小时和使用的小时数。

方案 2:部分 RI 使用率

RI 费用行项目有未使用成本和用量。

使用 DBR/DBR-RT,您可以通过参考字段和 RI 费用行项目来了解未使用 UnblendedCosts 的 RI 使用情况 UsageQuantity 和成本。表 3 说明用来管理 DBR 和 DBR-RT 报告中的未使用 RI 成本的列和信息。

表 3 — 2019 年 6 月 17 日之前在 DBR 和 DBR-RT 中使用部分 RI 的未使用 RI 成本

ProductName

Amazon Elastic Compute Cloud

Amazon Elastic Compute Cloud

UsageType HeavyUsage:c3.8xlarge HeavyUsage:c3.8xlarge
操作 RunInstances RunInstances
可用区 us-east-1a us-east-1a
预留实例
ItemDescription USD 0.10 hourly fee per Linux/UNIX (Amazon VPC), c3:8xlarge (744 hours purchased, 644 hours used) USD 0.10 hourly fee per Linux/UNIX (Amazon VPC), c3:8xlarge
使用量 100 644
未混合费率 0.1 0.1
未混合成本 10 64.4

使用Amazon CUR,您可以通过参考 RI 费用项的 “预留/” 和 “预约/ UnusedQuantity” 字段来了解未使用 UnusedRecurringFee的 RI 使用情况和成本。表 4 说明了用于管理Amazon CUR 中未使用的 RI 成本的当前列和信息。

表 4 — 在Amazon CUR 中使用部分 RI 的未使用 RI 成本

行商品/产品代码

Amazon EC2

Amazon EC2

UsageType HeavyUsage:c3.8xlarge USW2-BoxUsage:c3.8xlarge
行号/LineItemType RI Fee DiscountedUsage
行号/LineItemDescription USD 0.10 hourly fee per Linux/UNIX (Amazon VPC), c3:8xlarge USD 0.00 hourly fee per Linux/UNIX (Amazon VPC), c3:8xlarge
行号/UsageAmount 744 644
行号/NormalizedUsageAmount 47,616 47,216
行号/UnblendedRate 0.1 0
行号/UnblendedCost 74.4 0
预订/UnusedQuantity 100
预订/UnusedRecurringFee 0
预订/UnusedAmortizedUpfrontFeeForBillingPeriod 10
预订/RecurringFeeForUsage 64.4
预订/AmortizedUpfrontCostForUsage 5
预订/EffectiveCost 69.4

除了与 DBR/DBR-RT 支持的当前功能相匹配外,AmazonCUR 还具有以下优点:

  • AmazonCUR 有一个单独 UnusedQuantity 的列表示 RI 费用行项目的 UR/DBR-RT 将重载具有未使用小时数的 UsageQuantity 列

场景 3:容量预留

当 RI 涵盖时,DBR/DBR-RT 会筛选掉与容量预留相关的行项目 UnusedBox 和 UnusedDed 使用类型行项目,因为 RI 费用行项目已经涵盖了 UsageQuantity 和 UnblendedCost 字段中的未使用金额。表 5 说明用来管理 DBR 和 DBR-RT 报告中的未使用 RI 成本的列和信息。

表 5 – DBR 和 DBR-RT 中与容量预留场景相对应的未使用 RI 成本(在 2019 年 6 月 17 日之前)

ProductName

Amazon Elastic Compute Cloud

Amazon Elastic Compute Cloud

UsageType HeavyUsage:c3.8xlarge HeavyUsage:c3.8xlarge
操作 RunInstances RunInstances
可用区 us-east-1a us-east-1a
预留实例
ItemDescription USD 0.10 hourly fee per Linux/UNIX (Amazon VPC), c3:8xlarge (744 hours purchased, 734 hours used) USD 0.10 hourly fee per Linux/UNIX (Amazon VPC), c3:8xlarge
使用量 10 734
未混合费率 0.1 0.1
未混合成本 1 73.4

AmazonCUR 将这些行项目显示为 DiscountedUsage。表 6 说明了当前用于管理Amazon CUR 中未使用的 RI 成本的列和信息。

表 6 —Amazon CUR 中容量预留方案的未使用 RI 成本

行商品/产品代码

Amazon EC2

Amazon EC2

Amazon EC2
UsageType HeavyUsage: c3.8xlarge USW2-Reservation: c3.8xlarge USW2-BoxUsage: c3.8xlarge
行号/LineItemType RI Fee Usage DiscountedUsage
行号/LineItemDescription USD 0.10 hourly fee per Linux/UNIX (Amazon VPC), c3:8xlarge USD 0.00 per Reservation Linux/UNIX (Amazon VPC), c3:8xlarge Instance Hour USD 0.00 hourly fee per Linux/UNIX (Amazon VPC), c3:8xlarge
行号/UsageAmount 744 744 744
行号/NormalizedUsageAmount 47,616 47,216
行号/UnblendedRate 0.1 0 0
行号/UnblendedCost 74.4 0 0
预订/RecurringFeeForUsage 64.4
预订/AmortizedUpfrontCostForUsage 5
预订/EffectiveCost 69.4

场景 4:大小灵活的预留

使用 DBR/DBR-RT,您可以通过参考字段和 RI 费用行项目来了解未使用 UnblendedCosts 的 RI 使用情况 UsageQuantity 和成本。RI Fee 单列项目可以通过 ItemDescription 字段中存在 “购买工时” 信息来识别。表 9 说明用来管理 DBR 和 DBR-RT 报告中的未使用 RI 成本的列和信息。

表 7 — 2019 年 6 月 17 日之前 DBR 和 DBR-RT 中 size flex RI 场景中未使用的 RI 成本

ProductName

Amazon Elastic Compute Cloud

Amazon Elastic Compute Cloud

UsageType HeavyUsage:c3.8xlarge HeavyUsage:c3.8xlarge
操作 RunInstances RunInstances
可用区 us-east-1a us-east-1a
预留实例
ItemDescription USD 0.10 hourly fee per Linux/UNIX (Amazon VPC), c3:8xlarge (744 hours purchased, 644 hours used) USD 0.10 hourly fee per Linux/UNIX (Amazon VPC), c3:8xlarge; UsageType: BoxUsage:c3.large
使用量 100 644
未混合费率 0.1 0.1
未混合成本 10 64.4

使用Amazon CUR,您可以通过参考 RI 费用项的 “预留/” 和 “预约/ UnusedQuantity” 字段来了解未使用 UnusedRecurringFee的 RI 使用情况和成本。表 8 说明了用于管理Amazon CUR 中未使用的 RI 成本的当前列和信息。

表 8 —Amazon CUR 中大小灵活的 RI 场景中未使用的 RI 成本

行商品/产品代码

Amazon EC2

Amazon EC2

UsageType HeavyUsage:c3.8xlarge USW2-BoxUsage:c3.8xlarge
行号/LineItemType RI Fee DiscountedUsage
行号/LineItemDescription USD 0.10 hourly fee per Linux/UNIX (Amazon VPC), c3:8xlarge USD 0.00 hourly fee per Linux/UNIX (Amazon VPC), c3:8large
行号/UsageAmount 744 644
行号/NormalizedUsageAmount 47,616 2,576
行号/UnblendedRate 0.1 0
行号/UnblendedCost 74.4 0
预订/UnusedQuantity 100
预订/UnusedRecurringFee 70.37
预订/UnusedAmortizedUpfrontFeeForBillingPeriod 5.5
预订/RecurringFeeForUsage 4.03
预订/AmortizedUpfrontCostForUsage 0.5
预订/EffectiveCost 4.53

除了与 DBR/DBR-RT 支持的当前功能相匹配外,AmazonCUR 还具有以下优点:

  • AmazonCUR 的数量为 NormalizedUsageAmount 和。而 DBR / DBR-RT 没有表示此数量的列。

  • Amazon DiscountedUsage行项目的 CUR UsageType 和操作未进行转换。DBR / DBR-RT 将这些值替换为 RI 费用行项目。

  • Amazon未转换 LineItemDescription 该 DiscountedUsage 行项目的 CUR。在 DBR/DBR-RT 中,它替换为 RI Fee 行项目描述并将 DiscountedUsage 行项目使用类型附加到字符串末尾,即 “每个 Linux/UNIX (亚马逊 VPC) 每小时费用 0.10 美元,c 3:8 xlarge; UsageType: c3.large BoxUsage”