

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

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

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

**版本日期：**2025 年 8 月 22 日

## 變更
<a name="release-2025-08-22-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 年 8 月 18** 日或之前在 [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-08-22-al2.html)  | 
|  **平台特定更新**  |  執行下列平台特定更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2025-08-22-al2.html)  | 
|  **AMI**  |  將基本 AMI 更新至 2.0.20250818 版。  | 
|  **CloudWatch 代理程式**  |  已將 CloudWatch Agent 更新至 1.300057.2 版。  | 
|  **Docker**  |  **Docker 平台分支** [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2025-08-22-al2.html) **Amazon ECS Docker 平台分支** [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2025-08-22-al2.html)  | 
|  **Go**  |  已將 Go 更新至 [1.25.0](https://tip.golang.org/doc/go1.25) 版。  | 
|  **PHP**  |  將 Composer 更新至 [2.8.11](https://github.com/composer/composer/releases) 版。  | 

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

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  ECS 代理程式  |  Docker  |  Docker Compose  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Docker AL2023 4.7.0 版**   * 64bit Amazon Linux 2023 v4.7.0 running Docker *   |  2023.8.20250818  |    |  25.0.8  |  2.39.2  |  nginx 1.28.0  | 
|   ** ECS AL2023 4.2.4 版**   * 64bit Amazon Linux 2023 v4.2.4 running ECS *   |  2023.8.20250818  |  1.97.1  |  25.0.8  |    |    | 
|   ** Docker AL2 4.3.0 版**   * 64bit Amazon Linux 2 v4.3.0 running Docker *   |  2.0.20250818  |    |  25.0.8  |  2.39.2  |  nginx 1.28.0  | 
|   ** ECS AL2 3.5.4 版**   * 64bit Amazon Linux 2 v3.5.4 running ECS *   |  2.0.20250818  |  1.97.1  |  25.0.8  |    |    | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|   ** Go 1 AL2023 4.4.4 版**   * 64bit Amazon Linux 2023 v4.4.4 running Go 1 *   |  2023.8.20250818  |  Go 1.24.5  |  3.3.15  |  nginx 1.28.0  | 
|   ** Go 1 AL2 3.13.4 版**   * 64bit Amazon Linux 2 v3.13.4 running Go 1 *   |  2.0.20250818  |  Go 1.25.0  |  3.3.15  |  nginx 1.28.0  | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  工具  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Corretto 21 AL2023 4.6.4 版**   * 64bit Amazon Linux 2023 v4.6.4 running Corretto 21 *   |  2023.8.20250818  |  Corretto 21.0.8.9.1  |  Ant 1.10.15、Gradle 8.14.3、Maven 3.9.11  |  3.3.15  |  nginx 1.28.0  | 
|   ** Corretto 17 AL2023 4.6.4 版**   * 64bit Amazon Linux 2023 v4.6.4 running Corretto 17 *   |  2023.8.20250818  |  Corretto 17.0.16.8.1  |  Ant 1.10.15、Gradle 8.14.3、Maven 3.9.11  |  3.3.15  |  nginx 1.28.0  | 
|   ** Corretto 11 AL2023 4.6.4 版**   * 64bit Amazon Linux 2023 v4.6.4 running Corretto 11 *   |  2023.8.20250818  |  Corretto 11.0.28.6.1  |  Ant 1.10.15、Gradle 8.14.3、Maven 3.9.11  |  3.3.15  |  nginx 1.28.0  | 
|   ** Corretto 8 AL2023 4.6.4 版**   * 64bit Amazon Linux 2023 v4.6.4 running Corretto 8 *   |  2023.8.20250818  |  Corretto 8.462.08.1  |  Ant 1.10.15、Gradle 8.14.3、Maven 3.9.11  |  3.3.15  |  nginx 1.28.0  | 
|   ** Corretto 17 3.9.4 版**   * 64bit Amazon Linux 2 v3.9.4 running Corretto 17 *   |  2.0.20250818  |  Corretto 17.0.16.8.1  |  Ant 1.10.15、Gradle 8.14.3、Maven 3.9.11  |  3.3.15  |  nginx 1.28.0  | 
|   ** Corretto 11 3.9.4 版**   * 64bit Amazon Linux 2 v3.9.4 running Corretto 11 *   |  2.0.20250818  |  Corretto 11.0.28.6.1  |  Ant 1.10.15、Gradle 8.14.3、Maven 3.9.11  |  3.3.15  |  nginx 1.28.0  | 
|   ** Corretto 8 3.9.4 版**   * 64bit Amazon Linux 2 v3.9.4 running Corretto 8 *   |  2.0.20250818  |  Corretto 8.462.08.1  |  Ant 1.10.15、Gradle 8.14.3、Maven 3.9.11  |  3.3.15  |  nginx 1.28.0  | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  應用程式伺服器  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Corretto 21 with Tomcat 11 AL2023 5.7.4 版**   * 64bit Amazon Linux 2023 v5.7.4 running Tomcat 11 Corretto 21 *   |  2023.8.20250818  |  Corretto 21.0.8.9.1  |  3.3.15  |  Tomcat 11.0.10  |  nginx 1.28.0 （預設）、Apache 2.4.64  | 
|   ** Corretto 17 with Tomcat 11 AL2023 5.7.4 版**   * 64bit Amazon Linux 2023 v5.7.4 running Tomcat 11 Corretto 17 *   |  2023.8.20250818  |  Corretto 17.0.16.8.1  |  3.3.15  |  Tomcat 11.0.10  |  nginx 1.28.0 （預設）、Apache 2.4.64  | 
|   ** Corretto 21 with Tomcat 10 AL2023 5.7.4 版**   * 64bit Amazon Linux 2023 v5.7.4 running Tomcat 10 Corretto 21 *   |  2023.8.20250818  |  Corretto 21.0.8.9.1  |  3.3.15  |  Tomcat 10.1.44  |  nginx 1.28.0 （預設）、Apache 2.4.64  | 
|   ** Corretto 17 with Tomcat 10 AL2023 5.7.4 版**   * 64bit Amazon Linux 2023 v5.7.4 running Tomcat 10 Corretto 17 *   |  2023.8.20250818  |  Corretto 17.0.16.8.1  |  3.3.15  |  Tomcat 10.1.44  |  nginx 1.28.0 （預設）、Apache 2.4.64  | 
|   ** Corretto 17 with Tomcat 9 AL2023 5.7.4 版**   * 64bit Amazon Linux 2023 v5.7.4 running Tomcat 9 Corretto 17 *   |  2023.8.20250818  |  Corretto 17.0.16.8.1  |  3.3.15  |  Tomcat 9.0.107  |  nginx 1.28.0 （預設）、Apache 2.4.64  | 
|   ** Corretto 11 with Tomcat 9 AL2023 5.7.4 版**   * 64bit Amazon Linux 2023 v5.7.4 running Tomcat 9 Corretto 11 *   |  2023.8.20250818  |  Corretto 11.0.28.6.1  |  3.3.15  |  Tomcat 9.0.107  |  nginx 1.28.0 （預設）、Apache 2.4.64  | 
|   ** Corretto 11 with Tomcat 9 AL2 4.9.3 版**   * 64bit Amazon Linux 2 v4.9.4 running Tomcat 9 Corretto 11 *   |  2.0.20250818  |  Corretto 11.0.28.6.1  |  3.3.15  |  Tomcat 9.0.107  |  nginx 1.28.0 （預設）、Apache 2.4.64  | 
|   ** Corretto 8 with Tomcat 9 AL2 4.9.4 版**   * 64bit Amazon Linux 2 v4.9.4 running Tomcat 9 Corretto 8 *   |  2.0.20250818  |  Corretto 8.462.08.1  |  3.3.15  |  Tomcat 9.0.107  |  nginx 1.28.0 （預設）、Apache 2.4.64  | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  架構  |  代理伺服器  |  AMI  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | 
|   ** .NET 9 on AL2023 3.5.4 版**   * 64bit Amazon Linux 2023 v3.5.4 running .NET 9 *   |  .NET 9.0.8，支援 9.0.8  |  nginx 1.28.0  |  2023.8.20250818  |  3.3.15  | 
|   ** .NET 8 on AL2023 3.5.4 版**   * 64bit Amazon Linux 2023 v3.5.4 running .NET 8 *   |  .NET 8.0.19，支援 8.0.19  |  nginx 1.28.0  |  2023.8.20250818  |  3.3.15  | 
|   ** .NET Core on AL2 2.11.3 版**   * 64bit Amazon Linux 2 v2.11.4 running .NET Core *   |  .NET 8.0.19，支援 8.0.19  |  nginx 1.28.0  |  2.0.20250818  |  3.3.15  | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Node.js 版本 (npm 版本)  |  代理伺服器  |  Git  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Node.js 22 AL2023 6.6.4 版**   * 64bit Amazon Linux 2023 v6.6.4 running Node.js 22 *   |  2023.8.20250818  |  22.18.0 (10.9.3)  預設版本：v22.18.0  |  nginx 1.28.0 （預設）、Apache 2.4.64  |  2.50.1  |  3.3.15  | 
|   ** Node.js 20 AL2023 6.6.4 版**   * 64bit Amazon Linux 2023 v6.6.4 running Node.js 20 *   |  2023.8.20250818  |  20.19.4 (10.8.2)  預設版本：20.19.4  |  nginx 1.28.0 （預設）、Apache 2.4.64  |  2.50.1  |  3.3.15  | 

### PHP
<a name="release-2025-08-22-al2.platforms.PHP"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  Composer  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|   ** PHP 8.4 AL2023 4.7.4 版**   * 64bit Amazon Linux 2023 v4.7.4 running PHP 8.4 *   |  2023.8.20250818  |  PHP 8.4.11  |  2.8.10  |  nginx 1.28.0 （預設）、Apache 2.4.64  | 
|   ** PHP 8.3 AL2023 4.7.4 版**   * 64bit Amazon Linux 2023 v4.7.4 running PHP 8.3 *   |  2023.8.20250818  |  PHP 8.3.23  |  2.8.10  |  nginx 1.28.0 （預設）、Apache 2.4.64  | 
|   ** PHP 8.2 AL2023 4.7.4 版**   * 64bit Amazon Linux 2023 v4.7.4 running PHP 8.2 *   |  2023.8.20250818  |  PHP 8.2.29  |  2.8.10  |  nginx 1.28.0 （預設）、Apache 2.4.64  | 
|   ** PHP 8.1 AL2023 4.7.4 版**   * 64bit Amazon Linux 2023 v4.7.4 running PHP 8.1 *   |  2023.8.20250818  |  PHP 8.1.33  |  2.8.10  |  nginx 1.28.0 （預設）、Apache 2.4.64  | 
|   ** PHP 8.1 AL2 3.10.4 版**   * 64bit Amazon Linux 2 v3.10.4 running PHP 8.1 *   |  2.0.20250818  |  PHP 8.1.33  |  2.8.11  |  nginx 1.28.0 （預設）、Apache 2.4.64  | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  Packager  |  meld3  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|   ** Python 3.13 AL2023 4.7.1 版**   * 64bit Amazon Linux 2023 v4.7.1 running Python 3.13 *   |  2023.8.20250818  |  Python 3.13.7  |  pipenv 2025.0.4  |    |    |  3.3.15  |  nginx 1.28.0 （預設）、Apache 2.4.64  | 
|   ** Python 3.12 AL2023 4.7.1 版**   * 64bit Amazon Linux 2023 v4.7.1 running Python 3.12 *   |  2023.8.20250818  |  Python 3.12.11  |  pipenv 2025.0.4  |    |    |  3.3.15  |  nginx 1.28.0 （預設）、Apache 2.4.64  | 
|   ** Python 3.11 AL2023 4.7.1 版**   * 64bit Amazon Linux 2023 v4.7.1 running Python 3.11 *   |  2023.8.20250818  |  Python 3.11.13  |  pipenv 2025.0.4  |    |    |  3.3.15  |  nginx 1.28.0 （預設）、Apache 2.4.64  | 
|   ** Python 3.9 AL2023 4.7.1 版**   * 64bit Amazon Linux 2023 v4.7.1 running Python 3.9 *   |  2023.8.20250818  |  Python 3.9.23  |  pipenv 2025.0.4  |    |    |  3.3.15  |  nginx 1.28.0 （預設）、Apache 2.4.64  | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  應用程式伺服器  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | 
|   ** Ruby 3.4 AL2023 4.6.4 版**   * 64bit Amazon Linux 2023 v4.6.4 running Ruby 3.4 *   |  2023.8.20250818  |  Ruby 3.4.5-p51  |  RubyGems 3.6.9  |  Puma 6.6.1  |  3.3.15  |  nginx 1.28.0  | 
|   ** Ruby 3.3 AL2023 4.6.4 版**   * 64bit Amazon Linux 2023 v4.6.4 running Ruby 3.3 *   |  2023.8.20250818  |  Ruby 3.3.9-p170  |  RubyGems 3.5.22  |  Puma 6.6.1  |  3.3.15  |  nginx 1.28.0  | 
|   ** Ruby 3.2 AL2023 4.6.4 版**   * 64bit Amazon Linux 2023 v4.6.4 running Ruby 3.2 *   |  2023.8.20250818  |  Ruby 3.2.8  |  RubyGems 3.4.19  |  Puma 6.6.1  |  3.3.15  |  nginx 1.28.0  | 