

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

# 支援 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.13.1 版** <br /> * 64bit Amazon Linux 2023 v4.13.1 running Docker *  | 2023.11.20260526 |  | 25.0.14 | 5.1.4 | nginx 1.30.1 | 
|  ** ECS AL2023 4.7.1 版** <br /> * 64bit Amazon Linux 2023 v4.7.1 running ECS *  | 2023.11.20260526 | 1.103.1 | 25.0.14 |  |  | 
|  ** Docker AL2 4.9.0 版** <br /> * 64bit Amazon Linux 2 v4.9.0 running Docker *  | 2.0.20260526 |  | 25.0.14 | 5.1.4 | nginx 1.30.1 | 
|  ** ECS AL2 3.10.0 版** <br /> * 64bit Amazon Linux 2 v3.10.0 running ECS *  | 2.0.20260526 | 1.103.1 | 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.9.1 版** <br /> * 64bit Amazon Linux 2023 v4.9.1 running Go 1 *  | 2023.11.20260526 | Go 1.25.10 | 3.6.4 | nginx 1.30.1 | 
|  ** Go 1 AL2 3.19.0 版** <br /> * 64bit Amazon Linux 2 v3.19.0 running Go 1 *  | 2.0.20260526 | Go 1.26.3 | 3.6.4 | nginx 1.30.1 | 

 如需在[平台支援原則](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.12.1 版** <br /> * 64bit Amazon Linux 2023 v4.12.1 running Corretto 25 *  | 2023.11.20260526 | Corretto 25.0.3.9.1 | Ant 1.10.17、Gradle 9.5.1、Maven 3.9.16 | 3.6.4 | nginx 1.30.1 | 
|  ** Corretto 21 AL2023 4.12.1 版** <br /> * 64bit Amazon Linux 2023 v4.12.1 running Corretto 21 *  | 2023.11.20260526 | Corretto 21.0.11.10.1 | Ant 1.10.17、Gradle 9.5.1、Maven 3.9.16 | 3.6.4 | nginx 1.30.1 | 
|  ** Corretto 17 AL2023 4.12.1 版** <br /> * 64bit Amazon Linux 2023 v4.12.1 running Corretto 17 *  | 2023.11.20260526 | Corretto 17.0.19.10.1 | Ant 1.10.17、Gradle 9.5.1、Maven 3.9.16 | 3.6.4 | nginx 1.30.1 | 
|  ** Corretto 11 AL2023 4.12.1 版** <br /> * 64bit Amazon Linux 2023 v4.12.1 running Corretto 11 *  | 2023.11.20260526 | Corretto 11.0.31.11.1 | Ant 1.10.17、Gradle 8.14.5、Maven 3.9.16 | 3.6.4 | nginx 1.30.1 | 
|  ** Corretto 8 AL2023 4.12.1 版** <br /> * 64bit Amazon Linux 2023 v4.12.1 running Corretto 8 *  | 2023.11.20260526 | Corretto 8.492.09.1 | Ant 1.10.17、Gradle 8.14.5、Maven 3.9.16 | 3.6.4 | nginx 1.30.1 | 
|  ** Corretto 17 3.14.0 版** <br /> * 64bit Amazon Linux 2 v3.14.0 running Corretto 17 *  | 2.0.20260526 | Corretto 17.0.19.10.1 | Ant 1.10.17、Gradle 8.14.5、Maven 3.9.16 | 3.6.4 | nginx 1.30.1 | 
|  ** Corretto 11 3.14.0 版** <br /> * 64bit Amazon Linux 2 v3.14.0 running Corretto 11 *  | 2.0.20260526 | Corretto 11.0.31.11.1 | Ant 1.10.17、Gradle 8.14.5、Maven 3.9.16 | 3.6.4 | nginx 1.30.1 | 
|  ** Corretto 8 3.14.0 版** <br /> * 64bit Amazon Linux 2 v3.14.0 running Corretto 8 *  | 2.0.20260526 | Corretto 8.492.09.1 | Ant 1.10.17、Gradle 8.14.5、Maven 3.9.16 | 3.6.4 | nginx 1.30.1 | 

 如需在[平台支援原則](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.14.1 版** <br /> * 64bit Amazon Linux 2023 v5.14.1 running Tomcat 11 Corretto 25 *  | 2023.11.20260526 | Corretto 25.0.3.9.1 | 3.6.4 | Tomcat 11.0.22 | nginx 1.30.1 （預設）、Apache 2.4.67 | 
|  ** Corretto 21 with Tomcat 11 AL2023 5.14.1 版** <br /> * 64bit Amazon Linux 2023 v5.14.1 running Tomcat 11 Corretto 21 *  | 2023.11.20260526 | Corretto 21.0.11.10.1 | 3.6.4 | Tomcat 11.0.22 | nginx 1.30.1 （預設）、Apache 2.4.67 | 
|  ** Corretto 17 with Tomcat 11 AL2023 5.14.1 版** <br /> * 64bit Amazon Linux 2023 v5.14.1 running Tomcat 11 Corretto 17 *  | 2023.11.20260526 | Corretto 17.0.19.10.1 | 3.6.4 | Tomcat 11.0.22 | nginx 1.30.1 （預設）、Apache 2.4.67 | 
|  ** Corretto 21 with Tomcat 10 AL2023 5.14.1 版** <br /> * 64bit Amazon Linux 2023 v5.14.1 running Tomcat 10 Corretto 21 *  | 2023.11.20260526 | Corretto 21.0.11.10.1 | 3.6.4 | Tomcat 10.1.55 | nginx 1.30.1 （預設）、Apache 2.4.67 | 
|  ** Corretto 17 with Tomcat 10 AL2023 5.14.1 版** <br /> * 64bit Amazon Linux 2023 v5.14.1 running Tomcat 10 Corretto 17 *  | 2023.11.20260526 | Corretto 17.0.19.10.1 | 3.6.4 | Tomcat 10.1.55 | nginx 1.30.1 （預設）、Apache 2.4.67 | 
|  ** Corretto 17 with Tomcat 9 AL2023 5.14.1 版** <br /> * 64bit Amazon Linux 2023 v5.14.1 running Tomcat 9 Corretto 17 *  | 2023.11.20260526 | Corretto 17.0.19.10.1 | 3.6.4 | Tomcat 9.0.117 | nginx 1.30.1 （預設）、Apache 2.4.67 | 
|  ** Corretto 11 with Tomcat 9 AL2023 5.14.1 版** <br /> * 64bit Amazon Linux 2023 v5.14.1 running Tomcat 9 Corretto 11 *  | 2023.11.20260526 | Corretto 11.0.31.11.1 | 3.6.4 | Tomcat 9.0.117 | nginx 1.30.1 （預設）、Apache 2.4.67 | 
|  ** Corretto 8 with Tomcat 9 AL2023 5.14.1 版** <br /> * 64bit Amazon Linux 2023 v5.14.1 running Tomcat 9 Corretto 8 *  | 2023.11.20260526 | Corretto 8.492.09.1 | 3.6.4 | Tomcat 9.0.118 | nginx 1.30.1 （預設）、Apache 2.4.67 | 
|  ** Corretto 11 with Tomcat 9 AL2 4.14.0 版** <br /> * 64bit Amazon Linux 2 v4.14.0 running Tomcat 9 Corretto 11 *  | 2.0.20260526 | Corretto 11.0.31.11.1 | 3.6.4 | Tomcat 9.0.117 | nginx 1.30.1 （預設）、Apache 2.4.67 | 
|  ** Corretto 8 with Tomcat 9 AL2 4.14.0 版** <br /> * 64bit Amazon Linux 2 v4.14.0 running Tomcat 9 Corretto 8 *  | 2.0.20260526 | Corretto 8.492.09.1 | 3.6.4 | Tomcat 9.0.117 | nginx 1.30.1 （預設）、Apache 2.4.67 | 

 如需在[平台支援原則](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.11.1 版** <br /> * 64bit Amazon Linux 2023 v3.11.1 running .NET 10 *  | .NET 10.0.8，支援 10.0.8 | nginx 1.30.1 | 2023.11.20260526 | 3.6.4 | 
|  ** .NET 9 on AL2023 3.11.1 版** <br /> * 64bit Amazon Linux 2023 v3.11.1 running .NET 9 *  | .NET 9.0.16，支援 9.0.16 | nginx 1.30.1 | 2023.11.20260526 | 3.6.4 | 
|  ** .NET 8 on AL2023 3.11.1 版** <br /> * 64bit Amazon Linux 2023 v3.11.1 running .NET 8 *  | .NET 8.0.27，支援 8.0.27 | nginx 1.30.1 | 2023.11.20260526 | 3.6.4 | 
|  ** .NET Core on AL2 2.16.0 版** <br /> * 64bit Amazon Linux 2 v2.16.0 running .NET Core *  | .NET 8.0.27，支援 8.0.27 | nginx 1.30.1 | 2.0.20260526 | 3.6.4 | 

 如需在[平台支援原則](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/)。

 如需在[平台支援政策](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-support-policy.html)中所發佈與排定淘汰之 .NET on Windows Server 平台版本的更多資訊，請參閱在*淘汰平台版本*頁面中的 [Windows Server 上的 .NET](platforms-retiring.md#platforms-retiring.net)。如需適用於 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.23.1 版**  |  * 64bit Windows Server 2025 v2.23.1 running IIS 10.0 *  | .NET 10.0.8，支援 10.0.8、9.0.16、8.0.27<br />.NET Framework 4.8.1，支援 4.x、2.0 | IIS 10.0 | 
|  ** Windows Server Core 2025 with IIS 10.0 2.23.1 版**  |  * 64bit Windows Server Core 2025 v2.23.1 running IIS 10.0 *  | .NET 10.0.8，支援 10.0.8、9.0.16、8.0.27<br />.NET Framework 4.8.1，支援 4.x、2.0 | IIS 10.0 | 
|  ** Windows Server 2022 with IIS 10.0 2.23.1 版**  |  * 64bit Windows Server 2022 v2.23.1 running IIS 10.0 *  | .NET 10.0.8，支援 10.0.8、9.0.16、8.0.27<br />.NET Framework 4.8.1，支援 4.x、2.0 | IIS 10.0 | 
|  ** Windows Server Core 2022 with IIS 10.0 2.23.1 版**  |  * 64bit Windows Server Core 2022 v2.23.1 running IIS 10.0 *  | .NET 10.0.8，支援 10.0.8、9.0.16、8.0.27<br />.NET Framework 4.8.1，支援 4.x、2.0 | IIS 10.0 | 
|  ** Windows Server 2019 with IIS 10.0 2.23.1 版**  |  * 64bit Windows Server 2019 v2.23.1 running IIS 10.0 *  | .NET 10.0.8，支援 10.0.8、9.0.16、8.0.27<br />.NET Framework 4.8，支援 4.x、2.0 | IIS 10.0 | 
|  ** Windows Server Core 2019 with IIS 10.0 2.23.1 版**  |  * 64bit Windows Server Core 2019 v2.23.1 running IIS 10.0 *  | .NET 10.0.8，支援 10.0.8、9.0.16、8.0.27<br />.NET Framework 4.8，支援 4.x、2.0 | IIS 10.0 | 
|  ** Windows Server 2016 with IIS 10.0 2.23.1 版**  |  * 64bit Windows Server 2016 v2.23.1 running IIS 10.0 *  | .NET 10.0.8，支援 10.0.8、9.0.16、8.0.27<br />.NET Framework 4.8，支援 4.x、2.0 | IIS 10.0 | 
|  ** Windows Server Core 2016 with IIS 10.0 2.23.1 版**  |  * 64bit Windows Server Core 2016 v2.23.1 running IIS 10.0 *  | .NET 10.0.8，支援 10.0.8、9.0.16、8.0.27<br />.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.23.1 版**  | 2026.05.13 | 3.7.1251.1 | 2.5.0 | 3.3.4268.0 | 4.0 | 3.6.3 | 
|  ** Windows Server Core 2025 with IIS 10.0 2.23.1 版**  | 2026.05.13 | 3.7.1251.1 | 2.5.0 | 3.3.4268.0 | 4.0 | 3.6.3 | 
|  ** Windows Server 2022 with IIS 10.0 2.23.1 版**  | 2026.05.13 | 3.7.1251.1 | 2.5.0 | 3.3.4268.0 | 4.0 | 3.6.3 | 
|  ** Windows Server Core 2022 with IIS 10.0 2.23.1 版**  | 2026.05.13 | 3.7.1251.1 | 2.5.0 | 3.3.4268.0 | 4.0 | 3.6.3 | 
|  ** Windows Server 2019 with IIS 10.0 2.23.1 版**  | 2026.05.13 | 3.7.1251.1 | 2.5.0 | 3.3.4268.0 | 4.0 | 3.6.3 | 
|  ** Windows Server Core 2019 with IIS 10.0 2.23.1 版**  | 2026.05.13 | 3.7.1251.1 | 2.5.0 | 3.3.4268.0 | 4.0 | 3.6.3 | 
|  ** Windows Server 2016 with IIS 10.0 2.23.1 版**  | 2026.05.13 | 3.7.1251.1 | 2.5.0 | 3.3.4268.0 | 4.0 | 3.6.3 | 
|  ** Windows Server Core 2016 with IIS 10.0 2.23.1 版**  | 2026.05.13 | 3.7.1251.1 | 2.5.0 | 3.3.4268.0 | 4.0 | 3.6.3 | 

## 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.11.1 版** <br /> * 64bit Amazon Linux 2023 v6.11.1 running Node.js 24 *  | 2023.11.20260526 | 24.16.0 (11.13.0)<br /> 預設版本：v24.16.0 | nginx 1.30.1 （預設）、Apache 2.4.67 | 2.50.1 | 3.6.4 | 
|  ** Node.js 22 AL2023 6.11.1 版** <br /> * 64bit Amazon Linux 2023 v6.11.1 running Node.js 22 *  | 2023.11.20260526 | 22.22.3 (10.9.8)<br /> 預設版本：v22.22.3 | nginx 1.30.1 （預設）、Apache 2.4.67 | 2.50.1 | 3.6.4 | 
|  ** Node.js 20 AL2023 6.11.1 版** <br /> * 64bit Amazon Linux 2023 v6.11.1 running Node.js 20 *  | 2023.11.20260526 | 20.20.2 (10.8.2)<br /> 預設版本：20.20.2 | nginx 1.30.1 （預設）、Apache 2.4.67 | 2.50.1 | 3.6.4 | 

 如需在[平台支援原則](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.13.1 版** <br /> * 64bit Amazon Linux 2023 v4.13.1 running PHP 8.5 *  | 2023.11.20260526 | PHP 8.5.6 | Composer 2.9.8、PIE 1.4.5 | nginx 1.30.1 （預設）、Apache 2.4.67 | 
|  ** PHP 8.4 AL2023 4.13.1 版** <br /> * 64bit Amazon Linux 2023 v4.13.1 running PHP 8.4 *  | 2023.11.20260526 | PHP 8.4.21 | Composer 2.9.8、PIE 1.4.5 | nginx 1.30.1 （預設）、Apache 2.4.67 | 
|  ** PHP 8.3 AL2023 4.13.1 版** <br /> * 64bit Amazon Linux 2023 v4.13.1 running PHP 8.3 *  | 2023.11.20260526 | PHP 8.3.31 | Composer 2.9.8、PIE 1.4.5 | nginx 1.30.1 （預設）、Apache 2.4.67 | 
|  ** PHP 8.2 AL2023 4.13.1 版** <br /> * 64bit Amazon Linux 2023 v4.13.1 running PHP 8.2 *  | 2023.11.20260526 | PHP 8.2.31 | Composer 2.9.8、PIE 1.4.5 | nginx 1.30.1 （預設）、Apache 2.4.67 | 

 如需在[平台支援原則](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.13.1 版** <br /> * 64bit Amazon Linux 2023 v4.13.1 running Python 3.14 *  | 2023.11.20260526 | Python 3.14.5 | pip 26.1.1， pipenv 2026.6.1 | 3.6.4 | nginx 1.30.1 （預設）、Apache 2.4.67 | 
|  ** Python 3.13 AL2023 4.13.1 版** <br /> * 64bit Amazon Linux 2023 v4.13.1 running Python 3.13 *  | 2023.11.20260526 | Python 3.13.13 | pip 26.1.1， pipenv 2026.6.1 | 3.6.4 | nginx 1.30.1 （預設）、Apache 2.4.67 | 
|  ** Python 3.12 AL2023 4.13.1 版** <br /> * 64bit Amazon Linux 2023 v4.13.1 running Python 3.12 *  | 2023.11.20260526 | Python 3.12.13 | pip 26.1.1， pipenv 2026.6.1 | 3.6.4 | nginx 1.30.1 （預設）、Apache 2.4.67 | 
|  ** Python 3.11 AL2023 4.13.1 版** <br /> * 64bit Amazon Linux 2023 v4.13.1 running Python 3.11 *  | 2023.11.20260526 | Python 3.11.15 | pip 26.1.1， pipenv 2026.6.1 | 3.6.4 | nginx 1.30.1 （預設）、Apache 2.4.67 | 
|  ** Python 3.9 AL2023 4.13.1 版** <br /> * 64bit Amazon Linux 2023 v4.13.1 running Python 3.9 *  | 2023.11.20260526 | Python 3.9.25 | pip 26.0.1， pipenv 2025.0.4 | 3.6.4 | nginx 1.30.1 （預設）、Apache 2.4.67 | 

 如需在[平台支援原則](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.14.1 版** <br /> * 64bit Amazon Linux 2023 v4.14.1 running Ruby 4.0 *  | 2023.11.20260526 | Ruby 4.0.5-p0 | RubyGems 4.0.10 | Puma 8.0.2 | 3.6.4 | nginx 1.30.1 | 
|  ** Ruby 3.4 AL2023 4.14.1 版** <br /> * 64bit Amazon Linux 2023 v4.14.1 running Ruby 3.4 *  | 2023.11.20260526 | Ruby 3.4.9-p82 | RubyGems 3.6.9 | Puma 8.0.2 | 3.6.4 | nginx 1.30.1 | 
|  ** Ruby 3.3 AL2023 4.14.1 版** <br /> * 64bit Amazon Linux 2023 v4.14.1 running Ruby 3.3 *  | 2023.11.20260526 | Ruby 3.3.11-p205 | RubyGems 3.5.22 | Puma 8.0.2 | 3.6.4 | nginx 1.30.1 | 
|  ** Ruby 3.2 AL2023 4.14.1 版** <br /> * 64bit Amazon Linux 2023 v4.14.1 running Ruby 3.2 *  | 2023.11.20260526 | Ruby 3.2.8 | RubyGems 3.4.19 | Puma 8.0.2 | 3.6.4 | nginx 1.30.1 | 

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