

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

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

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

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

## 變更
<a name="release-2025-05-20-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 年 5 月 13</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.20250512 版。</td></tr>
  <tr><td><b>CloudWatch 代理程式</b></td><td>CloudWatch Agent 已更新至 1.300054.1 版。</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/">2.36.1 </a>版。 </li></ul><br /><b>ECS Docker 平台分支</b><ul><li> 已將 ECS 代理程式更新至 <b>1.93.0 </b>版。 </li></ul></td></tr>
  <tr><td><b>Go</b></td><td>已將 Go 更新至 <b>1.24.2</b> 版。</td></tr>
  <tr><td><b>Corretto</b></td><td>語言執行期更新：<ul><li> 已將 Corretto 21 更新至 <a href="https://github.com/corretto/corretto-21/blob/develop/CHANGELOG.md">21.0.7.6.1 </a>版。 </li><li> 已將 Corretto 17 更新至 <a href="https://github.com/corretto/corretto-17/blob/develop/CHANGELOG.md">17.0.15.6.1</a> 版。 </li><li> 已將 Corretto 11 更新至 <a href="https://github.com/corretto/corretto-11/blob/develop/CHANGELOG.md">11.0.27.6.1</a> 版。 </li><li> 已將 Corretto 8 更新至 <a href="https://github.com/corretto/corretto-8/blob/develop/CHANGELOG.md">8.452.09.2</a> 版。 </li></ul><br />工具更新：<ul><li> Gradle 已更新至 8.14 版。 </li></ul></td></tr>
  <tr><td><b>Tomcat</b></td><td><b>Tomcat 11 平台分支</b><ul><li> 已將 Tomcat 11 更新至 <b>11.0.7 </b>版。 </li></ul><br /><b>Tomcat 10 平台分支</b><ul><li> 已將 Tomcat 10 更新至 <b>10.1.41</b> 版。 </li></ul><br /><b>Tomcat 9 平台分支</b><ul><li> 已將 Tomcat 9 更新至 <b>9.0.104</b> 版。 </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.5/9.0.5.md">9.0.5</a> 版。 </li><li> 將 .NET 8 更新至 <a href="https://github.com/dotnet/core/blob/main/release-notes/8.0/8.0.16/8.0.16.md">8.0.16</a> 版。 </li></ul> </td></tr>
  <tr><td><b>Node.js</b></td><td> <ul><li> 已將 Node.js 22 更新至 <a href="https://nodejs.org/en/blog/release/v22.15.1">22.15.1</a> 版。 </li><li> 已將 Node.js 20 更新至 <a href="https://nodejs.org/en/blog/release/v20.19.1">20.19.1</a> 版。 </li><li> 已將 Node.js 18 更新至 <a href="https://nodejs.org/en/blog/release/v18.20.8">18.20.8 </a>版。 </li></ul> </td></tr>
  <tr><td><b>PHP</b></td><td> <ul><li> 將 PHP 8.4 更新至 <a href="https://www.php.net/releases/8_4_7.php">8.4.7 版。</a> </li><li> 將 PHP 8.3 更新至 <a href="https://www.php.net/releases/8_3_20.php">8.3.20</a> 版。 </li><li> 將 Composer 更新至 <a href="https://github.com/composer/composer/releases/tag/2.8.9">2.8.9</a> 版。 </li></ul> </td></tr>
  <tr><td><b>Python</b></td><td> <ul><li> 將 Python 3.11 更新至 <a href="https://www.python.org/downloads/release/python-31112/">3.11.12</a> 版。 </li><li> 將 Python 3.9 更新至 <a href="https://www.python.org/downloads/release/python-3922/">3.9.22</a> 版。 </li><li> 將 Pipenv 更新至 2025.0.2 版。 </li></ul> </td></tr>
  <tr><td><b>Ruby</b></td><td> <ul><li> 將 Ruby 3.4 更新至 <a href="https://www.ruby-lang.org/en/news/2025/05/14/ruby-3-4-4-released/">3.4.4-p34 </a>版。 </li><li> 將 Ruby 3.2 更新至 <a href="https://www.ruby-lang.org/en/news/2025/03/26/ruby-3-2-8-released/">3.2.8</a> 版。 </li></ul> </td></tr>
