了解未使用的预留成本 - AWS Data Exports

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

了解未使用的预留成本

您可以使用 AWS 成本和使用情况报告 (AWS CUR) 来了解未使用的 RI 成本。以下 4 个场景说明了具体方法。

注意

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

场景 1:RI 使用率为 100%

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

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

表 1 - DBR 和 DBR-RT 中的 100% RI 使用量的未使用 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
预留实例 Y Y
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
Usage Quantity 0 744
Unblended Rate 0.1 0.1
Unblended Cost 0 74.4

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

表 2 - AWS CUR 中的 100% RI 使用量的未使用 RI 成本

lineitem/Productcode

Amazon EC2

Amazon EC2

UsageType HeavyUsage:c3.8xlarge USW2-BoxUsage:c3.8xlarge
lineitem/ LineItemType RI Fee DiscountedUsage
lineitem/ 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
lineitem/ UsageAmount 744 744
lineitem/ NormalizedUsageAmount 47,616 47,616
lineitem/ UnblendedRate 0.1 0
lineitem/ UnblendedCost 74.4 0
预订/ UnusedQuantity 0
预订/ UnusedRecurringFee 0
预订/ UnusedAmortizedUpfrontFeeForBillingPeriod 0
预订/ RecurringFeeForUsage 74.4
预订/ AmortizedUpfrontCostForUsage 5
预订/ EffectiveCost 79.4

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

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

  • 在 AWS CUR 中,不会转换订单项的 UsageType 字段, DiscountedUsage而 DBR 用 RI 费用行项目信息替换信息。这是因为用户可以按 ReservationArn 对 AWS CUR 中的订单项目进行分组,以了解哪个 RI 对哪些使用量进行了折扣。

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

方案 2:部分 RI 使用率

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

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

表 3 - DBR 和 DBR-RT 中的部分 RI 使用量的未使用 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
预留实例 Y Y
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
Usage Quantity 100 644
Unblended Rate 0.1 0.1
Unblended Cost 10 64.4

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

表 4 - AWS CUR 中的部分 RI 使用量的未使用 RI 成本

lineitem/Productcode

Amazon EC2

Amazon EC2

UsageType HeavyUsage:c3.8xlarge USW2-BoxUsage:c3.8xlarge
lineitem/ LineItemType RI Fee DiscountedUsage
lineitem/ 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
lineitem/ UsageAmount 744 644
lineitem/ NormalizedUsageAmount 47,616 47,216
lineitem/ UnblendedRate 0.1 0
lineitem/ UnblendedCost 74.4 0
预订/ UnusedQuantity 100
预订/ UnusedRecurringFee 0
预订/ UnusedAmortizedUpfrontFeeForBillingPeriod 10
预订/ RecurringFeeForUsage 64.4
预订/ AmortizedUpfrontCostForUsage 5
预订/ EffectiveCost 69.4

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

  • AWS CUR 有一个单独的列来表示 UnusedQuantity RI 费用行项目,而 DBR/DBR-RT 则使用未使用的小时数使该列过载 UsageQuantity

场景 3:容量预留

DBR/DBR-RT 会筛选出与 RI 覆盖的容量预留相关的行项目 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
预留实例 Y Y
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
Usage Quantity 10 734
Unblended Rate 0.1 0.1
Unblended Cost 1 73.4

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

表 6 — AWS CUR 中容量预留场景的未使用 RI 成本

lineitem/Productcode

Amazon EC2

Amazon EC2

Amazon EC2
UsageType HeavyUsage: c3.8xlarge USW2-Reservation: c3.8xlarge USW2-BoxUsage: c3.8xlarge
lineitem/ LineItemType RI Fee Usage DiscountedUsage
lineitem/ 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
lineitem/ UsageAmount 744 744 744
lineitem/ NormalizedUsageAmount 47,616 47,216
lineitem/ UnblendedRate 0.1 0 0
lineitem/ UnblendedCost 74.4 0 0
预订/ RecurringFeeForUsage 64.4
预订/ AmortizedUpfrontCostForUsage 5
预订/ EffectiveCost 69.4

场景 4:大小灵活的预留

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

表 7 - DBR 和 DBR-RT 中的大小灵活 RI 场景的未使用 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
预留实例 Y Y
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
Usage Quantity 100 644
Unblended Rate 0.1 0.1
Unblended Cost 10 64.4

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

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

lineitem/Productcode

Amazon EC2

Amazon EC2

UsageType HeavyUsage:c3.8xlarge USW2-BoxUsage:c3.8xlarge
lineitem/ LineItemType RI Fee DiscountedUsage
lineitem/ 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
lineitem/ UsageAmount 744 644
lineitem/ NormalizedUsageAmount 47,616 2,576
lineitem/ UnblendedRate 0.1 0
lineitem/ UnblendedCost 74.4 0
预订/ UnusedQuantity 100
预订/ UnusedRecurringFee 70.37
预订/ UnusedAmortizedUpfrontFeeForBillingPeriod 5.5
预订/ RecurringFeeForUsage 4.03
预订/ AmortizedUpfrontCostForUsage 0.5
预订/ EffectiveCost 4.53

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

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

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

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