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

了解未使用的预留成本

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

注意

为了清楚起见,在下表中将 Amazon CUR 和 DBR/DBR-RT 中的列和行互换。第一列中的值表示报告标题。

场景 1:RI 使用率为 100%

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

利用 DBR/DBR-RT,您可以通过参考 RI 费用行项目的字段 UsageQuantity 和 UnblendedCosts 来了解您的未使用 RI 用量和成本。可以通过 ItemDescription 字段中存在的“已购买小时数”信息来确定 RI 费用行项目。表 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
Reserved Instance 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

在使用 Amazon CUR 时,您可以参考 RI Fee 行项目的“reservation/ UnusedQuantity”和“reservation/ UnusedRecurringFee”字段,以了解您的未使用 RI 使用量和成本。下面的表 4 说明了用于管理 Amazon CUR 中的未使用 RI 成本的当前列和信息。

表 2 - Amazon 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
reservation/UnusedQuantity 0
reservation/UnusedRecurringFee 0
reservation/UnusedAmortizedUpfrontFeeForBillingPeriod 0
reservation/RecurringFeeForUsage 74.4
reservation/AmortizedUpfrontCostForUsage 5
reservation/EffectiveCost 79.4

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

  • 在使用 Amazon CUR 时,您可以访问有关 DiscountedUsage 行项目的 EffectiveCost 的信息,其中包括周期性费用和预付费用。DBR 只包括定期费用。

  • 在 Amazon CUR 中,不会为 DiscountedUsage 行项目转换 UsageType 字段,而 DBR 将该信息替换为 RI Fee 行项目信息。这是因为用户可以通过 ReservationARN 对 Amazon CUR 中的行项目进行分组,以便了解哪个 RI 为哪些使用量提供了折扣。

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

方案 2:部分 RI 使用率

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

利用 DBR/DBR-RT,您可以通过参考 RI 费用行项目的字段 UsageQuantity 和 UnblendedCosts 来了解您的未使用 RI 用量和成本。表 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
Reserved Instance 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

在使用 Amazon CUR 时,您可以参考 RI Fee 行项目的“reservation/ UnusedQuantity”和“reservation/ UnusedRecurringFee”字段,以了解您的未使用 RI 使用量和成本。表 4 说明了用于管理 Amazon CUR 中的未使用 RI 成本的当前列和信息。

表 4 - Amazon 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
reservation/UnusedQuantity 100
reservation/UnusedRecurringFee 0
reservation/UnusedAmortizedUpfrontFeeForBillingPeriod 10
reservation/RecurringFeeForUsage 64.4
reservation/AmortizedUpfrontCostForUsage 5
reservation/EffectiveCost 69.4

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

  • Amazon CUR 具有一个单独的列以表示 RI Fee 行项目的 UnusedQuantity,而 DBR/DBR-RT 在 UsageQuantity 列中重载未使用的小时数

场景 3:容量预留

DBR/DBR-RT 筛选出容量预留相关的 UnusedBox 和 UnusedDed 用量类型行项目(当 RI 涵盖时),因为 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
Reserved Instance 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

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

表 6 - Amazon 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
reservation/RecurringFeeForUsage 64.4
reservation/AmortizedUpfrontCostForUsage 5
reservation/EffectiveCost 69.4

场景 4:大小灵活的预留

利用 DBR/DBR-RT,您可以通过参考 RI 费用行项目的字段 UsageQuantity 和 UnblendedCosts 了解您的未使用 RI 用量和成本。可以通过 ItemDescription 字段中存在的“已购买小时数”信息来确定 RI 费用行项目。表 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
Reserved Instance 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

在使用 Amazon CUR 时,您可以参考 RI Fee 行项目的“reservation/ UnusedQuantity”和“reservation/ UnusedRecurringFee”字段,以了解您的未使用 RI 使用量和成本。表 8 说明了用于管理 Amazon CUR 中的未使用 RI 成本的当前列和信息。

表 8 - Amazon 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
reservation/UnusedQuantity 100
reservation/UnusedRecurringFee 70.37
reservation/UnusedAmortizedUpfrontFeeForBillingPeriod 5.5
reservation/RecurringFeeForUsage 4.03
reservation/AmortizedUpfrontCostForUsage 0.5
reservation/EffectiveCost 4.53

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

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

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

  • 不会为 DiscountedUsage 行项目转换 Amazon CUR LineItemDescription。在 DBR / DBR-RT 中,它将替换为 RI 费用行项目说明并将 DiscountedUsage 行项目 Usage Type 附加到字符串末尾,即“USD 0.10 hourly fee per Linux/UNIX (Amazon VPC), c3:8xlarge; UsageType: BoxUsage:c3.large”