</tbody>
</table>
</td></tr>
</tbody>
</table>


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

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  ECS 代理程式  |  Docker  |  Docker Compose  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Docker AL2023 4.5.2 版** <br /> * 64bit Amazon Linux 2023 v4.5.2 running Docker *  | 2023.7.20250512 |  | 25.0.8 | 2.36.1 | nginx 1.26.3 | 
|  ** ECS AL2023 4.1.2 版** <br /> * 64bit Amazon Linux 2023 v4.1.2 running ECS *  | 2023.7.20250512 | 1.93.0 | 25.0.8 |  |  | 
|  ** Docker AL2 4.1.1 版** <br /> * 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 版** <br /> * 64bit Amazon Linux 2 v3.4.1 running ECS *  | 2.0.20250414 | 1.91.2 | 25.0.8 |  |  | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|  ** Go 1 AL2023 4.3.2 版** <br /> * 64bit Amazon Linux 2023 v4.3.2 running Go 1 *  | 2023.7.20250512 | Go 1.24.2 | 3.3.14 | nginx 1.26.3 | 
|  ** Go 1 AL2 3.12.1 版** <br /> * 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-05-20-al2023.platforms.javase"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  工具  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Corretto 21 AL2023 4.5.2 版** <br /> * 64bit Amazon Linux 2023 v4.5.2 running Corretto 21 *  | 2023.7.20250512 | Corretto 21.0.7.6.1 | Ant 1.10.15、Gradle 8.14、Maven 3.9.9 | 3.3.14 | nginx 1.26.3 | 
|  ** Corretto 17 AL2023 4.5.2 版** <br /> * 64bit Amazon Linux 2023 v4.5.2 running Corretto 17 *  | 2023.7.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 AL2023 4.5.2 版** <br /> * 64bit Amazon Linux 2023 v4.5.2 running Corretto 11 *  | 2023.7.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 AL2023 4.5.2 版** <br /> * 64bit Amazon Linux 2023 v4.5.2 running Corretto 8 *  | 2023.7.20250512 | Corretto 8.452.09.2 | Ant 1.10.15、Gradle 8.14、Maven 3.9.9 | 3.3.14 | nginx 1.26.3 | 
|  ** Corretto 17 3.8.1 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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-05-20-al2023.platforms.java"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  應用程式伺服器  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Corretto 21 with Tomcat 11 AL2023 5.6.2 版** <br /> * 64bit Amazon Linux 2023 v5.6.2 running Tomcat 11 Corretto 21 *  | 2023.7.20250512 | Corretto 21.0.7.6.1 | 3.3.14 | Tomcat 11.0.7 | nginx 1.26.3 （預設）、Apache 2.4.62 | 
|  ** Corretto 17 with Tomcat 11 AL2023 5.6.2 版** <br /> * 64bit Amazon Linux 2023 v5.6.2 running Tomcat 11 Corretto 17 *  | 2023.7.20250512 | Corretto 17.0.15.6.1 | 3.3.14 | Tomcat 11.0.7 | nginx 1.26.3 （預設）、Apache 2.4.62 | 
|  ** Corretto 21 with Tomcat 10 AL2023 5.6.2 版** <br /> * 64bit Amazon Linux 2023 v5.6.2 running Tomcat 10 Corretto 21 *  | 2023.7.20250512 | Corretto 21.0.7.6.1 | 3.3.14 | Tomcat 10.1.41 | nginx 1.26.3 （預設）、Apache 2.4.62 | 
|  ** Corretto 17 with Tomcat 10 AL2023 5.6.2 版** <br /> * 64bit Amazon Linux 2023 v5.6.2 running Tomcat 10 Corretto 17 *  | 2023.7.20250512 | Corretto 17.0.15.6.1 | 3.3.14 | Tomcat 10.1.41 | nginx 1.26.3 （預設）、Apache 2.4.62 | 
|  ** Corretto 17 with Tomcat 9 AL2023 5.6.2 版** <br /> * 64bit Amazon Linux 2023 v5.6.2 running Tomcat 9 Corretto 17 *  | 2023.7.20250512 | Corretto 17.0.15.6.1 | 3.3.14 | Tomcat 9.0.104 | nginx 1.26.3 （預設）、Apache 2.4.62 | 
|  ** Corretto 11 with Tomcat 9 AL2023 5.6.2 版** <br /> * 64bit Amazon Linux 2023 v5.6.2 running Tomcat 9 Corretto 11 *  | 2023.7.20250512 | Corretto 11.0.27.6.1 | 3.3.14 | Tomcat 9.0.104 | nginx 1.26.3 （預設）、Apache 2.4.62 | 
|  ** Corretto 11 with Tomcat 9 AL2 4.8.1 版** <br /> * 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 版** <br /> * 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-05-20-al2023.platforms.dotnetlinux"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  架構  |  代理伺服器  |  AMI  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | 
|  ** .NET 9 on AL2023 3.4.2 版** <br /> * 64bit Amazon Linux 2023 v3.4.2 running .NET 9 *  | .NET 9.0.5，支援 9.0.5 | nginx 1.26.3 | 2023.7.20250512 | 3.3.14 | 
|  ** .NET 8 on AL2023 3.4.2 版** <br /> * 64bit Amazon Linux 2023 v3.4.2 running .NET 8 *  | .NET 8.0.16，支援 8.0.16 | nginx 1.26.3 | 2023.7.20250512 | 3.3.14 | 
|  ** .NET Core on AL2 2.10.0 版** <br /> * 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-05-20-al2023.platforms.nodejs"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Node.js 版本 (npm 版本)  |  代理伺服器  |  Git  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Node.js 22 AL2023 6.5.2 版** <br /> * 64bit Amazon Linux 2023 v6.5.2 running Node.js 22 *  | 2023.7.20250512 | 22.15.1 (10.9.2)<br /> 預設版本：v22.15.1 | nginx 1.26.3 （預設）、Apache 2.4.62 | 2.47.1 | 3.3.14 | 
|  ** Node.js 20 AL2023 6.5.2 版** <br /> * 64bit Amazon Linux 2023 v6.5.2 running Node.js 20 *  | 2023.7.20250512 | 20.19.1 (10.8.2)<br /> 預設版本：20.19.1 | nginx 1.26.3 （預設）、Apache 2.4.62 | 2.47.1 | 3.3.14 | 

