

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

# 版本：2025 年 4 月 24 日 Elastic Beanstalk Amazon Linux 2 平台更新
<a name="release-2025-04-24-al2"></a>

此版本為基於 Amazon Linux 2 的 AWS Elastic Beanstalk 平台提供了新版本。此版本內含安全性更新，它還包括 AMI、Docker、以 ECS 為基礎的 Docker、Go、Tomcat、.NET Core、Node.js 和 PHP AL2 平台更新。

**版本日期：**2025 年 4 月 24 日

## 變更
<a name="release-2025-04-24-al2.changes"></a>

下表列出此版本中包含的變更。

**備註**  
這些版本備註著重於目前支援平台分支的變更。如需 Elastic Beanstalk 淘汰 (已取代) 平台分支的完整版本資訊，請參閱 *AWS Elastic Beanstalk 平台*指南中的[排定淘汰的 Elastic Beanstalk 平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。
請注意，發佈這些版本備註時，新平台版本可能尚未在所有 Elastic Beanstalk 支援的 AWS 區域中提供。發行可能需要幾個小時才能完成。


| **類別** | **描述** | 
| --- | --- | 
| **元件** | **更新** | 
| --- | --- | 
| **平台** | **更新** | 
| --- | --- | 
|  **安全性更新**  |  已將 2**025 年 4 月 16** 日或之前在 [Amazon Linux 安全中心](https://alas.aws.amazon.com/alas2.html)發佈的所有安全性更新，套用至所有 Amazon Linux 2 平台。  | 
|  **跨平台更新**  |  執行下列跨平台更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2025-04-24-al2.html)  | 
|  **平台特定更新**  |  執行下列平台特定更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2025-04-24-al2.html)  | 
|  **AMI**  |  將基本 AMI 更新至 2.0.20250414 版。  | 
|  **Docker**  |  **ECS Docker 平台分支** [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2025-04-24-al2.html) **Docker 平台分支** [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2025-04-24-al2.html)  | 
|  **Go**  |  已將 Go 更新至 [1.24.2](https://go.dev/doc/devel/release#go1.24.2) 版。  | 
|  **Tomcat**  |  已將 Tomcat 9 更新至 [9.0.102](https://tomcat.apache.org/tomcat-9.0-doc/changelog.html) 版。  | 
|  **.NET Core**  |  將 .NET Core 更新至 [8.0.15](https://github.com/dotnet/core/blob/main/release-notes/8.0/8.0.15/8.0.15.md) 版。 .NET 6 正在從 Amazon Linux 2 平台上的 .NET Core 中移除，因為它已超過 Microsoft 的支援結束日期。如需詳細資訊，請參閱 Microsoft 網站上的 [.NET 和 .NET Core 支援政策](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core)。  | 
|  **Node.js**  |  Node.js 18 平台分支現在標記為*已棄用*，其排程淘汰日期為 2025 年 7 月 31 日。  | 
|  **PHP**  |  將 Composer 更新至 [2.8.8 ](https://github.com/composer/composer/releases/tag/2.8.8)版。  | 

## 新的平台版本
<a name="release-2025-04-24-al2.platforms"></a>

**備註**  
下表列出每個平台所有*支援的*平台分支，包括 Amazon Linux 2023。此版本中僅更新 Amazon Linux 2 平台分支。
下表*僅列出支援的*平台分支。它們不會列出已棄用的平台分支。如需 Elastic Beanstalk *已棄用*平台分支的完整版本資訊，請參閱《 平台指南》中的[排定淘汰的 Elastic Beanstalk 平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。 *AWS Elastic Beanstalk *

**Topics**
+ [Docker](#release-2025-04-24-al2.platforms.docker)
+ [Go](#release-2025-04-24-al2.platforms.go)
+ [Java SE](#release-2025-04-24-al2.platforms.javase)
+ [Tomcat](#release-2025-04-24-al2.platforms.java)
+ [Linux 上的 .NET Core](#release-2025-04-24-al2.platforms.dotnetlinux)
+ [Node.js](#release-2025-04-24-al2.platforms.nodejs)
+ [PHP](#release-2025-04-24-al2.platforms.PHP)
+ [Python](#release-2025-04-24-al2.platforms.python)
+ [Ruby](#release-2025-04-24-al2.platforms.ruby)

### Docker
<a name="release-2025-04-24-al2.platforms.docker"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  ECS 代理程式  |  Docker  |  Docker Compose  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Docker AL2023 4.5.1 版**   * 64bit Amazon Linux 2023 v4.5.1 running Docker *   |  2023.7.20250414  |    |  25.0.8  |  2.35.1  |  nginx 1.26.3  | 
|   ** ECS AL2023 4.1.1 版**   * 64bit Amazon Linux 2023 v4.1.1 running ECS *   |  2023.7.20250414  |  1.91.2  |  25.0.8  |    |    | 
|   ** Docker AL2 4.1.1 版**   * 64bit Amazon Linux 2 v4.1.1 running Docker *   |  2.0.20250414  |    |  25.0.8  |  2.35.1  |  nginx 1.26.3  | 
|   ** ECS AL2 3.4.1 版**   * 64bit Amazon Linux 2 v3.4.1 running ECS *   |  2.0.20250414  |  1.91.2  |  25.0.8  |    |    | 

### Go
<a name="release-2025-04-24-al2.platforms.go"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|   ** Go 1 AL2023 4.3.1 版**   * 64bit Amazon Linux 2023 v4.3.1 running Go 1 *   |  2023.7.20250414  |  Go 1.24.2  |  3.3.14  |  nginx 1.26.3  | 
|   ** Go 1 AL2 3.12.1 版**   * 64bit Amazon Linux 2 v3.12.1 running Go 1 *   |  2.0.20250414  |  Go 1.24.2  |  3.3.14  |  nginx 1.26.3  | 

### Java SE
<a name="release-2025-04-24-al2.platforms.javase"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  工具  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Corretto 21 AL2023 4.5.1 版**   * 64bit Amazon Linux 2023 v4.5.1 running Corretto 21 *   |  2023.7.20250414  |  Corretto 21.0.6.7.1  |  Ant 1.10.15、Gradle 8.13、Maven 3.9.9  |  3.3.14  |  nginx 1.26.3  | 
|   ** Corretto 17 AL2023 4.5.1 版**   * 64bit Amazon Linux 2023 v4.5.1 running Corretto 17 *   |  2023.7.20250414  |  Corretto 17.0.14.7.1  |  Ant 1.10.15、Gradle 8.13、Maven 3.9.9  |  3.3.14  |  nginx 1.26.3  | 
|   ** Corretto 11 AL2023 4.5.1 版**   * 64bit Amazon Linux 2023 v4.5.1 running Corretto 11 *   |  2023.7.20250414  |  Corretto 11.0.26.4.1  |  Ant 1.10.15、Gradle 8.13、Maven 3.9.9  |  3.3.14  |  nginx 1.26.3  | 
|   ** Corretto 8 AL2023 4.5.1 版**   * 64bit Amazon Linux 2023 v4.5.1 running Corretto 8 *   |  2023.7.20250414  |  Corretto 8.442.06.1  |  Ant 1.10.15、Gradle 8.13、Maven 3.9.9  |  3.3.14  |  nginx 1.26.3  | 
|   ** Corretto 17 3.8.1 版**   * 64bit Amazon Linux 2 v3.8.1 running Corretto 17 *   |  2.0.20250414  |  Corretto 17.0.14.7.1  |  Ant 1.10.15、Gradle 8.13、Maven 3.9.9  |  3.3.14  |  nginx 1.26.3  | 
|   ** Corretto 11 3.8.1 版**   * 64bit Amazon Linux 2 v3.8.1 running Corretto 11 *   |  2.0.20250414  |  Corretto 11.0.26.4.1  |  Ant 1.10.15、Gradle 8.13、Maven 3.9.9  |  3.3.14  |  nginx 1.26.3  | 
|   ** Corretto 8 3.8.1 版**   * 64bit Amazon Linux 2 v3.8.1 running Corretto 8 *   |  2.0.20250414  |  Corretto 8.442.06.1  |  Ant 1.10.15、Gradle 8.13、Maven 3.9.9  |  3.3.14  |  nginx 1.26.3  | 

### Tomcat
<a name="release-2025-04-24-al2.platforms.java"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  應用程式伺服器  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Corretto 21 with Tomcat 11 AL2023 5.6.1 版**   * 64bit Amazon Linux 2023 v5.6.1 running Tomcat 11 Corretto 21 *   |  2023.7.20250414  |  Corretto 21.0.6.7.1  |  3.3.14  |  Tomcat 11.0.6  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 
|   ** Corretto 17 with Tomcat 11 AL2023 5.6.1 版**   * 64bit Amazon Linux 2023 v5.6.1 running Tomcat 11 Corretto 17 *   |  2023.7.20250414  |  Corretto 17.0.14.7.1  |  3.3.14  |  Tomcat 11.0.6  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 
|   ** Corretto 21 with Tomcat 10 AL2023 5.6.1 版**   * 64bit Amazon Linux 2023 v5.6.1 running Tomcat 10 Corretto 21 *   |  2023.7.20250414  |  Corretto 21.0.6.7.1  |  3.3.14  |  Tomcat 10.1.40  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 
|   ** Corretto 17 with Tomcat 10 AL2023 5.6.1 版**   * 64bit Amazon Linux 2023 v5.6.1 running Tomcat 10 Corretto 17 *   |  2023.7.20250414  |  Corretto 17.0.14.7.1  |  3.3.14  |  Tomcat 10.1.40  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 
|   ** Corretto 17 with Tomcat 9 AL2023 5.6.1 版**   * 64bit Amazon Linux 2023 v5.6.1 running Tomcat 9 Corretto 17 *   |  2023.7.20250414  |  Corretto 17.0.14.7.1  |  3.3.14  |  Tomcat 9.0.102  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 
|   ** Corretto 11 with Tomcat 9 AL2023 5.6.1 版**   * 64bit Amazon Linux 2023 v5.6.1 running Tomcat 9 Corretto 11 *   |  2023.7.20250414  |  Corretto 11.0.26.4.1  |  3.3.14  |  Tomcat 9.0.102  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 
|   ** Corretto 11 with Tomcat 9 AL2 4.8.1 版**   * 64bit Amazon Linux 2 v4.8.1 running Tomcat 9 Corretto 11 *   |  2.0.20250414  |  Corretto 11.0.26.4.1  |  3.3.14  |  Tomcat 9.0.102  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 
|   ** Corretto 8 with Tomcat 9 AL2 4.8.1 版**   * 64bit Amazon Linux 2 v4.8.1 running Tomcat 9 Corretto 8 *   |  2.0.20250414  |  Corretto 8.442.06.1  |  3.3.14  |  Tomcat 9.0.102  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 

### Linux 上的 .NET Core
<a name="release-2025-04-24-al2.platforms.dotnetlinux"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  架構  |  代理伺服器  |  AMI  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | 
|   ** .NET 9 on AL2023 3.4.1 版**   * 64bit Amazon Linux 2023 v3.4.1 running .NET 9 *   |  .NET 9.0.4，支援 9.0.4  |  nginx 1.26.3  |  2023.7.20250414  |  3.3.14  | 
|   ** .NET 8 on AL2023 3.4.1 版**   * 64bit Amazon Linux 2023 v3.4.1 running .NET 8 *   |  .NET 8.0.15，支援 8.0.15  |  nginx 1.26.3  |  2023.7.20250414  |  3.3.14  | 
|   ** .NET Core on AL2 2.10.0 版**   * 64bit Amazon Linux 2 v2.10.0 running .NET Core *   |  .NET 8.0.15，支援 8.0.15  |  nginx 1.26.3  |  2.0.20250414  |  3.3.14  | 

### Node.js
<a name="release-2025-04-24-al2.platforms.nodejs"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Node.js 版本 (npm 版本)  |  代理伺服器  |  Git  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Node.js 22 AL2023 6.5.1 版**   * 64bit Amazon Linux 2023 v6.5.1 running Node.js 22 *   |  2023.7.20250414  |  22.14.0 (10.9.2)  預設版本：v22.14.0  |  nginx 1.26.3 （預設）、Apache 2.4.62  |  2.47.1  |  3.3.14  | 
|   ** Node.js 20 AL2023 6.5.1 版**   * 64bit Amazon Linux 2023 v6.5.1 running Node.js 20 *   |  2023.7.20250414  |  20.18.3 (10.8.2)  預設版本：20.18.3  |  nginx 1.26.3 （預設）、Apache 2.4.62  |  2.47.1  |  3.3.14  | 

### PHP
<a name="release-2025-04-24-al2.platforms.PHP"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  Composer  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|   ** PHP 8.4 AL2023 4.6.1 版**   * 64bit Amazon Linux 2023 v4.6.1 running PHP 8.4 *   |  2023.7.20250414  |  PHP 8.4.6  |  2.8.8  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 
|   ** PHP 8.3 AL2023 4.6.1 版**   * 64bit Amazon Linux 2023 v4.6.1 running PHP 8.3 *   |  2023.7.20250414  |  PHP 8.3.19  |  2.8.8  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 
|   ** PHP 8.2 AL2023 4.6.1 版**   * 64bit Amazon Linux 2023 v4.6.1 running PHP 8.2 *   |  2023.7.20250414  |  PHP 8.2.28  |  2.8.8  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 
|   ** PHP 8.1 AL2023 4.6.1 版**   * 64bit Amazon Linux 2023 v4.6.1 running PHP 8.1 *   |  2023.7.20250414  |  PHP 8.1.32  |  2.8.8  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 
|   ** PHP 8.1 AL2 3.9.1 版**   * 64bit Amazon Linux 2 v3.9.1 running PHP 8.1 *   |  2.0.20250414  |  PHP 8.1.32  |  2.8.8  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 

### Python
<a name="release-2025-04-24-al2.platforms.python"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  Packager  |  meld3  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|   ** Python 3.13 AL2023 4.5.1 版**   * 64bit Amazon Linux 2023 v4.5.1 running Python 3.13 *   |  2023.7.20250414  |  Python 3.13.3  |  pipenv 2024.4.1  |    |    |  3.3.14  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 
|   ** Python 3.12 AL2023 4.5.1 版**   * 64bit Amazon Linux 2023 v4.5.1 running Python 3.12 *   |  2023.7.20250414  |  Python 3.12.10  |  pipenv 2024.4.1  |    |    |  3.3.14  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 
|   ** Python 3.11 AL2023 4.5.1 版**   * 64bit Amazon Linux 2023 v4.5.1 running Python 3.11 *   |  2023.7.20250414  |  Python 3.11.11  |  pipenv 2024.4.1  |    |    |  3.3.14  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 
|   ** Python 3.9 AL2023 4.5.1 版**   * 64bit Amazon Linux 2023 v4.5.1 running Python 3.9 *   |  2023.7.20250414  |  Python 3.9.21  |  pipenv 2024.4.1  |    |    |  3.3.14  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 

### Ruby
<a name="release-2025-04-24-al2.platforms.ruby"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  應用程式伺服器  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | 
|   ** Ruby 3.4 AL2023 4.5.1 版**   * 64bit Amazon Linux 2023 v4.5.1 running Ruby 3.4 *   |  2023.7.20250414  |  Ruby 3.4.3-p32  |  RubyGems 3.6.7  |  Puma 6.6.0  |  3.3.14  |  nginx 1.26.3  | 
|   ** Ruby 3.3 AL2023 4.5.1 版**   * 64bit Amazon Linux 2023 v4.5.1 running Ruby 3.3 *   |  2023.7.20250414  |  Ruby 3.3.8-p144  |  RubyGems 3.5.22  |  Puma 6.6.0  |  3.3.14  |  nginx 1.26.3  | 
|   ** Ruby 3.2 AL2023 4.5.1 版**   * 64bit Amazon Linux 2023 v4.5.1 running Ruby 3.2 *   |  2023.7.20250414  |  Ruby 3.2.7  |  RubyGems 3.4.19  |  Puma 6.6.0  |  3.3.14  |  nginx 1.26.3  | 