

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

# 檢視在 Amazon RDS 延伸支援中資料庫執行個體或多可用區域資料庫叢集的註冊
<a name="extended-support-viewing"></a>

您可以使用 AWS 管理主控台、 或 RDS API，在 RDS 延伸支援中檢視資料庫執行個體或多可用區域資料庫叢集的註冊。 AWS CLI

**注意**  
主控台中的 **RDS 延伸支援**欄、 中的 -`-engine-lifecycle-support` 選項 AWS CLI，以及 RDS API 中的 `EngineLifecycleSupport` 參數，只會指出 RDS 延伸支援中的註冊。只有在資料庫引擎版本達到 RDS 標準支援結束時，才會開始收取 RDS 延伸支援的費用。如需詳細資訊，請參閱《Amazon RDS for PostgreSQL 版本備註》**中的[主要版本](MySQL.Concepts.VersionMgmt.md#MySQL.Concepts.VersionMgmt.ReleaseCalendar)和 [Amazon RDS for PostgreSQL 發佈行事曆](https://docs.aws.amazon.com/AmazonRDS/latest/PostgreSQLReleaseNotes/postgresql-release-calendar.html)。  
例如，RDS for MySQL 5.7 資料庫已註冊 RDS 延伸支援。在 2024 年 3 月 1 日，Amazon RDS 開始向您收取此資料庫的 RDS 延伸支援費用。在 2024 年 7 月 31 日，您已將此資料庫升級至 RDS for MySQL 8.0。此資料庫的 RDS 延伸支援狀態會保持啟用狀態。不過，此資料庫的 RDS 延長支援費用已停止，因為 RDS for MySQL 8.0 尚未達到 RDS 結束標準支援。在 2026 年 8 月 1 日之前 (也就是 RDS for MySQL 8.0 的 RDS 標準支援結束時間)，Amazon RDS 不會向您收取此資料庫的 RDS 延長支援費用。

## 主控台
<a name="extended-support-viewing-console"></a>

**檢視在 RDS 延伸支援中資料庫執行個體或多可用區域資料庫叢集的註冊**

1. 登入 AWS 管理主控台 ，並在 [https://console.aws.amazon.com/rds/](https://console.aws.amazon.com/rds/)：// 開啟 Amazon RDS 主控台。

1. 在導覽窗格中，選擇 **Databases** (資料庫)。**RDS 延伸支援**下的值指出資料庫執行個體或多可用區域資料庫叢集是否已註冊 RDS 延伸支援。如果沒有顯示任何值，則資料庫無法使用 RDS 延伸支援。
**提示**  
如果 **RDS 延長支援**欄未顯示，請選擇**偏好設定**圖示，然後開啟 **RDS 延長支援**。  
![\[RDS 主控台中每個資料庫具有 RDS 延伸支援設定的資料庫區段。\]](http://docs.aws.amazon.com/zh_tw/AmazonRDS/latest/UserGuide/images/extended-support-view-db-list.png)

1. 您也可以在每個資料庫的**組態**索引標籤上檢視註冊。在**資料庫識別符**下選擇資料庫。在**組態**索引標籤查看**延伸支援**下，確認資料庫是否已註冊。  
![\[資料庫詳細資訊頁面上的組態索引標籤，顯示 RDS 延伸支援狀態。\]](http://docs.aws.amazon.com/zh_tw/AmazonRDS/latest/UserGuide/images/extended-support-view-details.png)

## AWS CLI
<a name="extended-support-viewing-cli"></a>

若要使用 在 RDS 延伸支援中檢視資料庫的註冊 AWS CLI，請執行 [describe-db-instances](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-instances.html) 或 [describe-db-clusters](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-clusters.html) （多可用區域資料庫叢集） 命令。

如果 RDS 延伸支援可供資料庫使用，則回應會包含參數 `EngineLifecycleSupport`。值 `open-source-rds-extended-support` 表示資料庫執行個體或多可用區域資料庫叢集已註冊 RDS 延伸支援。值 `open-source-rds-extended-support-disabled` 表示在 RDS 延伸支援中的資料庫執行個體或多可用區域資料庫叢集註冊已停用。

**範例**

下列命令會傳回所有資料庫執行個體的資訊：

```
aws rds describe-db-instances
```

下列回應顯示在資料庫執行個體 `database-1` 上執行的 PostgreSQL 引擎已註冊 RDS 延伸支援：

```
{
    "DBInstanceIdentifier": "database-1",
    "DBInstanceClass": "db.t3.large",
    "Engine": "postgres",
    ...
    "EngineLifecycleSupport": "open-source-rds-extended-support"
}
```

## RDS API
<a name="extended-support-viewing-api"></a>

若要使用 Amazon RDS API 在 RDS 延伸支援中檢視資料庫的註冊，請使用 [DescribeDBInstances](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBInstances.html) 或 [DescribeDBClusters](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html) 操作。

如果 RDS 延伸支援可供資料庫使用，則回應會包含參數 `EngineLifecycleSupport`。值 `open-source-rds-extended-support` 表示資料庫執行個體或多可用區域資料庫叢集已註冊 RDS 延伸支援。值 `open-source-rds-extended-support-disabled` 表示在 RDS 延伸支援中的資料庫執行個體或多可用區域資料庫叢集註冊已停用。