

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

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

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

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

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

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

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


<table>
<thead>
  <tr><th><b>類別</b></th><th><b>描述</b></th></tr>
</thead>
<tbody>
  <tr><td><b>安全性更新</b></td><td>已將 2<b>025 年 4 月 16</b> 日或之前在 <a href="https://alas.aws.amazon.com/alas2023.html">Amazon Linux 安全中心</a>發佈的所有安全性更新，套用至所有 AL2023 平台。</td></tr>
  <tr><td><b>跨平台更新</b></td><td>執行下列跨平台更新：
<table>
<thead>
  <tr><th><b>元件</b></th><th><b>更新</b></th></tr>
</thead>
<tbody>
  <tr><td><b>AMI</b></td><td>將基本 AMI 更新至 2023.7.20250414 版。</td></tr>
</tbody>
</table>
</td></tr>
  <tr><td><b>平台特定更新</b></td><td>執行下列平台特定更新：
<table>
<thead>
  <tr><th><b>平台</b></th><th><b>更新</b></th></tr>
</thead>
<tbody>
  <tr><td><b>Docker</b></td><td><b>Docker 平台分支</b><ul><li> 將 Docker Compose 更新至 <a href="https://github.com/docker/compose/releases/tag/v2.35.1">2.35.1</a> 版。 </li></ul><br /><b>ECS Docker 平台分支</b><ul><li> Amazon ECS 代理程式已更新至 <a href="https://github.com/aws/amazon-ecs-agent/releases/tag/v1.91.2">1.91.2</a> 版。 </li></ul></td></tr>
  <tr><td><b>Go</b></td><td>已將 Go 更新至 <a href="https://go.dev/doc/devel/release#go1.24.2">1.24.2</a> 版。</td></tr>
  <tr><td><b>Tomcat</b></td><td> <ul><li> 已將 Tomcat 11 更新至 <a href="https://tomcat.apache.org/tomcat-11.0-doc/changelog.html">11.0.6</a> 版。 </li><li> 將 Tomcat 10 更新至 <a href="https://tomcat.apache.org/tomcat-10.1-doc/changelog.html">10.1.40</a> 版。 </li><li> 已將 Tomcat 9 更新至 <a href="https://tomcat.apache.org/tomcat-9.0-doc/changelog.html">9.0.102</a> 版。 </li></ul> </td></tr>
  <tr><td><b>.NET Core</b></td><td> <ul><li> 將 .NET 9 更新至 <a href="https://github.com/dotnet/core/blob/main/release-notes/9.0/9.0.4/9.0.4.md">9.0.4</a> 版。 </li><li> 將 .NET 8 更新至 <a href="https://github.com/dotnet/core/blob/main/release-notes/8.0/8.0.15/8.0.15.md">8.0.15</a> 版。 </li></ul> </td></tr>
  <tr><td><b>Node.js</b></td><td><ul><li> 已將 Node.js 20 更新至 <a href="https://nodejs.org/en/blog/release/v20.18.3">20.18.3</a> 版。 </li></ul>Node.js 18 平台分支現在標記為<i>已棄用</i>，且排程淘汰日期為 2025 年 7 月 31 日。</td></tr>
  <tr><td><b>PHP</b></td><td> <ul><li> 將 PHP 8.4 更新至 <a href="https://www.php.net/releases/8_4_6.php">8.4.6 版。</a> </li><li> 將 PHP 8.3 更新至 <a href="https://www.php.net/releases/8_3_19.php">8.3.19</a> 版。 </li><li> 將 PHP 8.2 更新至 <a href="https://www.php.net/releases/8_2_28.php">8.2.28</a> 版。 </li><li> 將 PHP 8.1 更新至 <a href="https://www.php.net/releases/8_1_32.php">8.1.32</a> 版。 </li><li> 將 Composer 更新至 <a href="https://github.com/composer/composer/releases/tag/2.8.8">2.8.8 </a>版。 </li></ul> </td></tr>
  <tr><td><b>Python</b></td><td> <ul><li> 已將 Python 3.13 更新至 <a href="https://www.python.org/downloads/release/python-3133/">3.13.3</a> 版。 </li><li> 已將 Python 3.12 更新至 <a href="https://www.python.org/downloads/release/python-31210/">3.12.10</a> 版。 </li></ul> </td></tr>
  <tr><td><b>Ruby</b></td><td> <ul><li> 使用 RubyGems 3.6.7 將 Ruby 3.4 更新至 <a href="https://www.ruby-lang.org/en/news/2025/04/14/ruby-3-4-3-released/">3.4</a>.3 版。 </li><li> 使用 RubyGems 將 Ruby 3.3 更新至 <a href="https://www.ruby-lang.org/en/news/2025/04/09/ruby-3-3-8-released/">3.3.8</a> 版。 3.5.22 </li><li> 使用 RubyGems 將 Ruby 3.2 更新至 <a href="https://www.ruby-lang.org/en/news/2025/02/04/ruby-3-2-7-released/">3.2.7</a> 版。 3.4.19 </li></ul> </td></tr>
