

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

# 支援 Elastic Beanstalk 的平台
<a name="platforms-supported"></a>

AWS Elastic Beanstalk 提供受管平台，支援執行針對特定程式設計語言、架構和 Web 容器開發的 Web 應用程式。Elastic Beanstalk 為每個平台提供一個或多個平台版本。當您建立環境並選擇平台時，Elastic Beanstalk 會佈建應用程式所需的資源，包括一個或多個 Amazon Elastic Compute Cloud (Amazon EC2) 執行個體。執行於 Amazon EC2 執行個體上的軟體堆疊會視您選擇的平台版本而定。

如需有關平台的詳細資訊，請參閱*AWS Elastic Beanstalk 《開發人員指南》*中的[AWS Elastic Beanstalk 平台](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts-all-platforms.html)。詳細的版本備註近期已發行，位於[AWS Elastic Beanstalk 版本備註](https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/)。

以下各節提供有關目前所有平台版本的資訊。歷史平台版本清單及其過去做為最新版本的日期範圍，請參閱[平台歷史記錄](platform-history.md)。

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

**Topics**
+ [

## Docker
](#platforms-supported.docker)
+ [

## Go
](#platforms-supported.go)
+ [

## Java SE
](#platforms-supported.javase)
+ [

## Tomcat
](#platforms-supported.java)
+ [

## Linux 上的 .NET Core
](#platforms-supported.dotnetlinux)
+ [

## Windows Server 上的 .NET
](#platforms-supported.net)
+ [

## Node.js
](#platforms-supported.nodejs)
+ [

## PHP
](#platforms-supported.PHP)
+ [

## Python
](#platforms-supported.python)
+ [

## Ruby
](#platforms-supported.ruby)
+ [

# 排定淘汰的 Elastic Beanstalk 平台版本
](platforms-retiring.md)
+ [

# 公開 Beta 版的 Elastic Beanstalk 平台版本
](platforms-beta.md)

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

Docker 是一種容器平台，可讓您定義自己的軟體堆疊，並將其存放於可從遠端儲存庫下載的映像中。Docker 平台包括一個 nginx 代理服務器。

如需 Docker 平台的詳細資訊，請參閱*AWS Elastic Beanstalk 《開發人員指南》*中的 [Docker 容器部署 Elastic Beanstalk 應用程式](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker.html)。


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  ECS 代理程式  |  Docker  |  Docker Compose  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Docker AL2023 4.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running Docker *   |  2023.10.20260325  |    |  25.0.14  |  5.1.1  |  nginx 1.28.2  | 
|   ** ECS AL2023 4.6.0 版**   * 64bit Amazon Linux 2023 v4.6.0 running ECS *   |  2023.10.20260325  |  1.102.0  |  25.0.14  |    |    | 
|   ** Docker AL2 4.7.0 版**   * 64bit Amazon Linux 2 v4.7.0 running Docker *   |  2.0.20260302  |    |  25.0.14  |  5.1.0  |  nginx 1.28.2  | 
|   ** ECS AL2 3.8.0 版**   * 64bit Amazon Linux 2 v3.8.0 running ECS *   |  2.0.20260302  |  1.101.3  |  25.0.14  |    |    | 

 如需在[平台支援原則](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-support-policy.html)中所發佈與排定淘汰之平台版本的更多資訊，請參閱在*淘汰平台版本*頁面中的[Docker](platforms-retiring.md#platforms-retiring.docker)。如需舊平台版本的詳細資訊，請參閱[Docker 平台歷史記錄](platform-history-docker.md)。

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

Elastic Beanstalk 支援下列 Go 平台版本。


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|   ** Go 1 AL2023 4.8.0 版**   * 64bit Amazon Linux 2023 v4.8.0 running Go 1 *   |  2023.10.20260325  |  Go 1.25.8  |  3.6.2  |  nginx 1.28.2  | 
|   ** Go 1 AL2 3.17.0 版**   * 64bit Amazon Linux 2 v3.17.0 running Go 1 *   |  2.0.20260302  |  Go 1.26.1  |  3.6.2  |  nginx 1.28.2  | 

 如需在[平台支援原則](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-support-policy.html)中所發佈與排定淘汰之平台版本的更多資訊，請參閱在*淘汰平台版本*頁面中的[Go](platforms-retiring.md#platforms-retiring.go)。如需舊平台版本的詳細資訊，請參閱[Go 平台歷史記錄](platform-history-go.md)。

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

Elastic Beanstalk 支援下列 Java SE 平台版本。


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  工具  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Corretto 25 AL2023 4.11.0 版**   * 64bit Amazon Linux 2023 v4.11.0 running Corretto 25 *   |  2023.10.20260325  |  Corretto 25.0.2.10.1  |  Ant 1.10.15、Gradle 9.4.1、Maven 3.9.14  |  3.6.2  |  nginx 1.28.2  | 
|   ** Corretto 21 AL2023 4.11.0 版**   * 64bit Amazon Linux 2023 v4.11.0 running Corretto 21 *   |  2023.10.20260325  |  Corretto 21.0.10.7.1  |  Ant 1.10.15、Gradle 9.4.1、Maven 3.9.14  |  3.6.2  |  nginx 1.28.2  | 
|   ** Corretto 17 AL2023 4.11.0 版**   * 64bit Amazon Linux 2023 v4.11.0 running Corretto 17 *   |  2023.10.20260325  |  Corretto 17.0.18.9.1  |  Ant 1.10.15、Gradle 9.4.1、Maven 3.9.14  |  3.6.2  |  nginx 1.28.2  | 
|   ** Corretto 11 AL2023 4.11.0 版**   * 64bit Amazon Linux 2023 v4.11.0 running Corretto 11 *   |  2023.10.20260325  |  Corretto 11.0.30.7.1  |  Ant 1.10.15、Gradle 8.14.4、Maven 3.9.14  |  3.6.2  |  nginx 1.28.2  | 
|   ** Corretto 8 AL2023 4.11.0 版**   * 64bit Amazon Linux 2023 v4.11.0 running Corretto 8 *   |  2023.10.20260325  |  Corretto 8.482.08.1  |  Ant 1.10.15、Gradle 8.14.4、Maven 3.9.14  |  3.6.2  |  nginx 1.28.2  | 
|   ** Corretto 17 3.12.0 版**   * 64bit Amazon Linux 2 v3.12.0 running Corretto 17 *   |  2.0.20260302  |  Corretto 17.0.18.9.1  |  Ant 1.10.15、Gradle 8.14.4、Maven 3.9.13  |  3.6.2  |  nginx 1.28.2  | 
|   ** Corretto 11 3.12.0 版**   * 64bit Amazon Linux 2 v3.12.0 running Corretto 11 *   |  2.0.20260302  |  Corretto 11.0.30.7.1  |  Ant 1.10.15、Gradle 8.14.4、Maven 3.9.13  |  3.6.2  |  nginx 1.28.2  | 
|   ** Corretto 8 3.12.0 版**   * 64bit Amazon Linux 2 v3.12.0 running Corretto 8 *   |  2.0.20260302  |  Corretto 8.482.08.1  |  Ant 1.10.15、Gradle 8.14.4、Maven 3.9.13  |  3.6.2  |  nginx 1.28.2  | 

 如需在[平台支援原則](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-support-policy.html)中所發佈與排定淘汰之平台版本的更多資訊，請參閱在*淘汰平台版本*頁面中的[Java SE](platforms-retiring.md#platforms-retiring.javase)。如需舊平台版本的詳細資訊，請參閱[Java SE 平台歷史記錄](platform-history-javase.md)。

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

Elastic Beanstalk 支援下列 Tomcat 平台版本。


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  應用程式伺服器  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Corretto 25 with Tomcat 11 AL2023 5.13.0 版**   * 64bit Amazon Linux 2023 v5.13.0 running Tomcat 11 Corretto 25 *   |  2023.10.20260325  |  Corretto 25.0.2.10.1  |  3.6.2  |  Tomcat 11.0.20  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** Corretto 21 with Tomcat 11 AL2023 5.13.0 版**   * 64bit Amazon Linux 2023 v5.13.0 running Tomcat 11 Corretto 21 *   |  2023.10.20260325  |  Corretto 21.0.10.7.1  |  3.6.2  |  Tomcat 11.0.20  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** Corretto 17 with Tomcat 11 AL2023 5.13.0 版**   * 64bit Amazon Linux 2023 v5.13.0 running Tomcat 11 Corretto 17 *   |  2023.10.20260325  |  Corretto 17.0.18.9.1  |  3.6.2  |  Tomcat 11.0.20  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** Corretto 21 with Tomcat 10 AL2023 5.13.0 版**   * 64bit Amazon Linux 2023 v5.13.0 running Tomcat 10 Corretto 21 *   |  2023.10.20260325  |  Corretto 21.0.10.7.1  |  3.6.2  |  Tomcat 10.1.53  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** Corretto 17 with Tomcat 10 AL2023 5.13.0 版**   * 64bit Amazon Linux 2023 v5.13.0 running Tomcat 10 Corretto 17 *   |  2023.10.20260325  |  Corretto 17.0.18.9.1  |  3.6.2  |  Tomcat 10.1.53  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** Corretto 17 with Tomcat 9 AL2023 5.13.0 版**   * 64bit Amazon Linux 2023 v5.13.0 running Tomcat 9 Corretto 17 *   |  2023.10.20260325  |  Corretto 17.0.18.9.1  |  3.6.2  |  Tomcat 9.0.115  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** Corretto 11 with Tomcat 9 AL2023 5.13.0 版**   * 64bit Amazon Linux 2023 v5.13.0 running Tomcat 9 Corretto 11 *   |  2023.10.20260325  |  Corretto 11.0.30.7.1  |  3.6.2  |  Tomcat 9.0.115  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** Corretto 8 with Tomcat 9 AL2023 5.13.0 版**   * 64bit Amazon Linux 2023 v5.13.0 running Tomcat 9 Corretto 8 *   |  2023.10.20260325  |  Corretto 8.482.08.1  |  3.6.2  |  Tomcat 9.0.116  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** Corretto 11 with Tomcat 9 AL2 4.12.0 版**   * 64bit Amazon Linux 2 v4.12.0 running Tomcat 9 Corretto 11 *   |  2.0.20260302  |  Corretto 11.0.30.7.1  |  3.6.2  |  Tomcat 9.0.110  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** Corretto 8 with Tomcat 9 AL2 4.12.0 版**   * 64bit Amazon Linux 2 v4.12.0 running Tomcat 9 Corretto 8 *   |  2.0.20260302  |  Corretto 8.482.08.1  |  3.6.2  |  Tomcat 9.0.110  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 

 如需在[平台支援原則](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-support-policy.html)中所發佈與排定淘汰之平台版本的更多資訊，請參閱在*淘汰平台版本*頁面中的[Tomcat](platforms-retiring.md#platforms-retiring.java)。如需舊平台版本的詳細資訊，請參閱[Tomcat 平台歷史記錄](platform-history-java.md)。

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

Elastic Beanstalk 支援以下 .NET Core on Linux 平台版本。


****  

|  平台版本和*解決方案堆疊名稱*   |  架構  |  代理伺服器  |  AMI  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | 
|   ** .NET 10 on AL2023 3.10.0 版**   * 64bit Amazon Linux 2023 v3.10.0 running .NET 10 *   |  .NET 10.0.5，支援 10.0.5  |  nginx 1.28.2  |  2023.10.20260325  |  3.6.2  | 
|   ** .NET 9 on AL2023 3.10.0 版**   * 64bit Amazon Linux 2023 v3.10.0 running .NET 9 *   |  .NET 9.0.14，支援 9.0.14  |  nginx 1.28.2  |  2023.10.20260325  |  3.6.2  | 
|   ** .NET 8 on AL2023 3.10.0 版**   * 64bit Amazon Linux 2023 v3.10.0 running .NET 8 *   |  .NET 8.0.25，支援 8.0.25  |  nginx 1.28.2  |  2023.10.20260325  |  3.6.2  | 
|   ** .NET Core on AL2 2.14.0 版**   * 64bit Amazon Linux 2 v2.14.0 running .NET Core *   |  .NET 8.0.24，支援 8.0.24  |  nginx 1.28.2  |  2.0.20260302  |  3.6.2  | 

 如需在[平台支援原則](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-support-policy.html)中所發佈與排定淘汰之平台版本的更多資訊，請參閱在*淘汰平台版本*頁面中的[Linux 上的 .NET Core](platforms-retiring.md#platforms-retiring.dotnetlinux)。如需舊平台版本的詳細資訊，請參閱[.NET Core on Linux 平台歷史記錄](platform-history-dotnetlinux.md)。

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

您可以在幾分鐘內使用 [AWS Toolkit for Visual Studio](https://aws.amazon.com/visualstudio/)。此工具組包含 AWS 程式庫、專案範本、程式碼範例和文件。 適用於 .NET 的 AWS SDK 支援使用 .NET Framework 2.0 或更新的版本來開發應用程式。

**注意**  
此平台不支援以下的 Elastic Beanstalk 功能：  
工作者環境。如需詳細資訊，請參閱*AWS Elastic Beanstalk 《開發人員指南》*中的[AWS Elastic Beanstalk 工作者環境](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features-managing-env-tiers.html)。

若要了解如何開始使用 部署 .NET 應用程式 AWS Toolkit for Visual Studio，請參閱《 *AWS Elastic Beanstalk 開發人員指南*》中的[使用 在 .NET 中建立和部署 Elastic Beanstalk 應用程式 AWS Toolkit for Visual Studio](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_NET.html)。

關於最新的 Microsoft 的安全性更新，詳細資訊請參閱 [安全技術中心](https://portal.msrc.microsoft.com/en-us/) 和 [安全建議與佈告欄](https://technet.microsoft.com/en-us/library/security/)。

 如需適用於 Elastic Beanstalk 舊版 Windows Server 上的 .NET 平台版本詳細資訊，請參閱[Windows Server 平台上的 .NET 歷史記錄](platform-history-dotnet.md)。

Elastic Beanstalk 支援以下 Windows Server 上的 .NET 平台版本。

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


****  

|  平台版本  |  解決方案堆疊名稱  |  架構  |  代理伺服器  | 
| --- | --- | --- | --- | 
|   ** Windows Server 2025 with IIS 10.0 2.22.3 版**   |   * 64bit Windows Server 2025 v2.22.3 running IIS 10.0 *   |  .NET 9.0.14，支援 9.0.14、8.0.25、10.0.5 .NET Framework 4.8.1，支援 4.x、2.0  |  IIS 10.0  | 
|   ** Windows Server Core 2025 with IIS 10.0 2.22.3 版**   |   * 64bit Windows Server Core 2025 v2.22.3 running IIS 10.0 *   |  .NET 9.0.14，支援 9.0.14、8.0.25、10.0.5 .NET Framework 4.8.1，支援 4.x、2.0  |  IIS 10.0  | 
|   ** Windows Server 2022 with IIS 10.0 2.22.3 版**   |   * 64bit Windows Server 2022 v2.22.3 running IIS 10.0 *   |  .NET 9.0.14，支援 9.0.14、8.0.25、10.0.5 .NET Framework 4.8.1，支援 4.x、2.0  |  IIS 10.0  | 
|   ** Windows Server Core 2022 with IIS 10.0 2.22.3 版**   |   * 64bit Windows Server Core 2022 v2.22.3 running IIS 10.0 *   |  .NET 9.0.14，支援 9.0.14、8.0.25、10.0.5 .NET Framework 4.8.1，支援 4.x、2.0  |  IIS 10.0  | 
|   ** Windows Server 2019 with IIS 10.0 2.22.3 版**   |   * 64bit Windows Server 2019 v2.22.3 running IIS 10.0 *   |  .NET 9.0.14，支援 9.0.14、8.0.25、10.0.5 .NET Framework 4.8，支援 4.x、2.0  |  IIS 10.0  | 
|   ** Windows Server Core 2019 with IIS 10.0 2.22.3 版**   |   * 64bit Windows Server Core 2019 v2.22.3 running IIS 10.0 *   |  .NET 9.0.14，支援 9.0.14、8.0.25、10.0.5 .NET Framework 4.8，支援 4.x、2.0  |  IIS 10.0  | 
|   ** Windows Server 2016 with IIS 10.0 2.22.3 版**   |   * 64bit Windows Server 2016 v2.22.3 running IIS 10.0 *   |  .NET 9.0.14，支援 9.0.14、8.0.25、10.0.5 .NET Framework 4.8，支援 4.x、2.0  |  IIS 10.0  | 
|   ** Windows Server Core 2016 with IIS 10.0 2.22.3 版**   |   * 64bit Windows Server Core 2016 v2.22.3 running IIS 10.0 *   |  .NET 9.0.14，支援 9.0.14、8.0.25、10.0.5 .NET Framework 4.8，支援 4.x、2.0  |  IIS 10.0  | 

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


****  

|  平台版本  |  AMI 版本  |  適用於 .NET 的 AWS SDK  |  EC2Launch  |  SSM Agent  |  Web 部署  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | --- | 
|   ** Windows Server 2025 with IIS 10.0 2.22.3 版**   |  2026.03.11  |  3.7.1239.0  |  2.4.0.0  |  3.3.3883.0  |  4.0  |  3.6.1  | 
|   ** Windows Server Core 2025 with IIS 10.0 2.22.3 版**   |  2026.03.11  |  3.7.1239.0  |  2.4.0.0  |  3.3.3883.0  |  4.0  |  3.6.1  | 
|   ** Windows Server 2022 with IIS 10.0 2.22.3 版**   |  2026.03.11  |  3.7.1239.0  |  2.4.0.0  |  3.3.3883.0  |  4.0  |  3.6.1  | 
|   ** Windows Server Core 2022 with IIS 10.0 2.22.3 版**   |  2026.03.11  |  3.7.1239.0  |  2.4.0.0  |  3.3.3883.0  |  4.0  |  3.6.1  | 
|   ** Windows Server 2019 with IIS 10.0 2.22.3 版**   |  2026.03.11  |  3.7.1239.0  |  2.4.0.0  |  3.3.3883.0  |  4.0  |  3.6.1  | 
|   ** Windows Server Core 2019 with IIS 10.0 2.22.3 版**   |  2026.03.11  |  3.7.1239.0  |  2.4.0.0  |  3.3.3883.0  |  4.0  |  3.6.1  | 
|   ** Windows Server 2016 with IIS 10.0 2.22.3 版**   |  2026.03.11  |  3.7.1239.0  |  2.4.0.0  |  3.3.3883.0  |  4.0  |  3.6.1  | 
|   ** Windows Server Core 2016 with IIS 10.0 2.22.3 版**   |  2026.03.11  |  3.7.1239.0  |  2.4.0.0  |  3.3.3883.0  |  4.0  |  3.6.1  | 

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

Amazon Linux 2 上的每個 Node.js 平台版本都支援多個 Node.js 語言版本。僅預先安裝預設 Node.js 版本。有效的 Node.js 版本，以及預設版本均列在下表中。從 Amazon Linux 2023 開始，每個平台版本只能使用一個 Node.js 版本。每個 Node.js 版本都包含各個版本的 npm (Node.js 套件管理工具)。下表在括號中列出了 npm 的版本。

Elastic Beanstalk 支援下列 Node.js 平台版本。


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Node.js 版本 (npm 版本)  |  代理伺服器  |  Git  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Node.js 24 AL2023 6.10.0 版**   * 64bit Amazon Linux 2023 v6.10.0 running Node.js 24 *   |  2023.10.20260325  |  24.14.1 (11.11.0)  預設版本：v24.14.1  |  nginx 1.28.2 （預設）、Apache 2.4.66  |  2.50.1  |  3.6.2  | 
|   ** Node.js 22 AL2023 6.10.0 版**   * 64bit Amazon Linux 2023 v6.10.0 running Node.js 22 *   |  2023.10.20260325  |  22.22.2 (10.9.7)  預設版本：v22.22.2  |  nginx 1.28.2 （預設）、Apache 2.4.66  |  2.50.1  |  3.6.2  | 
|   ** Node.js 20 AL2023 6.10.0 版**   * 64bit Amazon Linux 2023 v6.10.0 running Node.js 20 *   |  2023.10.20260325  |  20.20.1 (10.8.2)  預設版本：20.20.1  |  nginx 1.28.2 （預設）、Apache 2.4.66  |  2.50.1  |  3.6.2  | 

 如需在[平台支援原則](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-support-policy.html)中所發佈與排定淘汰之平台版本的更多資訊，請參閱在*淘汰平台版本*頁面中的[Node.js](platforms-retiring.md#platforms-retiring.nodejs)。如需舊平台版本的詳細資訊，請參閱[Node.js 平台歷史記錄](platform-history-nodejs.md)。

**注意**  
如果您所使用的 Node.js 版本的支援已從平台版本移除，您必須在[平台更新](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.platform.upgrade.html)之前變更或移除版本設定。在識別 Node.js 版本的安全漏洞，或是該版本已遭淘汰時可能發生。  
此時，如果嘗試將不支援已設定 Node.js 版本的平台更新至新版本，此動作將會失敗。若要避免須建立新環境：  
 *Amazon Linux 2* – 請將 `package.json` 中的 Node.js 版本設定變更為新舊平台版本皆支援的 Node.js 版本，或是移除設定，然後部署新的原始碼套件。只有在這個時候，才會執行平台更新。
 *Amazon Linux AMI* – 變更 `NodeVersion` 組態選項變更為新舊平台版本皆支援的版本，或是[移除選項設定](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/environment-configuration-methods-after.html)，然後執行平台更新。

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

Elastic Beanstalk 支援下列 PHP 平台版本。


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|   ** PHP 8.5 AL2023 4.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running PHP 8.5 *   |  2023.10.20260325  |  PHP 8.5.4  |  Composer 2.9.5、PIE 1.3.10  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** PHP 8.4 AL2023 4.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running PHP 8.4 *   |  2023.10.20260325  |  PHP 8.4.19  |  Composer 2.9.5、PIE 1.3.10  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** PHP 8.3 AL2023 4.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running PHP 8.3 *   |  2023.10.20260325  |  PHP 8.3.30  |  Composer 2.9.5、PIE 1.3.10  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** PHP 8.2 AL2023 4.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running PHP 8.2 *   |  2023.10.20260325  |  PHP 8.2.30  |  Composer 2.9.5、PIE 1.3.10  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** PHP 8.1 AL2023 4.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running PHP 8.1 *   |  2023.10.20260325  |  PHP 8.1.34  |  Composer 2.9.5、PIE 1.3.10  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** PHP 8.1 AL2 3.14.0 版**   * 64bit Amazon Linux 2 v3.14.0 running PHP 8.1 *   |  2.0.20260302  |  PHP 8.1.33  |  Composer 2.9.5  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 

 如需在[平台支援原則](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-support-policy.html)中所發佈與排定淘汰之平台版本的更多資訊，請參閱在*淘汰平台版本*頁面中的[PHP](platforms-retiring.md#platforms-retiring.PHP)。如需舊平台版本的詳細資訊，請參閱[PHP 平台歷史記錄](platform-history-php.md)。

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

Elastic Beanstalk 支援下列 Python 平台版本。


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Python 3.14 AL2023 4.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running Python 3.14 *   |  2023.10.20260325  |  Python 3.14.3  |  pip 26.0.1， pipenv 2026.4.0  |  3.6.2  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** Python 3.13 AL2023 4.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running Python 3.13 *   |  2023.10.20260325  |  Python 3.13.12  |  pip 26.0.1， pipenv 2026.4.0  |  3.6.2  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** Python 3.12 AL2023 4.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running Python 3.12 *   |  2023.10.20260325  |  Python 3.12.13  |  pip 26.0.1， pipenv 2026.4.0  |  3.6.2  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** Python 3.11 AL2023 4.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running Python 3.11 *   |  2023.10.20260325  |  Python 3.11.14  |  pip 26.0.1， pipenv 2026.4.0  |  3.6.2  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 
|   ** Python 3.9 AL2023 4.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running Python 3.9 *   |  2023.10.20260325  |  Python 3.9.25  |  pip 26.0.1， pipenv 2025.0.4  |  3.6.2  |  nginx 1.28.2 （預設）、Apache 2.4.66  | 

 如需在[平台支援原則](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-support-policy.html)中所發佈與排定淘汰之平台版本的更多資訊，請參閱在*淘汰平台版本*頁面中的[Python](platforms-retiring.md#platforms-retiring.python)。如需舊平台版本的詳細資訊，請參閱[Python 平台歷史記錄](platform-history-python.md)。

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

Elastic Beanstalk 支援下列 Ruby 平台版本。


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  應用程式伺服器  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | 
|   ** Ruby 4.0 AL2023 4.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running Ruby 4.0 *   |  2023.10.20260325  |  Ruby 4.0.2-p0  |  RubyGems 4.0.6  |  Puma 7.2.0  |  3.6.2  |  nginx 1.28.2  | 
|   ** Ruby 3.4 AL2023 4.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running Ruby 3.4 *   |  2023.10.20260325  |  Ruby 3.4.9-p82  |  RubyGems 3.6.9  |  Puma 7.2.0  |  3.6.2  |  nginx 1.28.2  | 
|   ** Ruby 3.3 AL2023 4.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running Ruby 3.3 *   |  2023.10.20260325  |  Ruby 3.3.11-p205  |  RubyGems 3.5.22  |  Puma 7.2.0  |  3.6.2  |  nginx 1.28.2  | 
|   ** Ruby 3.2 AL2023 4.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running Ruby 3.2 *   |  2023.10.20260325  |  Ruby 3.2.8  |  RubyGems 3.4.19  |  Puma 7.2.0  |  3.6.2  |  nginx 1.28.2  | 

 如需在[平台支援原則](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-support-policy.html)中所發佈與排定淘汰之平台版本的更多資訊，請參閱在*淘汰平台版本*頁面中的[Ruby](platforms-retiring.md#platforms-retiring.ruby)。如需舊平台版本的詳細資訊，請參閱[Ruby 平台歷史記錄](platform-history-ruby.md)。

# 排定淘汰的 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)
+ [

## 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.7.0 版**   * 64bit Amazon Linux 2 v4.7.0 running Docker *   |  2.0.20260302  |    |  25.0.14  |  5.1.0  |  nginx 1.28.2  |  2026-06-30  | 
|   ** ECS AL2 3.8.0 版**   * 64bit Amazon Linux 2 v3.8.0 running ECS *   |  2.0.20260302  |  1.101.3  |  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.17.0 版**   * 64bit Amazon Linux 2 v3.17.0 running Go 1 *   |  2.0.20260302  |  Go 1.26.1  |  3.6.2  |  nginx 1.28.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.12.0 版**   * 64bit Amazon Linux 2 v3.12.0 running Corretto 17 *   |  2.0.20260302  |  Corretto 17.0.18.9.1  |  Ant 1.10.15、Gradle 8.14.4、Maven 3.9.13  |  3.6.2  |  nginx 1.28.2  |  2026-06-30  | 
|   ** Corretto 11 3.12.0 版**   * 64bit Amazon Linux 2 v3.12.0 running Corretto 11 *   |  2.0.20260302  |  Corretto 11.0.30.7.1  |  Ant 1.10.15、Gradle 8.14.4、Maven 3.9.13  |  3.6.2  |  nginx 1.28.2  |  2026-06-30  | 
|   ** Corretto 8 3.12.0 版**   * 64bit Amazon Linux 2 v3.12.0 running Corretto 8 *   |  2.0.20260302  |  Corretto 8.482.08.1  |  Ant 1.10.15、Gradle 8.14.4、Maven 3.9.13  |  3.6.2  |  nginx 1.28.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.12.0 版**   * 64bit Amazon Linux 2 v4.12.0 running Tomcat 9 Corretto 11 *   |  2.0.20260302  |  Corretto 11.0.30.7.1  |  3.6.2  |  Tomcat 9.0.110  |  nginx 1.28.2 （預設）、Apache 2.4.66  |  2026-06-30  | 
|   ** Corretto 8 with Tomcat 9 AL2 4.12.0 版**   * 64bit Amazon Linux 2 v4.12.0 running Tomcat 9 Corretto 8 *   |  2.0.20260302  |  Corretto 8.482.08.1  |  3.6.2  |  Tomcat 9.0.110  |  nginx 1.28.2 （預設）、Apache 2.4.66  |  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 Core on AL2 2.14.0 版**   * 64bit Amazon Linux 2 v2.14.0 running .NET Core *   |  .NET 8.0.24，支援 8.0.24  |  nginx 1.28.2  |  2.0.20260302  |  3.6.2  |  2026-06-30  | 

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

## 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.10.0 版**   * 64bit Amazon Linux 2023 v6.10.0 running Node.js 20 *   |  2023.10.20260325  |  20.20.1 (10.8.2)  預設版本：20.20.1  |  nginx 1.28.2 （預設）、Apache 2.4.66  |  2.50.1  |  3.6.2  |  2026-07-31  | 

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

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

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  代理伺服器  |  結束日期  | 
| --- | --- | --- | --- | --- | --- | 
|   ** PHP 8.1 AL2023 4.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running PHP 8.1 *   |  2023.10.20260325  |  PHP 8.1.34  |  Composer 2.9.5、PIE 1.3.10  |  nginx 1.28.2 （預設）、Apache 2.4.66  |  2026-03-31  | 
|   ** PHP 8.1 AL2 3.14.0 版**   * 64bit Amazon Linux 2 v3.14.0 running PHP 8.1 *   |  2.0.20260302  |  PHP 8.1.33  |  Composer 2.9.5  |  nginx 1.28.2 （預設）、Apache 2.4.66  |  2026-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.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running Python 3.9 *   |  2023.10.20260325  |  Python 3.9.25  |  pip 26.0.1， pipenv 2025.0.4  |  3.6.2  |  nginx 1.28.2 （預設）、Apache 2.4.66  |  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.12.0 版**   * 64bit Amazon Linux 2023 v4.12.0 running Ruby 3.2 *   |  2023.10.20260325  |  Ruby 3.2.8  |  RubyGems 3.4.19  |  Puma 7.2.0  |  3.6.2  |  nginx 1.28.2  |  2026-07-31  | 

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

# 公開 Beta 版的 Elastic Beanstalk 平台版本
<a name="platforms-beta"></a>

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

此頁面列出新的平台版本。此時這些版本已在我們的公開 Beta 版計劃推出。這些平台版本僅供評估之用。請注意，這些 Beta 平台版本並非最終版本，且我們可能會在完成支援這些平台之前變更部分命名與實作詳細資訊。

 *目前，我們的公開 Beta 版沒有新的平台版本。*