### PHP
<a name="release-2025-05-20-al2023.platforms.PHP"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  Composer  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|  ** PHP 8.4 AL2023 4.6.2 版** <br /> * 64bit Amazon Linux 2023 v4.6.2 running PHP 8.4 *  | 2023.7.20250512 | PHP 8.4.7 | 2.8.9 | nginx 1.26.3 （預設）、Apache 2.4.62 | 
|  ** PHP 8.3 AL2023 4.6.2 版** <br /> * 64bit Amazon Linux 2023 v4.6.2 running PHP 8.3 *  | 2023.7.20250512 | PHP 8.3.20 | 2.8.9 | nginx 1.26.3 （預設）、Apache 2.4.62 | 
|  ** PHP 8.2 AL2023 4.6.2 版** <br /> * 64bit Amazon Linux 2023 v4.6.2 running PHP 8.2 *  | 2023.7.20250512 | PHP 8.2.28 | 2.8.9 | nginx 1.26.3 （預設）、Apache 2.4.62 | 
|  ** PHP 8.1 AL2023 4.6.2 版** <br /> * 64bit Amazon Linux 2023 v4.6.2 running PHP 8.1 *  | 2023.7.20250512 | PHP 8.1.32 | 2.8.9 | nginx 1.26.3 （預設）、Apache 2.4.62 | 
|  ** PHP 8.1 AL2 3.9.1 版** <br /> * 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-05-20-al2023.platforms.python"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  Packager  |  meld3  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|  ** Python 3.13 AL2023 4.5.2 版** <br /> * 64bit Amazon Linux 2023 v4.5.2 running Python 3.13 *  | 2023.7.20250512 | Python 3.13.3 | pipenv 2025.0.2 |  |  | 3.3.14 | nginx 1.26.3 （預設）、Apache 2.4.62 | 
|  ** Python 3.12 AL2023 4.5.2 版** <br /> * 64bit Amazon Linux 2023 v4.5.2 running Python 3.12 *  | 2023.7.20250512 | Python 3.12.10 | pipenv 2025.0.2 |  |  | 3.3.14 | nginx 1.26.3 （預設）、Apache 2.4.62 | 
|  ** Python 3.11 AL2023 4.5.2 版** <br /> * 64bit Amazon Linux 2023 v4.5.2 running Python 3.11 *  | 2023.7.20250512 | Python 3.11.12 | pipenv 2025.0.2 |  |  | 3.3.14 | nginx 1.26.3 （預設）、Apache 2.4.62 | 
|  ** Python 3.9 AL2023 4.5.2 版** <br /> * 64bit Amazon Linux 2023 v4.5.2 running Python 3.9 *  | 2023.7.20250512 | Python 3.9.22 | pipenv 2025.0.2 |  |  | 3.3.14 | nginx 1.26.3 （預設）、Apache 2.4.62 | 

### Ruby
<a name="release-2025-05-20-al2023.platforms.ruby"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  應用程式伺服器  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | 
|  ** Ruby 3.4 AL2023 4.5.2 版** <br /> * 64bit Amazon Linux 2023 v4.5.2 running Ruby 3.4 *  | 2023.7.20250512 | Ruby 3.4.4-p34 | RubyGems 3.6.7 | Puma 6.6.0 | 3.3.14 | nginx 1.26.3 | 
|  ** Ruby 3.3 AL2023 4.5.2 版** <br /> * 64bit Amazon Linux 2023 v4.5.2 running Ruby 3.3 *  | 2023.7.20250512 | 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.2 版** <br /> * 64bit Amazon Linux 2023 v4.5.2 running Ruby 3.2 *  | 2023.7.20250512 | Ruby 3.2.8 | RubyGems 3.4.19 | Puma 6.6.0 | 3.3.14 | nginx 1.26.3 | 