

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

# 排定淘汰的 Elastic Beanstalk 平台版本
<a name="platforms-retiring"></a>

AWS Elastic Beanstalk 提供受管平台，支援執行針對特定程式設計語言、架構和 Web 容器開發的 Web 應用程式。Elastic Beanstalk 為每個平台提供一個或多個平台版本。如需目前支援平台版本的詳細資訊，請參閱[支援 Elastic Beanstalk 的平台](platforms-supported.md)。

本頁列出 Elastic Beanstalk 已排定淘汰的平台版本，因為有些元件已到達其生命週期的結尾 (EOL)。這些平台版本在其淘汰元件的發佈淘汰日期前都會保持可用。如需元件淘汰日期的清單，請參閱《 *AWS Elastic Beanstalk 開發人員指南*》中的[AWS Elastic Beanstalk 平台排程](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-schedule.html)。

**注意**  
[2022 年 7 月 18 日](https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2022-07-18-linux-al1-retire.html)，Elastic Beanstalk 會將所有以 Amazon Linux AMI (AL1) 為基礎的平台分支設定為**已淘汰**。如需詳細資訊，請參閱*《AWS Elastic Beanstalk 開發人員指南》*中的 [AL1 平台淘汰常見問答集](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.migration-al.FAQ.html)。

下列各節提供所有已淘汰平台版本的相關資訊。

