

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

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

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

**版本日期：**2025 年 5 月 20 日

## 變更
<a name="release-2025-05-20-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 年 5 月 13** 日或之前在 [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-05-20-al2.html)  | 
|  **平台特定更新**  |  執行下列平台特定更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2025-05-20-al2.html)  | 
|  **AMI**  |  將基本 AMI 更新至 2.0.20250512 版。  | 
|  **CloudWatch 代理程式**  |  將 CloudWatch Agent 更新至 1.300054.1 版。  | 
|  ** AWS CLI **  |   將 AWS CLI 版本從 1.18.147 更新至 1.27.51。  | 
|  **Docker**  |  **ECS Docker 平台分支** [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2025-05-20-al2.html) **Docker 平台分支** [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2025-05-20-al2.html)  | 
|  **Go**  |  已將 Go 更新至 **1.24.3** 版。  | 
|  **Corretto**  |  語言執行期更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2025-05-20-al2.html) 工具更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2025-05-20-al2.html)  | 
|  **Tomcat**  |  已將 Corretto11 更新至 [11.0.27.6.1](https://github.com/corretto/corretto-11/blob/develop/CHANGELOG.md) 版。 已將 Corretto8 更新至 [8.452.09.2](https://github.com/corretto/corretto-8/blob/develop/CHANGELOG.md) 版。  | 
|  **.NET Core**  |  已更新 .NET Core 至 [8.0.16](https://github.com/dotnet/core/blob/main/release-notes/8.0/8.0.16/8.0.16.md) 版。  | 
|  **Node.js**  |  Node.js 18 平台分支仍標示為*已棄用*，且排程淘汰日期為 2025 年 7 月 31 日。  | 
|  **PHP**  |  將 Composer 更新至 [2.8.9](https://github.com/composer/composer/releases/tag/2.8.9) 版。  | 

## 新的平台版本
<a name="release-2025-05-20-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-05-20-al2.platforms.docker)
+ [Go](#release-2025-05-20-al2.platforms.go)
+ [Java SE](#release-2025-05-20-al2.platforms.javase)
+ [Tomcat](#release-2025-05-20-al2.platforms.java)
+ [Linux 上的 .NET Core](#release-2025-05-20-al2.platforms.dotnetlinux)
+ [Node.js](#release-2025-05-20-al2.platforms.nodejs)
+ [PHP](#release-2025-05-20-al2.platforms.PHP)
+ [Python](#release-2025-05-20-al2.platforms.python)
+ [Ruby](#release-2025-05-20-al2.platforms.ruby)

### Docker
<a name="release-2025-05-20-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.2 版**   * 64bit Amazon Linux 2 v4.1.2 running Docker *   |  2.0.20250512  |    |  25.0.8  |  2.36.1  |  nginx 1.26.3  | 
|   ** ECS AL2 3.4.2 版**   * 64bit Amazon Linux 2 v3.4.2 running ECS *   |  2.0.20250512  |  1.93.0  |  25.0.8  |    |    | 

### Go
<a name="release-2025-05-20-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.2 版**   * 64bit Amazon Linux 2 v3.12.2 running Go 1 *   |  2.0.20250512  |  Go 1.24.3  |  3.3.14  |  nginx 1.26.3  | 

### Java SE
<a name="release-2025-05-20-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.2 版**   * 64bit Amazon Linux 2 v3.8.2 running Corretto 17 *   |  2.0.20250512  |  Corretto 17.0.15.6.1  |  Ant 1.10.15、Gradle 8.14、Maven 3.9.9  |  3.3.14  |  nginx 1.26.3  | 
|   ** Corretto 11 3.8.2 版**   * 64bit Amazon Linux 2 v3.8.2 running Corretto 11 *   |  2.0.20250512  |  Corretto 11.0.27.6.1  |  Ant 1.10.15、Gradle 8.14、Maven 3.9.9  |  3.3.14  |  nginx 1.26.3  | 
|   ** Corretto 8 3.8.2 版**   * 64bit Amazon Linux 2 v3.8.2 running Corretto 8 *   |  2.0.20250512  |  Corretto 8.452.09.2  |  Ant 1.10.15、Gradle 8.14、Maven 3.9.9  |  3.3.14  |  nginx 1.26.3  | 

### Tomcat
<a name="release-2025-05-20-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.2 版**   * 64bit Amazon Linux 2 v4.8.2 running Tomcat 9 Corretto 11 *   |  2.0.20250512  |  Corretto 11.0.27.6.1  |  3.3.14  |  Tomcat 9.0.102  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 
|   ** Corretto 8 with Tomcat 9 AL2 4.8.2 版**   * 64bit Amazon Linux 2 v4.8.2 running Tomcat 9 Corretto 8 *   |  2.0.20250512  |  Corretto 8.452.09.2  |  3.3.14  |  Tomcat 9.0.102  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 

### Linux 上的 .NET Core
<a name="release-2025-05-20-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.1 版**   * 64bit Amazon Linux 2 v2.10.1 running .NET Core *   |  .NET 8.0.16，支援 8.0.16  |  nginx 1.26.3  |  2.0.20250512  |  3.3.14  | 

### Node.js
<a name="release-2025-05-20-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-05-20-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.2 版**   * 64bit Amazon Linux 2 v3.9.2 running PHP 8.1 *   |  2.0.20250512  |  PHP 8.1.32  |  2.8.9  |  nginx 1.26.3 （預設）、Apache 2.4.62  | 

### Python
<a name="release-2025-05-20-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-05-20-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  | 