

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 了解未使用的預留成本
<a name="unused-reservation-costs"></a>

您可以使用 AWS 成本和用量報告 (AWS CUR) 來了解未使用的 RI 成本。以下四個案例顯示 的方式。

**注意**  
在下表中，為了清楚起見，會轉換來自 AWS CUR 和 DBR/DBR-RT 的資料欄和資料列。第一欄中的值代表報告的標頭。

## 案例 1：RI 用量為 100%
<a name="scenario-1"></a>

RI 費用明細項目有 \$10 未使用的成本和 0 使用時數。

使用 DBR/DBR-RT，您可以透過參考 RI 費用明細項目的 UsageQuantity 和 UnblendedCosts 欄位，來了解您的未使用 RI 用量和成本。您可以利用 ItemDescription 欄位中是否有「已購買的時數」來識別 RI 費用明細項目。表 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 | 
| 預留執行個體 | 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 | 
| 用量數量 | 0 | 744 | 
| 非混合費率 | 0.1 | 0.1 | 
| 非混合成本 | 0 | 74.4 | 

使用 AWS CUR，您可以參考 RI 費用明細項目的「預留/UnusedQuantity」和「預留/UnusedRecurringFee」欄位，以了解未使用的 RI 用量和成本。下表 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 |  | 
| reservation/UnusedRecurringFee | 0 |  | 
| reservation/UnusedAmortizedUpfrontFeeForBillingPeriod | 0 |  | 
| reservation/RecurringFeeForUsage |  | 74.4 | 
| reservation/AmortizedUpfrontCostForUsage |  | 5 | 
| 保留/EffectiveCost |  | 79.4 | 

除了符合 DBR/DBR-RT 支援的目前功能之外， AWS CUR 還有下列優點：
+ 使用 AWS CUR，您可以存取 DiscountedUsage 明細項目的 EffectiveCost 相關資訊，其中包含經常性和預付費用。僅限 DBR 帳戶用於經常性費用。
+ 在 AWS CUR 中，不會轉換 DiscountedUsage 明細項目的 UsageType 欄位，而 DBR 會將資訊取代為 RI 費用明細項目資訊。這是因為使用者可以依 ReservationARN 將 AWS CUR 中的明細項目分組，以了解哪個 RI 折扣了哪些用量。
+ 在 AWS CUR 中，RI 費用明細項目不會轉換 LineItemDescription 欄位。DBR 會附加購買時數和使用時數。

## 案例 2：局部 RI 用量
<a name="scenario-2"></a>

RI 費用明細項目有未使用的成本和使用時數。

使用 DBR/DBR-RT，您可以透過參考 RI 費用明細項目的 UsageQuantity 和 UnblendedCosts 欄位，來了解您的未使用 RI 用量和成本。表 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 | 
| 預留執行個體 | 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 | 
| 用量數量 | 100 | 644 | 
| 非混合費率 | 0.1 | 0.1 | 
| 非混合成本 | 10 | 64.4 | 

使用 AWS CUR，您可以參考 RI 費用明細項目的欄位「預留/UnusedQuantity」和「預留/UnusedRecurringFee」，以了解未使用的 RI 用量和成本。表 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 |  | 
| reservation/UnusedRecurringFee | 0 |  | 
| reservation/UnusedAmortizedUpfrontFeeForBillingPeriod | 10 |  | 
| reservation/RecurringFeeForUsage |  | 64.4 | 
| reservation/AmortizedUpfrontCostForUsage |  | 5 | 
| 保留/EffectiveCost |  | 69.4 | 

除了符合 DBR/DBR-RT 支援的目前功能之外， AWS CUR 還有下列優點：
+ AWS CUR 具有代表 RI 費用明細項目的 UnusedQuantity 與 DBR / DBR-RT 的個別資料欄，該資料欄會超載使用未使用時數的 UsageQuantity 資料欄 

## 案例 3：容量保留
<a name="scenario-3"></a>

DBR/DBR-RT 會在 RI 涵蓋時篩選出與 UnusedBox 和 UnusedDed 用量類型相關的容量保留，因為 RI 費用明細項目已涵蓋 UsageQuantity 和 UnblendedCost 欄位中未使用的數量。表 5 說明用來管理 DBR 和 DBR-RT 報告中未使用 RI 成本的資料欄和資訊。

**表 5 - 2019 年 6 月 17 日之前，DBR 和 DBR-RT 中容量保留案例的未使用 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 | 
| 預留執行個體 | 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 | 
| 用量數量 | 10 | 734 | 
| 非混合費率 | 0.1 | 0.1 | 
| 非混合成本 | 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 | 
| reservation/RecurringFeeForUsage |  |  | 64.4 | 
| reservation/AmortizedUpfrontCostForUsage |  |  | 5 | 
| 保留/EffectiveCost |  |  | 69.4 | 

## 案例 4：大小靈活的保留
<a name="scenario-4"></a>

利用 DBR/DBR-RT，您可以透過參考 RI 費用明細項目的 UsageQuantity 和 UnblendedCosts 欄位，來了解您的未使用 RI 用量和成本。您可以利用 ItemDescription 欄位中是否有「已購買的時數」來識別 RI 費用明細項目。表 9 說明用來管理 DBR 和 DBR-RT 報告中未使用 RI 成本的資料欄和資訊。

**表 7 – 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 | 
| 預留執行個體 | 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 | 
| 用量數量 | 100 | 644 | 
| 非混合費率 | 0.1 | 0.1 | 
| 非混合成本 | 10 | 64.4 | 

使用 AWS CUR，您可以參考 RI 費用明細項目的欄位「預留/UnusedQuantity」和「預留/UnusedRecurringFee」，以了解未使用的 RI 用量和成本。表 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 | 
| reservation/UnusedQuantity | 100 |  | 
| reservation/UnusedRecurringFee | 70.37 |  | 
| reservation/UnusedAmortizedUpfrontFeeForBillingPeriod | 5.5 |  | 
| reservation/RecurringFeeForUsage |  | 4.03 | 
| reservation/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 明細項目的 CUR LineItemDescription。在 DBR/DBR-RT 中，會取代 RI 費用明細項目說明，並將 DiscountedUsage 明細項目用量類型附加至字串的尾端，即「每個 Linux/UNIX (Amazon VPC) 每小時費用 0.10 USD，c3:8xlarge；UsageType：BoxUsage:c3.large」