**Topics**
+ [Docker](#platforms-retiring.docker)
+ [Go](#platforms-retiring.go)
+ [Java SE](#platforms-retiring.javase)
+ [Tomcat](#platforms-retiring.java)
+ [Linux 上的 .NET Core](#platforms-retiring.dotnetlinux)
+ [Windows Server 上的 .NET](#platforms-retiring.net)
+ [Node.js](#platforms-retiring.nodejs)
+ [PHP](#platforms-retiring.PHP)
+ [Python](#platforms-retiring.python)
+ [Ruby](#platforms-retiring.ruby)

## Docker
<a name="platforms-retiring.docker"></a>

Elastic Beanstalk 已排定將以下 Docker 平台版本進行淘汰。


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  ECS 代理程式  |  Docker  |  Docker Compose  |  代理伺服器  |  結束日期  | 
| --- | --- | --- | --- | --- | --- | --- | 
|  ** Docker AL2 4.9.1 版** <br /> * 64bit Amazon Linux 2 v4.9.1 running Docker *  | 2.0.20260608 |  | 25.0.14 | 5.1.4 | nginx 1.30.2 | 2026-06-30 | 
|  ** ECS AL2 3.10.1 版** <br /> * 64bit Amazon Linux 2 v3.10.1 running ECS *  | 2.0.20260608 | 1.103.2 | 25.0.14 |  |  | 2026-06-30 | 

如需目前平台版本的相關詳細資訊，請參閱[Docker](platforms-supported.md#platforms-supported.docker)。

## Go
<a name="platforms-retiring.go"></a>

Elastic Beanstalk 已排定將以下 Go 平台版本進行淘汰。


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  代理伺服器  |  結束日期  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Go 1 AL2 3.19.1 版** <br /> * 64bit Amazon Linux 2 v3.19.1 running Go 1 *  | 2.0.20260608 | Go 1.26.4 | 3.6.5 | nginx 1.30.2 | 2026-06-30 | 

如需目前平台版本的相關詳細資訊，請參閱[Go](platforms-supported.md#platforms-supported.go)。

## Java SE
<a name="platforms-retiring.javase"></a>

Elastic Beanstalk 已排定將以下 Java SE 平台版本進行淘汰。


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  工具  |  AWS X-Ray  |  代理伺服器  |  結束日期  | 
| --- | --- | --- | --- | --- | --- | --- | 
|  ** Corretto 17 3.14.1 版** <br /> * 64bit Amazon Linux 2 v3.14.1 running Corretto 17 *  | 2.0.20260608 | Corretto 17.0.19.10.1 | Ant 1.10.17、Gradle 8.14.5、Maven 3.9.16 | 3.6.5 | nginx 1.30.2 | 2026-06-30 | 
|  ** Corretto 11 3.14.1 版** <br /> * 64bit Amazon Linux 2 v3.14.1 running Corretto 11 *  | 2.0.20260608 | Corretto 11.0.31.11.1 | Ant 1.10.17、Gradle 8.14.5、Maven 3.9.16 | 3.6.5 | nginx 1.30.2 | 2026-06-30 | 
|  ** Corretto 8 3.14.1 版** <br /> * 64bit Amazon Linux 2 v3.14.1 running Corretto 8 *  | 2.0.20260608 | Corretto 8.492.09.1 | Ant 1.10.17、Gradle 8.14.5、Maven 3.9.16 | 3.6.5 | nginx 1.30.2 | 2026-06-30 | 

如需目前平台版本的相關詳細資訊，請參閱[Java SE](platforms-supported.md#platforms-supported.javase)。

## Tomcat
<a name="platforms-retiring.java"></a>

Elastic Beanstalk 已排定將以下 Tomcat 平台版本進行淘汰。


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  應用程式伺服器  |  代理伺服器  |  結束日期  | 
| --- | --- | --- | --- | --- | --- | --- | 
|  ** Corretto 11 with Tomcat 9 AL2 4.14.1 版** <br /> * 64bit Amazon Linux 2 v4.14.1 running Tomcat 9 Corretto 11 *  | 2.0.20260608 | Corretto 11.0.31.11.1 | 3.6.5 | Tomcat 9.0.118 | nginx 1.30.2 （預設）、Apache 2.4.67 | 2026-06-30 | 
|  ** Corretto 8 with Tomcat 9 AL2 4.14.1 版** <br /> * 64bit Amazon Linux 2 v4.14.1 running Tomcat 9 Corretto 8 *  | 2.0.20260608 | Corretto 8.492.09.1 | 3.6.5 | Tomcat 9.0.118 | nginx 1.30.2 （預設）、Apache 2.4.67 | 2026-06-30 | 

如需目前平台版本的相關詳細資訊，請參閱[Tomcat](platforms-supported.md#platforms-supported.java)。

## Linux 上的 .NET Core
<a name="platforms-retiring.dotnetlinux"></a>

Elastic Beanstalk 已排程下列 .NET Core on Linux 平台版本進行淘汰。


****  

|  平台版本和*解決方案堆疊名稱*   |  架構  |  代理伺服器  |  AMI  |  AWS X-Ray  |  結束日期  | 
| --- | --- | --- | --- | --- | --- | 
|  ** .NET 9 on AL2023 3.11.2 版** <br /> * 64bit Amazon Linux 2023 v3.11.2 running .NET 9 *  | .NET 9.0.17，支援 9.0.17 | nginx 1.30.2 | 2023.12.20260608 | 3.6.5 | 2027-03-31 | 
|  ** .NET 8 on AL2023 3.11.2 版** <br /> * 64bit Amazon Linux 2023 v3.11.2 running .NET 8 *  | .NET 8.0.28，支援 8.0.28 | nginx 1.30.2 | 2023.12.20260608 | 3.6.5 | 2027-03-31 | 
|  ** .NET Core on AL2 2.16.1 版** <br /> * 64bit Amazon Linux 2 v2.16.1 running .NET Core *  | .NET 8.0.28，支援 8.0.28 | nginx 1.30.2 | 2.0.20260608 | 3.6.5 | 2026-06-30 | 

如需目前平台版本的相關詳細資訊，請參閱[Linux 上的 .NET Core](platforms-supported.md#platforms-supported.dotnetlinux)。

## Windows Server 上的 .NET
<a name="platforms-retiring.net"></a>

**注意**  
  
以 *Windows Server 2016* 和 *Windows Server Core 2016 為基礎的 Elastic Beanstalk 平台分支*將於 **2026 年 9 月 30** 日淘汰。此外，這些平台分支的所有 Amazon Machine Image (AMIs) 都將無法在 **2027 年 1 月 15** 日存取。這是為了確保客戶 Elastic Beanstalk 環境符合 提供的最新支援 AWS。  
從 2026 年 9 月 30 日開始，已淘汰的平台分支將不再適用於 Elastic Beanstalk 上的新環境。雖然您可以繼續操作在已淘汰的平台分支上執行的現有環境，但這些分支將不再收到來自 Elastic Beanstalk 的安全更新、平台更新或錯誤修正，進而產生重大的安全和操作風險。2027 年 1 月 15 日之後，與這些平台分支相關聯的預設 AMIs 將無法存取，而嘗試根據這些 AMIs 啟動新 EC2 執行個體的任何活動都將失敗，包括自動擴展、執行個體替換，以及啟動新執行個體的應用程式或組態部署。  
我們強烈建議您開始規劃遷移至目前且完全支援的 Windows Server 平台，例如 Windows *Server 2025 搭配 IIS 10.0*、*Windows Server 2022 搭配 IIS 10.0* 或 *Windows Server 2019 搭配 IIS 10.0。*如需目前支援的平台清單，請參閱 [支援 Elastic Beanstalk 的平台](platforms-supported.md)。  
如果您無法遷移到完全支援的平台，您可以使用自訂 AMI 搭配 Windows Server 2016 做為基礎映像。如需詳細說明，請參閱《 *AWS Elastic Beanstalk 開發人員指南*》中的[保留已淘汰平台的 AMI 存取權](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.customenv-env-copy.html)。如果您在執行遷移時需要暫時存取 AMI，請聯絡 AWS Support。

Elastic Beanstalk 已排定將以下 .NET on Windows Server 平台版本進行淘汰。

### 組態基礎概念
<a name="platforms-retiring.net.basics"></a>


****  

|  平台版本  |  解決方案堆疊名稱  |  架構  |  代理伺服器  |  結束日期  | 
| --- | --- | --- | --- | --- | 
|  ** Windows Server 2016 with IIS 10.0 2.23.2 版**  |  * 64bit Windows Server 2016 v2.23.2 running IIS 10.0 *  | .NET 10.0.9，支援 10.0.9、9.0.17、8.0.28<br />.NET Framework 4.8，支援 4.x、2.0 | IIS 10.0 | 2026-09-30 | 
|  ** Windows Server Core 2016 with IIS 10.0 2.23.2 版**  |  * 64bit Windows Server Core 2016 v2.23.2 running IIS 10.0 *  | .NET 10.0.9，支援 10.0.9、9.0.17、8.0.28<br />.NET Framework 4.8，支援 4.x、2.0 | IIS 10.0 | 2026-09-30 | 

### 詳細資訊
<a name="platforms-retiring.net.details"></a>


****  

|  平台版本  |  AMI 版本  |  適用於 .NET 的 AWS SDK  |  EC2Launch  |  SSM Agent  |  Web 部署  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | --- | 
|  ** Windows Server 2016 with IIS 10.0 2.23.2 版**  | 2026.06.10 | 3.7.1252.1 | 2.5.1 | 3.3.4515.0 | 4.0 | 3.6.5 | 
|  ** Windows Server Core 2016 with IIS 10.0 2.23.2 版**  | 2026.06.10 | 3.7.1252.1 | 2.5.1 | 3.3.4515.0 | 4.0 | 3.6.5 | 

如需目前平台版本的相關詳細資訊，請參閱[Windows Server 上的 .NET](platforms-supported.md#platforms-supported.net)。

## Node.js
<a name="platforms-retiring.nodejs"></a>

Elastic Beanstalk 已排定將以下 Node.js 平台版本進行淘汰。


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Node.js 版本 (npm 版本)  |  代理伺服器  |  Git  |  AWS X-Ray  |  結束日期  | 
| --- | --- | --- | --- | --- | --- | --- | 
|  ** Node.js 20 AL2023 6.11.2 版** <br /> * 64bit Amazon Linux 2023 v6.11.2 running Node.js 20 *  | 2023.12.20260608 | 20.20.2 (10.8.2)<br /> 預設版本：20.20.2 | nginx 1.30.2 （預設）、Apache 2.4.67 | 2.50.1 | 3.6.5 | 2026-07-31 | 

如需目前平台版本的相關詳細資訊，請參閱[Node.js](platforms-supported.md#platforms-supported.nodejs)。

## PHP
<a name="platforms-retiring.PHP"></a>

Elastic Beanstalk 已排定將以下 PHP 平台版本進行淘汰。


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  代理伺服器  |  結束日期  | 
| --- | --- | --- | --- | --- | --- | 
|  ** PHP 8.2 AL2023 4.13.2 版** <br /> * 64bit Amazon Linux 2023 v4.13.2 running PHP 8.2 *  | 2023.12.20260608 | PHP 8.2.31 | Composer 2.10.1、PIE 1.4.5 | nginx 1.30.2 （預設）、Apache 2.4.67 | 2027-03-31 | 

如需目前平台版本的相關詳細資訊，請參閱[PHP](platforms-supported.md#platforms-supported.PHP)。

## Python
<a name="platforms-retiring.python"></a>

Elastic Beanstalk 已排定將以下 Python 平台版本進行淘汰。


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  AWS X-Ray  |  代理伺服器  |  結束日期  | 
| --- | --- | --- | --- | --- | --- | --- | 
|  ** Python 3.9 AL2023 4.13.2 版** <br /> * 64bit Amazon Linux 2023 v4.13.2 running Python 3.9 *  | 2023.12.20260608 | Python 3.9.25 | pip 26.0.1， pipenv 2025.0.4 | 3.6.5 | nginx 1.30.2 （預設）、Apache 2.4.67 | 2026-07-31 | 

如需目前平台版本的相關詳細資訊，請參閱[Python](platforms-supported.md#platforms-supported.python)。

## Ruby
<a name="platforms-retiring.ruby"></a>

Elastic Beanstalk 已排定將以下 Ruby 平台版本進行淘汰。


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  應用程式伺服器  |  AWS X-Ray  |  代理伺服器  |  結束日期  | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|  ** Ruby 3.2 AL2023 4.14.2 版** <br /> * 64bit Amazon Linux 2023 v4.14.2 running Ruby 3.2 *  | 2023.12.20260608 | Ruby 3.2.8 | RubyGems 3.4.19 | Puma 8.0.2 | 3.6.5 | nginx 1.30.2 | 2026-07-31 | 

如需目前平台版本的相關詳細資訊，請參閱[Ruby](platforms-supported.md#platforms-supported.ruby)。