

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

# RDS for Oracle 授權選項
<a name="Oracle.Concepts.Licensing"></a>

Amazon RDS for Oracle 有兩個授權選項：「已包含授權 (LI)」和「使用自有授權 (BYOL)」。在 Amazon RDS 上建立 Oracle 資料庫執行個體之後，您可以修改資料庫執行個體來變更授權模式。如需詳細資訊，請參閱[修改 Amazon RDS 資料庫執行個體](Overview.DBInstance.Modifying.md)。

**重要**  
對於您的資料庫執行個體類別和 Oracle Database 版本，請確定您具有適當的 Oracle Database 授權 (含軟體更新授權和支援)。此外，請確定您對於任何個別授權的 Oracle Database 功能都具有授權。

**Topics**
+ [SE2 的已包含授權模式](#Oracle.Concepts.Licensing.LicenseIncluded)
+ [EE 和 SE2 的自帶授權 (BYOL)](#Oracle.Concepts.Licensing.BYOL)
+ [授權 Oracle 異地同步備份部署](#Oracle.Concepts.Licensing.MAZ)

## SE2 的已包含授權模式
<a name="Oracle.Concepts.Licensing.LicenseIncluded"></a>

在已包含授權模型中，您不需要另外購買 Oracle 資料庫授權。 AWS 保留 Oracle 資料庫軟體的授權。已包含授權模式僅支援 Amazon RDS for Oracle Database Standard Edition 2 (SE2)。

在此模型中，如果您有支援案例 AWS 支援 的帳戶，請聯絡 支援 ，提出 Amazon RDS 和 Oracle Database 服務請求。您對 RDS for Oracle LI 選項的使用受到 [AWS 服務條款](https://aws.amazon.com/service-terms/)第 10.3.1 條的約束。

## EE 和 SE2 的自帶授權 (BYOL)
<a name="Oracle.Concepts.Licensing.BYOL"></a>

在 BYOL 模型中，您可以使用現有 Oracle 資料庫授權在 Amazon RDS 上執行資料庫部署。Amazon RDS 僅針對 Oracle Database Enterprise Edition (EE) 和 Oracle Database Standard Edition 2 (SE2) 支援 BYOL 模式。

對要執行的資料庫執行個體類別和 Oracle 資料庫版本，請確保具有適當的 Oracle 資料庫授權 (含軟體更新授權和支援)。您也必須遵循 Oracle 對雲端運算環境中授權 Oracle 資料庫軟體的政策。如需 Amazon EC2 的 Oracle 授權原則詳細資訊，請參閱[在雲端運算環境中授權 Oracle 軟體](http://www.oracle.com/us/corporate/pricing/cloud-licensing-070579.pdf)。

在此模型中，您會繼續使用作用中 Oracle 支援帳戶，並且針對 Oracle 資料庫的服務請求，請直接聯絡 Oracle。如果您有支援案例 AWS 支援 的帳戶，您可以聯絡 支援 詢問 Amazon RDS 問題。

### 與 整合 AWS License Manager
<a name="oracle-lms-integration"></a>

為了讓您更輕鬆監控 BYOL 模型內的 Oracle 授權用量，[AWS License Manager](https://aws.amazon.com/license-manager/) 可與 Amazon RDS for Oracle 整合。License Manager 會支援追蹤 RDS for Oracle 引擎版本和以虛擬核心 (vCPU) 為基礎的授權套件。您也可以搭配 使用 License Manager AWS Organizations ，集中管理所有組織帳戶。

下表顯示適用於 RDS for Oracle 的產品資訊篩選條件。

[\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/AmazonRDS/latest/UserGuide/Oracle.Concepts.Licensing.html)

若要追蹤 Oracle 資料庫執行個體的授權使用情況，您可以使用 建立自我管理的授權 AWS License Manager。在此情況下，符合產品資訊篩選條件的 RDS for Oracle 資源會自動與自我管理授權相關聯。探索 Oracle 資料庫執行個體最多可能需要 24 小時。您也可以使用 跨帳戶追蹤授權 AWS Resource Access Manager。

#### 主控台
<a name="oracle-lms-integration.console"></a>

**在 中建立自我管理授權 AWS License Manager ，以追蹤 RDS for Oracle 資料庫執行個體的授權使用情況**

1. 移至 [https://console.aws.amazon.com/license-manager/](https://console.aws.amazon.com/license-manager/)。

1. 選擇**建立自我管理授權**。

   若要取得指示，請參閱《AWS License Manager 使用者指南》**中的[建立自我管理的授權](https://docs.aws.amazon.com/license-manager/latest/userguide/create-license-configuration.html)。

   在 **Product Information (產品資訊)** 面板中，新增 **RDS Product Information Filter (RDS 產品資訊篩選條件)** 的規則。

   如需詳細資訊，請參閱 *AWS License Manager API 參考*中的 [ProductInformation](https://docs.aws.amazon.com/license-manager/latest/APIReference/API_ProductInformation.html)。

1. （僅限跨帳戶追蹤） 使用 AWS Resource Access Manager 與任何 AWS 帳戶或透過 共用自我管理的授權 AWS Organizations。如需詳細資訊，請參閱[共用您的 AWS 資源](https://docs.aws.amazon.com/ram/latest/userguide/getting-started-sharing.html)。

#### AWS CLI
<a name="oracle-lms-integration.cli"></a>

若要使用 建立自我管理的授權 AWS CLI，請呼叫 [create-license-configuration](https://docs.aws.amazon.com/cli/latest/reference/license-manager/create-license-configuration.html) 命令。使用 `--cli-input-json` 或 `--cli-input-yaml` 參數，將參數傳遞至命令。

**Example**  
下列範例會建立 Oracle Enterprise Edition 的自我管理授權。  

```
aws license-manager create-license-configuration --cli-input-json file://rds-oracle-ee.json
```
下列是範例中使用的範例 `rds-oracle-ee.json` 檔案。  

```
{
    "Name": "rds-oracle-ee",
    "Description": "RDS Oracle Enterprise Edition",
    "LicenseCountingType": "vCPU",
    "LicenseCountHardLimit": false,
    "ProductInformationList": [
        {
            "ResourceType": "RDS",
            "ProductInformationFilterList": [
                {
                    "ProductInformationFilterName": "Engine Edition",
                    "ProductInformationFilterValue": ["oracle-ee"],
                    "ProductInformationFilterComparator": "EQUALS"
                }
            ]
        }
    ]
}
```

如需關於產品資訊的詳細資訊，請參閱《AWS License Manager 使用者指南》**中的[自動化探索資源庫存](https://docs.aws.amazon.com/license-manager/latest/userguide/automated-discovery.html)。

如需 `--cli-input` 參數的詳細資訊，請參閱*AWS CLI 《 使用者指南*》中的[從 JSON AWS CLI 或 YAML 輸入檔案產生骨架和輸入參數](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-skeleton.html)。

### 在不同 Oracle Database 版本之間遷移
<a name="Oracle.Concepts.EditionsMigrating"></a>

如果您有未使用的 BYOL Oracle Database 授權適合用於您計劃要執行的資料庫執行個體版本和類別，您可以從 Standard Edition 2 (SE2) 遷移至 Enterprise Edition (EE)。您無法從 EE 遷移至其他版本。

**變更 Oracle Database 版本並保留您的資料**

1. 建立資料庫執行個體的快照。

   如需更多詳細資訊，請參閱 [為 Amazon RDS 的單一可用區域資料庫執行個體建立資料庫快照](USER_CreateSnapshot.md)。

1. 將快照還原到新的資料庫執行個體，並選取要使用的 Oracle 資料庫版本。

   如需更多詳細資訊，請參閱 [還原至資料庫執行個體](USER_RestoreFromSnapshot.md)。

1. (選用) 刪除舊資料庫執行個體，除非您希望其保持執行並擁有適當的 Oracle 資料庫授權。

   如需更多詳細資訊，請參閱 [刪除資料庫執行個體](USER_DeleteInstance.md)。

## 授權 Oracle 異地同步備份部署
<a name="Oracle.Concepts.Licensing.MAZ"></a>

Amazon RDS 支援 Oracle 的多個可用區部署，做為高可用性、容錯移轉解決方案。對於生產工作負載，建議使用多個可用區。如需更多詳細資訊，請參閱 [設定及管理 Amazon RDS 的多可用區域部署](Concepts.MultiAZ.md)。

如果您使用「使用自有授權」模型，則必須具有多個可用區部署中主要資料庫執行個體和待命資料庫執行個體的授權。