</tbody>
</table>
</td></tr>
</tbody>
</table>


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

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

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

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  ECS 代理程式  |  Docker  |  Docker Compose  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Docker AL2023 4.5.1 版** <br /> * 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 版** <br /> * 64bit Amazon Linux 2023 v4.1.1 running ECS *  | 2023.7.20250414 | 1.91.2 | 25.0.8 |  |  | 
|  ** Docker AL2 4.1.0 版** <br /> * 64bit Amazon Linux 2 v4.1.0 running Docker *  | 2.0.20250321 |  | 25.0.8 | 2.34.0 | nginx 1.26.3 | 
|  ** ECS AL2 3.4.0 版** <br /> * 64bit Amazon Linux 2 v3.4.0 running ECS *  | 2.0.20250321 | 1.91.0 | 25.0.8 |  |  | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|  ** Go 1 AL2023 4.3.1 版** <br /> * 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.0 版** <br /> * 64bit Amazon Linux 2 v3.12.0 running Go 1 *  | 2.0.20250321 | Go 1.24.1 | 3.3.14 | nginx 1.26.3 | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  工具  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Corretto 21 AL2023 4.5.1 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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.0 版** <br /> * 64bit Amazon Linux 2 v3.8.0 running Corretto 17 *  | 2.0.20250321 | 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.0 版** <br /> * 64bit Amazon Linux 2 v3.8.0 running Corretto 11 *  | 2.0.20250321 | 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.0 版** <br /> * 64bit Amazon Linux 2 v3.8.0 running Corretto 8 *  | 2.0.20250321 | 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-22-al2023.platforms.java"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  應用程式伺服器  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Corretto 21 with Tomcat 11 AL2023 5.6.1 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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.0 版** <br /> * 64bit Amazon Linux 2 v4.8.0 running Tomcat 9 Corretto 11 *  | 2.0.20250321 | Corretto 11.0.26.4.1 | 3.3.14 | Tomcat 9.0.98 | nginx 1.26.3 （預設）、Apache 2.4.62 | 
|  ** Corretto 8 with Tomcat 9 AL2 4.8.0 版** <br /> * 64bit Amazon Linux 2 v4.8.0 running Tomcat 9 Corretto 8 *  | 2.0.20250321 | Corretto 8.442.06.1 | 3.3.14 | Tomcat 9.0.98 | nginx 1.26.3 （預設）、Apache 2.4.62 | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  架構  |  代理伺服器  |  AMI  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | 
|  ** .NET 9 on AL2023 3.4.1 版** <br /> * 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 版** <br /> * 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.9.0 版** <br /> * 64bit Amazon Linux 2 v2.9.0 running .NET Core *  | .NET 8.0.14，支援 8.0.14、6.0.36 | nginx 1.26.3 | 2.0.20250321 | 3.3.14 | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Node.js 版本 (npm 版本)  |  代理伺服器  |  Git  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Node.js 22 AL2023 6.5.1 版** <br /> * 64bit Amazon Linux 2023 v6.5.1 running Node.js 22 *  | 2023.7.20250414 | 22.14.0 (10.9.2)<br /> 預設版本：v22.14.0 | nginx 1.26.3 （預設）、Apache 2.4.62 | 2.47.1 | 3.3.14 | 
|  ** Node.js 20 AL2023 6.5.1 版** <br /> * 64bit Amazon Linux 2023 v6.5.1 running Node.js 20 *  | 2023.7.20250414 | 20.18.3 (10.8.2)<br /> 預設版本：20.18.3 | nginx 1.26.3 （預設）、Apache 2.4.62 | 2.47.1 | 3.3.14 | 
|  ** Node.js 18 AL2 5.10.0 版** <br /> * 64bit Amazon Linux 2 v5.10.0 running Node.js 18 *  | 2.0.20250321 | 18.20.8 (10.8.2)、 18.20.7 (10.8.2)、 18.20.6 (10.8.2)、 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.8 | nginx 1.26.3 （預設）、Apache 2.4.62 | 2.47.1 | 3.3.14 | 

### PHP
<a name="release-2025-04-22-al2023.platforms.PHP"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  Composer  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|  ** PHP 8.4 AL2023 4.6.1 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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.0 版** <br /> * 64bit Amazon Linux 2 v3.9.0 running PHP 8.1 *  | 2.0.20250321 | PHP 8.1.32 | 2.8.6 | nginx 1.26.3 （預設）、Apache 2.4.62 | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  Packager  |  meld3  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|  ** Python 3.13 AL2023 4.5.1 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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-22-al2023.platforms.ruby"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  應用程式伺服器  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | 
|  ** Ruby 3.4 AL2023 4.5.1 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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 | 