

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

# 版本：2025 年 1 月 3 日 Elastic Beanstalk Amazon Linux 2 平台更新
<a name="release-2025-01-03-al2"></a>

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

**版本日期：**2025 年 1 月 3 日

## 變更
<a name="release-2025-01-03-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**024 年 12 月 19** 日或之前在 [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-01-03-al2.html) | 
| **平台特定更新** | 執行下列平台特定更新：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2025-01-03-al2.html) | 
| **AMI** | 將基本 AMI 更新至 2.0.20241217 版。 | 
| **其他變更** | 此版本包括改善執行個體引導指令碼中的記錄和彈性。<br />平台部署現在強制您的 [Elastic Beanstalk Amazon S3 儲存貯](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/AWSHowTo.S3.html)體為執行環境的帳戶所擁有。 | 
| **Docker** | **ECS Docker 平台分支**[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2025-01-03-al2.html)<br />**Docker 平台分支**[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2025-01-03-al2.html) | 
| **Go** | 已將 Go 更新至 **1.23.4** 版。如需詳細資訊，請參閱 [GO 版本歷史記錄](https://go.dev/doc/devel/release)。 | 
| **Corretto** | 工具更新：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2025-01-03-al2.html) | 
| **PHP** | 將 PHP 8.1 版本更新為 **8.1.31**。<br />將 Composer 更新至 [2.8.4](https://github.com/composer/composer/releases) 版。 | 

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

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  ECS 代理程式  |  Docker  |  Docker Compose  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Docker AL2023 4.4.2 版** <br /> * 64bit Amazon Linux 2023 v4.4.2 running Docker *  | 2023.6.20241212 |  | 25.0.6 | 2.32.1 | nginx 1.26.2 | 
|  ** ECS AL2023 4.0.17 版** <br /> * 64bit Amazon Linux 2023 v4.0.17 running ECS *  | 2023.6.20241212 | 1.89.1 |  |  |  | 
|  ** Docker AL2 4.0.6 版** <br /> * 64bit Amazon Linux 2 v4.0.6 running Docker *  | 2.0.20241217 |  | 25.0.6 | 2.32.1 | nginx 1.22.1 | 
|  ** ECS AL2 3.3.10 版** <br /> * 64bit Amazon Linux 2 v3.3.10 running ECS *  | 2.0.20241217 | 1.89.1 |  |  |  | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|  ** Go 1 AL2023 4.2.2 版** <br /> * 64bit Amazon Linux 2023 v4.2.2 running Go 1 *  | 2023.6.20241212 | Go 1.22.7 | 3.3.13 | nginx 1.26.2 | 
|  ** Go 1 AL2 3.11.5 版** <br /> * 64bit Amazon Linux 2 v3.11.5 running Go 1 *  | 2.0.20241217 | Go 1.23.4 | 3.3.13 | nginx 1.22.1 | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  工具  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Corretto 21 AL2023 4.4.2 版** <br /> * 64bit Amazon Linux 2023 v4.4.2 running Corretto 21 *  | 2023.6.20241212 | Corretto 21.0.5.11.1 | Ant 1.10.15、Gradle 8.11.1、Maven 3.9.9 | 3.3.13 | nginx 1.26.2 | 
|  ** Corretto 17 AL2023 4.4.2 版** <br /> * 64bit Amazon Linux 2023 v4.4.2 running Corretto 17 *  | 2023.6.20241212 | Corretto 17.0.13.11.1 | Ant 1.10.15、Gradle 8.11.1、Maven 3.9.9 | 3.3.13 | nginx 1.26.2 | 
|  ** Corretto 11 AL2023 4.4.2 版** <br /> * 64bit Amazon Linux 2023 v4.4.2 running Corretto 11 *  | 2023.6.20241212 | Corretto 11.0.25.9.1 | Ant 1.10.15、Gradle 8.11.1、Maven 3.9.9 | 3.3.13 | nginx 1.26.2 | 
|  ** Corretto 8 AL2023 4.4.2 版** <br /> * 64bit Amazon Linux 2023 v4.4.2 running Corretto 8 *  | 2023.6.20241212 | Corretto 8.432.06.1 | Ant 1.10.15、Gradle 8.11.1、Maven 3.9.9 | 3.3.13 | nginx 1.26.2 | 
|  ** Corretto 17 3.7.10 版** <br /> * 64bit Amazon Linux 2 v3.7.10 running Corretto 17 *  | 2.0.20241217 | Corretto 17.0.13.11.1 | Ant 1.10.15、Gradle 8.12、Maven 3.9.9 | 3.3.13 | nginx 1.22.1 | 
|  ** Corretto 11 3.7.10 版** <br /> * 64bit Amazon Linux 2 v3.7.10 running Corretto 11 *  | 2.0.20241217 | Corretto 11.0.25.9.1 | Ant 1.10.15、Gradle 8.12、Maven 3.9.9 | 3.3.13 | nginx 1.22.1 | 
|  ** Corretto 8 3.7.10 版** <br /> * 64bit Amazon Linux 2 v3.7.10 running Corretto 8 *  | 2.0.20241217 | Corretto 8.432.06.1 | Ant 1.10.15、Gradle 8.12、Maven 3.9.9 | 3.3.13 | nginx 1.22.1 | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  應用程式伺服器  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Corretto 21 with Tomcat 10 AL2023 5.4.2 版** <br /> * 64bit Amazon Linux 2023 v5.4.2 running Tomcat 10 Corretto 21 *  | 2023.6.20241212 | Corretto 21.0.5.11.1 | 3.3.13 | Tomcat 10.1.34 | nginx 1.26.2 （預設）、Apache 2.4.62 | 
|  ** Corretto 17 with Tomcat 10 AL2023 5.4.2 版** <br /> * 64bit Amazon Linux 2023 v5.4.2 running Tomcat 10 Corretto 17 *  | 2023.6.20241212 | Corretto 17.0.13.11.1 | 3.3.13 | Tomcat 10.1.34 | nginx 1.26.2 （預設）、Apache 2.4.62 | 
|  ** Corretto 17 with Tomcat 9 AL2023 5.4.2 版** <br /> * 64bit Amazon Linux 2023 v5.4.2 running Tomcat 9 Corretto 17 *  | 2023.6.20241212 | Corretto 17.0.13.11.1 | 3.3.13 | Tomcat 9.0.91 | nginx 1.26.2 （預設）、Apache 2.4.62 | 
|  ** Corretto 11 with Tomcat 9 AL2023 5.4.2 版** <br /> * 64bit Amazon Linux 2023 v5.4.2 running Tomcat 9 Corretto 11 *  | 2023.6.20241212 | Corretto 11.0.25.9.1 | 3.3.13 | Tomcat 9.0.91 | nginx 1.26.2 （預設）、Apache 2.4.62 | 
|  ** Corretto 11 with Tomcat 9 AL2 4.7.5 版** <br /> * 64bit Amazon Linux 2 v4.7.5 running Tomcat 9 Corretto 11 *  | 2.0.20241217 | Corretto 11.0.25.9.1 | 3.3.13 | Tomcat 9.0.91 | nginx 1.22.1 （預設）、Apache 2.4.62 | 
|  ** Corretto 8 with Tomcat 9 AL2 4.7.5 版** <br /> * 64bit Amazon Linux 2 v4.7.5 running Tomcat 9 Corretto 8 *  | 2.0.20241217 | Corretto 8.432.06.1 | 3.3.13 | Tomcat 9.0.91 | nginx 1.22.1 （預設）、Apache 2.4.62 | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  架構  |  代理伺服器  |  AMI  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | 
|  ** .NET 8 on AL2023 3.2.2 版** <br /> * 64bit Amazon Linux 2023 v3.2.2 running .NET 8 *  | .NET 8.0.11，支援 8.0.11 | nginx 1.26.2 | 2023.6.20241212 | 3.3.13 | 
|  ** .NET Core on AL2 2.8.6 版** <br /> * 64bit Amazon Linux 2 v2.8.6 running .NET Core *  | .NET 8.0.11，支援 8.0.11、6.0.36 | nginx 1.22.1 | 2.0.20241217 | 3.3.13 | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Node.js 版本 (npm 版本)  |  代理伺服器  |  Git  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Node.js 22 AL2023 6.4.1 版** <br /> * 64bit Amazon Linux 2023 v6.4.1 running Node.js 22 *  | 2023.6.20241212 | 22.12.0 (10.9.0)<br /> 預設版本：v22.12.0 | nginx 1.26.2 （預設）、Apache 2.4.62 | 2.40.1 | 3.3.13 | 
|  ** Node.js 20 AL2023 6.4.1 版** <br /> * 64bit Amazon Linux 2023 v6.4.1 running Node.js 20 *  | 2023.6.20241212 | 20.18.0 (10.8.2)<br /> 預設版本：20.18.0 | nginx 1.26.2 （預設）、Apache 2.4.62 | 2.40.1 | 3.3.13 | 
|  ** Node.js 18 AL2023 6.4.1 版** <br /> * 64bit Amazon Linux 2023 v6.4.1 running Node.js 18 *  | 2023.6.20241212 | 18.20.4 (10.7.0)<br /> 預設版本：18.20.4 | nginx 1.26.2 （預設）、Apache 2.4.62 | 2.40.1 | 3.3.13 | 
|  ** Node.js 18 AL2 5.9.9 版** <br /> * 64bit Amazon Linux 2 v5.9.10 running Node.js 18 *  | 2.0.20241217 | 18.20.5 (10.8.2)、 18.20.4 (10.7.0)、 18.20.3 (10.7.0)、 18.20.2 (10.5.0)、 18.20.1 (10.5.0)、 18.20.0 (10.5.0)、 18.19.1 (10.2.4)、 18.19.0 (10.2.3)、 18.18.2 (9.8.1)、 18.18.1 (9.8.1)、 18.18.0 (9.8.1)、 18.17.1 (9.6.7)、 18.17.0 (9.6.7)、 18.16.1 (9.5.1)、 18.16.0 (9.5.1)、 18.15.0 (9.5.0)、 18.14.2 (9.5.0)、 18.14.1 (9.3.1)、 18.14.0 (9.3.1)、 18.13.0 (8.19.3)、 18.12.1 (8.19.2)， 18.12.0 (8.19.2)、 18.11.0 (8.19.2)、 18.10.0 (8.19.2)、 18.9.1 (8.19.1)， 18.9.0 (8.19.1)、 18.8.0 (8.18.0)、 18.7.0 (8.15.0)、 18.6.0 (8.13.2)、 18.5.0 (8.12.1)、 18.4.0 (8.12.1)、 18.3.0 (8.11.0)、 18.2.0 (8.9.0)、 18.1.0 (8.8.0)、 18.0.0 (8.6.0)<br /> 預設版本：18.20.5 | nginx 1.22.1 （預設）、Apache 2.4.62 | 2.40.1 | 3.3.13 | 

### PHP
<a name="release-2025-01-03-al2.platforms.PHP"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  Composer  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|  ** PHP 8.3 AL2023 4.4.2 版** <br /> * 64bit Amazon Linux 2023 v4.4.2 running PHP 8.3 *  | 2023.6.20241212 | PHP 8.3.10 | 2.8.4 | nginx 1.26.2 （預設）、Apache 2.4.62 | 
|  ** PHP 8.2 AL2023 4.4.2 版** <br /> * 64bit Amazon Linux 2023 v4.4.2 running PHP 8.2 *  | 2023.6.20241212 | PHP 8.2.23 | 2.8.4 | nginx 1.26.2 （預設）、Apache 2.4.62 | 
|  ** PHP 8.1 AL2023 4.4.2 版** <br /> * 64bit Amazon Linux 2023 v4.4.2 running PHP 8.1 *  | 2023.6.20241212 | PHP 8.1.29 | 2.8.4 | nginx 1.26.2 （預設）、Apache 2.4.62 | 
|  ** PHP 8.1 AL2 3.8.7 版** <br /> * 64bit Amazon Linux 2 v3.8.7 running PHP 8.1 *  | 2.0.20241217 | PHP 8.1.31 | 2.8.4 | nginx 1.22.1 （預設）、Apache 2.4.62 | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  Packager  |  meld3  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|  ** Python 3.12 AL2023 4.3.2 版** <br /> * 64bit Amazon Linux 2023 v4.3.2 running Python 3.12 *  | 2023.6.20241212 | Python 3.12.8 | pipenv 2024.4.0 |  |  | 3.3.13 | nginx 1.26.2 （預設）、Apache 2.4.62 | 
|  ** Python 3.11 AL2023 4.3.2 版** <br /> * 64bit Amazon Linux 2023 v4.3.2 running Python 3.11 *  | 2023.6.20241212 | Python 3.11.6 | pipenv 2024.4.0 |  |  | 3.3.13 | nginx 1.26.2 （預設）、Apache 2.4.62 | 
|  ** Python 3.9 AL2023 4.3.2 版** <br /> * 64bit Amazon Linux 2023 v4.3.2 running Python 3.9 *  | 2023.6.20241212 | Python 3.9.20 | pipenv 2024.4.0 |  |  | 3.3.13 | nginx 1.26.2 （預設）、Apache 2.4.62 | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  應用程式伺服器  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | 
|  ** Ruby 3.3 AL2023 4.3.0 版** <br /> * 64bit Amazon Linux 2023 v4.3.0 running Ruby 3.3 *  | 2023.6.20241212 | Ruby 3.3.6-p108 | RubyGems 3.5.22 | Puma 6.5.0 | 3.3.13 | nginx 1.26.2 | 
|  ** Ruby 3.2 AL2023 4.3.0 版** <br /> * 64bit Amazon Linux 2023 v4.3.0 running Ruby 3.2 *  | 2023.6.20241212 | Ruby 3.2.2 | RubyGems 3.4.10 | Puma 6.5.0 | 3.3.13 | nginx 1.26.2 | 