

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

# 版本：2024 年 2 月 28 日 Elastic Beanstalk Amazon Linux 2 平台更新
<a name="release-2024-02-28-al2"></a>

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

**版本日期：**2024 年 2 月 28 日

## 變更
<a name="release-2024-02-28-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 年 2 月 23** 日或之前在 [Amazon Linux 安全中心](https://alas.aws.amazon.com/alas2.html)發佈的所有安全性更新，套用至所有 Amazon Linux 2 平台。<br />某些平台更新都是安全性版本更新。如需詳細資訊，請參閱本表中的**平台特定更新**。 | 
| **跨平台更新** | 執行下列跨平台更新：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html) | 
| **平台棄用日期** | 下列平台分支的淘汰日期已移回 *2024 年 9 月 30* 日。在[先前的版本備註](release-2023-09-05-al2.md)中，我們宣布了較早的淘汰日期。[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html)<br />這些平台分支由於其語言執行期元件擁有者終止支援而*淘汰*，並*已棄用。*如果您目前使用任一個遭淘汰的平台，我們強烈建議您開始規劃將每個平台遷移至完全支援的當前版本。<br />*AWS Elastic Beanstalk 平台*指南中[支援的平台](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-supported.html)頁面上未列出要淘汰的平台分支。它們列在一個單獨的頁面上，即[淘汰的平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。<br />如需平台淘汰的詳細資訊，請參閱*AWS Elastic Beanstalk 開發人員指南*中的[Elastic Beanstalk 平台支援政策](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-support-policy.html)。 | 
| **平台特定更新** | 執行下列平台特定更新：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html) | 
| **AMI** | 將基本 AMI 更新至 2.0.20240223 版。 | 
| **Docker** | **ECS Docker 平台分支**[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html)<br />**Docker 平台分支**[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html)<br /> **此版本對 Docker 平台分支進行的其他變更** [See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html) | 
| **Go** | 已將 Go 更新至 1.22.0 版。如需詳細資訊，請參閱 [Go 程式設計語言版本歷史記錄中的 go1.22.0](https://go.dev/doc/devel/release#go1.22.0)。 ** | 
| **Corretto** | 語言執行期更新：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html)<br />這兩種語言更新都是安全性版本。<br />工具更新：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html) | 
| **Tomcat** | **Tomcat 9 平台分支**[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html)<br />**Corretto 8** 語言執行時間更新是安全性版本。 AL2 上的 Corretto 8 和 Corretto 11 搭配 Tomcat 8.5 為淘汰中 (已棄用) 的平台分支。如需 Elastic Beanstalk 淘汰平台分支的完整版本資訊，請參閱 *AWS Elastic Beanstalk 平台*指南中的[排定淘汰的 Elastic Beanstalk 平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。  | 
| **.NET Core** | 將 .NET Core 更新至 [6.0.27](https://github.com/dotnet/core/blob/main/release-notes/6.0/6.0.27/6.0.27.md) 版。<br />這是安全性版本更新。 | 
| **Node.js** | 更新 Node.js 18 以新增對 Node [18.19.1](https://nodejs.org/en/blog/release/v18.19.1) 版的支援。<br />這是安全性版本更新。 Node.js 14 和 Node.js 16 為淘汰中 (已棄用) 的平台分支。如需 Elastic Beanstalk 淘汰平台分支的完整版本資訊，請參閱 *AWS Elastic Beanstalk 平台*指南中的[排定淘汰的 Elastic Beanstalk 平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。  | 
| **PHP** | 沒有語言版本更新。<br /> **使用 版本對 PHP 平台分支進行的其他變更** [See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html) PHP 8.0 是已淘汰 (已棄用) 的平台分支。如需 Elastic Beanstalk 淘汰平台分支的完整版本資訊，請參閱 *AWS Elastic Beanstalk 平台*指南中的[排定淘汰的 Elastic Beanstalk 平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。  | 
| **Python** | 已將 Pipenv 更新至 Python 3.8 平台分支的 **2023.12.1** 版。如需詳細資訊，請參閱 Pipenv [發行版本和版本歷史記錄](https://github.com/pypa/pipenv/releases)。 Python 3.7 是淘汰中 (已棄用) 的平台分支。如需 Elastic Beanstalk 淘汰平台分支的完整版本資訊，請參閱 *AWS Elastic Beanstalk 平台*指南中的[排定淘汰的 Elastic Beanstalk 平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。  | 
| **Ruby** | 已將 RubyGems 更新至 3.5.6 版。如需詳細資訊，請參閱 *RubyGems 部落格*上的[版本備註](https://blog.rubygems.org/#2024)。 Ruby 2.7 和 Ruby 3.0 是淘汰中 (已棄用) 的平台分支。如需 Elastic Beanstalk 淘汰平台分支的完整版本資訊，請參閱 *AWS Elastic Beanstalk 平台*指南中的[排定淘汰的 Elastic Beanstalk 平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。  | 

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

### Docker
<a name="release-2024-02-28-al2.platforms.docker"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  ECS 代理程式  |  Docker  |  Docker Compose  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Docker AL2023 4.2.2 版** <br /> * 64bit Amazon Linux 2023 v4.2.2 running Docker *  | 2023.3.20240219 |  | 24.0.5-1 | 2.24.6 | nginx 1.24.0 | 
|  ** ECS AL2023 4.0.5 版** <br /> * 64bit Amazon Linux 2023 v4.0.5 running ECS *  | 2023.3.20240219 | 1.81.0 |  |  |  | 
|  ** Docker AL2 3.7.2 版** <br /> * 64bit Amazon Linux 2 v3.7.2 running Docker *  | 2.0.20240223 |  | 20.10.25-1 | 2.24.6 | nginx 1.22.1 | 
|  ** ECS AL2 3.2.18 版** <br /> * 64bit Amazon Linux 2 v3.2.18 running ECS *  | 2.0.20240223 | 1.81.0 |  |  |  | 

### Go
<a name="release-2024-02-28-al2.platforms.go"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|  ** Go 1 AL2023 4.0.4 版** <br /> * 64bit Amazon Linux 2023 v4.0.4 running Go 1 *  | 2023.3.20240219 | Go 1.20.12 | 3.2.0 | nginx 1.24.0 | 
|  ** Go 1 AL2 3.9.0 版** <br /> * 64bit Amazon Linux 2 v3.9.0 running Go 1 *  | 2.0.20240223 | Go 1.22.0 | 3.2.0 | nginx 1.22.1 | 

### Java SE
<a name="release-2024-02-28-al2.platforms.javase"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  工具  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Corretto 21 AL2023 4.2.1 版** <br /> * 64bit Amazon Linux 2023 v4.2.1 running Corretto 21 *  | 2023.3.20240219 | Corretto 21.0.2.14.1 | Ant 1.10.12、Gradle 8.6、Maven 3.8.4 | 3.2.0 | nginx 1.24.0 | 
|  ** Corretto 17 AL2023 4.2.1 版** <br /> * 64bit Amazon Linux 2023 v4.2.1 running Corretto 17 *  | 2023.3.20240219 | Corretto 17.0.10.8.1 | Ant 1.10.12、Gradle 8.6、Maven 3.8.4 | 3.2.0 | nginx 1.24.0 | 
|  ** Corretto 11 AL2023 4.2.1 版** <br /> * 64bit Amazon Linux 2023 v4.2.1 running Corretto 11 *  | 2023.3.20240219 | Corretto 11.0.22.7.1 | Ant 1.10.12、Gradle 8.6、Maven 3.8.4 | 3.2.0 | nginx 1.24.0 | 
|  ** Corretto 8 AL2023 4.2.1 版** <br /> * 64bit Amazon Linux 2023 v4.2.1 running Corretto 8 *  | 2023.3.20240219 | Corretto 8.402.08.1 | Ant 1.10.12、Gradle 8.6、Maven 3.8.4 | 3.2.0 | nginx 1.24.0 | 
|  ** Corretto 17 3.6.4 版** <br /> * 64bit Amazon Linux 2 v3.6.4 running Corretto 17 *  | 2.0.20240223 | Corretto 17.0.10.8.1 | Ant 1.10.14、Gradle 8.6、Maven 3.9.6 | 3.2.0 | nginx 1.22.1 | 
|  ** Corretto 11 3.6.4 版** <br /> * 64bit Amazon Linux 2 v3.6.4 running Corretto 11 *  | 2.0.20240223 | Corretto 11.0.22.7.1 | Ant 1.10.14、Gradle 8.6、Maven 3.9.6 | 3.2.0 | nginx 1.22.1 | 
|  ** Corretto 8 3.6.4 版** <br /> * 64bit Amazon Linux 2 v3.6.4 running Corretto 8 *  | 2.0.20240223 | Corretto 8.402.08.1 | Ant 1.10.14、Gradle 8.6、Maven 3.9.6 | 3.2.0 | nginx 1.22.1 | 

### Tomcat
<a name="release-2024-02-28-al2.platforms.java"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  應用程式伺服器  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Corretto 17 with Tomcat 10 AL2023 5.1.4 版** <br /> * 64bit Amazon Linux 2023 v5.1.4 running Tomcat 10 Corretto 17 *  | 2023.3.20240219 | Corretto 17.0.10.8.1 | 3.2.0 | Tomcat 10.1.19 | nginx 1.24.0 (預設)，Apache 2.4.58 | 
|  ** Corretto 17 with Tomcat 9 AL2023 5.1.4 版** <br /> * 64bit Amazon Linux 2023 v5.1.4 running Tomcat 9 Corretto 17 *  | 2023.3.20240219 | Corretto 17.0.10.8.1 | 3.2.0 | Tomcat 9.0.83 | nginx 1.24.0 (預設)，Apache 2.4.58 | 
|  ** Corretto 11 with Tomcat 9 AL2023 5.1.4 版** <br /> * 64bit Amazon Linux 2023 v5.1.4 running Tomcat 9 Corretto 11 *  | 2023.3.20240219 | Corretto 11.0.22.7.1 | 3.2.0 | Tomcat 9.0.83 | nginx 1.24.0 (預設)，Apache 2.4.58 | 
|  ** Corretto 8 with Tomcat 9 AL2 4.4.1 版** <br /> * 64bit Amazon Linux 2 v4.4.1 running Tomcat 9 Corretto 8 *  | 2.0.20240223 | Corretto 8.402.08.1 | 3.2.0 | Tomcat 9.0.83 | nginx 1.22.1 (預設)，Apache 2.4.58 | 

### Linux 上的 .NET Core
<a name="release-2024-02-28-al2.platforms.dotnetlinux"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  架構  |  代理伺服器  |  AMI  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | 
|  ** .NET 6 on AL2023 3.0.4 版** <br /> * 64bit Amazon Linux 2023 v3.0.4 running .NET 6 *  | .NET 6.0.26，支援 6.0.26 | nginx 1.24.0 | 2023.3.20240219 | 3.2.0 | 
|  ** .NET Core on AL2 2.6.5 版** <br /> * 64bit Amazon Linux 2 v2.6.5 running .NET Core *  | .NET 6.0.27，支援 6.0.27 | nginx 1.22.1 | 2.0.20240223 | 3.2.0 | 

### Node.js
<a name="release-2024-02-28-al2.platforms.nodejs"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Node.js 版本 (npm 版本)  |  代理伺服器  |  Git  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Node.js 20 AL2023 6.1.1 版** <br /> * 64bit Amazon Linux 2023 v6.1.1 running Node.js 20 *  | 2023.3.20240219 | 20.10.0 (10.2.3)<br /> 預設版本：20.10.0 | nginx 1.24.0 (預設)，Apache 2.4.58 | 2.40.1 | 3.2.0 | 
|  ** Node.js 18 AL2023 6.1.1 版** <br /> * 64bit Amazon Linux 2023 v6.1.1 running Node.js 18 *  | 2023.3.20240219 | 18.18.2 (9.8.1)<br /> 預設版本：18.18.2 | nginx 1.24.0 (預設)，Apache 2.4.58 | 2.40.1 | 3.2.0 | 
|  ** Node.js 18 AL2 5.8.11 版** <br /> * 64bit Amazon Linux 2 v5.8.11 running Node.js 18 *  | 2.0.20240223 | 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.1)、18.14 18.12.1 18.9.1 .<br /> 預設版本：18.19.1 | nginx 1.22.1 (預設)，Apache 2.4.58 | 2.40.1 | 3.2.0 | 

### PHP
<a name="release-2024-02-28-al2.platforms.PHP"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  Composer  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|  ** PHP 8.2 AL2023 4.1.0 版** <br /> * 64bit Amazon Linux 2023 v4.1.0 running PHP 8.2 *  | 2023.3.20240219 | PHP 8.2.15 | 2.7.1 | nginx 1.24.0 (預設)，Apache 2.4.58 | 
|  ** PHP 8.1 AL2023 4.1.0 版** <br /> * 64bit Amazon Linux 2023 v4.1.0 running PHP 8.1 *  | 2023.3.20240219 | PHP 8.1.27 | 2.7.1 | nginx 1.24.0 (預設)，Apache 2.4.58 | 
|  ** PHP 8.1 AL2 3.6.0 版** <br /> * 64bit Amazon Linux 2 v3.6.0 running PHP 8.1 *  | 2.0.20240223 | PHP 8.1.27 | 2.7.1 | nginx 1.22.1 (預設)，Apache 2.4.58 | 

### Python
<a name="release-2024-02-28-al2.platforms.python"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  Packager  |  meld3  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|  ** Python 3.11 AL2023 4.0.9 版** <br /> * 64bit Amazon Linux 2023 v4.0.9 running Python 3.11 *  | 2023.3.20240219 | Python 3.11.6 | pipenv 2023.12.1 |  |  | 3.2.0 | nginx 1.24.0 (預設)，Apache 2.4.58 | 
|  ** Python 3.9 AL2023 4.0.9 版** <br /> * 64bit Amazon Linux 2023 v4.0.9 running Python 3.9 *  | 2023.3.20240219 | Python 3.9.16 | pipenv 2023.12.1 |  |  | 3.2.0 | nginx 1.24.0 (預設)，Apache 2.4.58 | 
|  ** Python 3.8 AL2 3.5.12 版** <br /> * 64bit Amazon Linux 2 v3.5.12 running Python 3.8 *  | 2.0.20240223 | Python 3.8.16 | pipenv 2023.12.1 |  |  | 3.2.0 | nginx 1.22.1 (預設)，Apache 2.4.58 | 

### Ruby
<a name="release-2024-02-28-al2.platforms.ruby"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  應用程式伺服器  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | 
|  ** Ruby 3.2 AL2023 4.0.4 版** <br /> * 64bit Amazon Linux 2023 v4.0.4 running Ruby 3.2 *  | 2023.3.20240219 | Ruby 3.2.2 | RubyGems 3.4.10 | Puma 6.4.2 | 3.2.0 | nginx 1.24.0 | 