

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

# 版本：2023 年 9 月 5 日 Elastic Beanstalk Amazon Linux 2 平台更新
<a name="release-2023-09-05-al2"></a>

此版本為基於 Amazon Linux 2 的 AWS Elastic Beanstalk 平台提供了新版本。此版本內含安全性更新，同時也包含 AMI、Docker、ECS 型 Docker、Go、Corretto、.NET Core、Node.js、PHP、Python 和 Ruby 更新，以及一些平台棄用公告。

**版本日期：**2023 年 9 月 5 日

## 變更
<a name="release-2023-09-05-al2.changes"></a>

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

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


| **類別** | **描述** | 
| --- | --- | 
| **元件** | **更新** | 
| --- | --- | 
| **平台** | **更新** | 
| --- | --- | 
| **安全性更新** | 將在 **2023 年 8 月 24 日**或之前在 [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-2023-09-05-al2.html) | 
| **平台取代** | 今天我們宣布，基於 Amazon Linux 2 的數個平台分支將淘*汰*，因為其語言執行期元件的擁有者終止支援。*這些平台分支現在已被取代。*如果您目前使用任一個遭淘汰的平台，我們強烈建議您開始規劃將每個平台遷移至完全支援的當前版本。<br />下列平台分支現已被取代：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2023-09-05-al2.html)<br />這些平台分支將於 *2024 年 9 月 30 日淘汰*。（這些版本備註先前已宣布較早的淘汰日期是 2024 年 6 月 30 日，但該日期已變更[版本：2024 年 2 月 28 日 Elastic Beanstalk Amazon Linux 2 平台更新](release-2024-02-28-al2.md)。)<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-2023-09-05-al2.html) | 
| **AMI** | 已將基本 AMI 更新至 2.0.20230822 版。 | 
| **Docker** | 已將 *ECS Amazon Linux 2* 平台分支上的 Amazon ECS 代理程式更新至 **1.75.0** 版。<br />已將 Docker Compose 更新至 [2.20.3](https://docs.docker.com/compose/release-notes/#2203) 版。 | 
| **Go** | 已將 Go 更新至 1.21.0 版。如需詳細資訊，請參閱 *Go 程式設計語言版本歷史記錄*中的 [go1.21.0](https://go.dev/doc/devel/release#go1.21.0)。 | 
| **Corretto** | 工具更新[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2023-09-05-al2.html) | 
| **.NET Core** | 已將 .NET Core 更新至 [6.0.21](https://github.com/dotnet/core/blob/main/release-notes/6.0/6.0.21/6.0.21.md) 版。<br />這是安全性版本更新。 | 
| **Node.js** | 已更新 Node.js 18，新增對 Node [18.17.1](https://nodejs.org/en/blog/release/v18.17.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** | 已將 PHP 8.1 版更新至 [8.1.22](https://www.php.net/releases/8_1_22.php) 版。<br />這是安全性版本更新。 | 
| **Python** | 已將 Pipenv 更新至 2023.8.26 版。如需詳細資訊，請參閱 Pipenv [發行版本和版本歷史記錄](https://pipenv.pypa.io/en/latest/changelog/)。 Python 3.7 是淘汰中 (已棄用) 的平台分支。如需 Elastic Beanstalk 淘汰平台分支的完整版本資訊，請參閱 *AWS Elastic Beanstalk 平台*指南中的[排定淘汰的 Elastic Beanstalk 平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。  | 
| **Ruby** | 已將 RubyGems 更新至 3.4.19 版。如需詳細資訊，請參閱 *RubyGems 部落格*上的 [3.4.19 已發佈](https://blog.rubygems.org/2023/08/17/3.4.19-released.html)。<br />已將 Puma 更新至 [6.3.1](https://github.com//puma/puma/releases/tag/v6.3.1) 版。<br />Puma 更新為安全性版本。 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-2023-09-05-al2.platforms"></a>

**注意**  
下列各個表格列出每個平台的所有支援平台分支。僅更新 Amazon Linux 2 平台分支。

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

### Docker
<a name="release-2023-09-05-linux.platforms.docker"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  ECS 代理程式  |  Docker  |  Docker Compose  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Docker AL2023 4.0.0 版** <br /> * 64bit Amazon Linux 2023 v4.0.0 running Docker *  | 2023.1.20230725 |  | 20.10.25-1 | 2.20.2 | nginx 1.24.0 | 
|  ** Docker AL2 3.6.1 版** <br /> * 64bit Amazon Linux 2 v3.6.1 running Docker *  | 2.0.20230822 |  | 20.10.23-1 | 2.20.3 | nginx 1.22.1 | 
|  ** ECS AL2 3.2.11 版** <br /> * 64bit Amazon Linux 2 v3.2.11 running ECS *  | 2.0.20230822 | 1.75.0 |  |  |  | 

### Go
<a name="release-2023-09-05-linux.platforms.go"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|  ** Go 1 AL2 3.8.0 版** <br /> * 64bit Amazon Linux 2 v3.8.0 running Go 1 *  | 2.0.20230822 | Go 1.21.0 | 3.2.0 | nginx 1.22.1 | 

### Java SE
<a name="release-2023-09-05-linux.platforms.javase"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  工具  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Corretto 17 AL2023 4.0.0 版** <br /> * 64bit Amazon Linux 2023 v4.0.0 running Corretto 17 *  | 2023.1.20230725 | Corretto 17.0.8.7.1 | Ant 1.10.12、Gradle 8.2.1、Maven 3.8.4 | 3.2.0 | nginx 1.24.0 | 
|  ** Corretto 17 3.5.0 版** <br /> * 64bit Amazon Linux 2 v3.5.0 running Corretto 17 *  | 2.0.20230822 | Corretto 17.0.8.7.1 | Ant 1.10.7、Gradle 8.3、Maven 3.8.8 | 3.2.0 | nginx 1.22.1 | 
|  ** Corretto 11 3.5.0 版** <br /> * 64bit Amazon Linux 2 v3.5.0 running Corretto 11 *  | 2.0.20230822 | Corretto 11.0.20.8.1 | Ant 1.10.7、Gradle 8.3、Maven 3.8.8 | 3.2.0 | nginx 1.22.1 | 
|  ** Corretto 8 3.5.0 版** <br /> * 64bit Amazon Linux 2 v3.5.0 running Corretto 8 *  | 2.0.20230822 | Corretto 8.382.05.1 | Ant 1.10.7、Gradle 8.3、Maven 3.8.8 | 3.2.0 | nginx 1.22.1 | 

### Tomcat
<a name="release-2023-09-05-linux.platforms.java"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  應用程式伺服器  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Corretto 17 with Tomcat 10 AL2023 5.0.1 版** <br /> * 64bit Amazon Linux 2023 v5.0.1 running Tomcat 10 Corretto 17 *  | 2023.1.20230725 | Corretto 17.0.8.7.1 | 3.2.0 | Tomcat 10.1.11 | nginx 1.24.0 (預設)，Apache 2.4.56 | 
|  ** Corretto 11 with Tomcat 8.5 AL2 4.3.11 版** <br /> * 64bit Amazon Linux 2 v4.3.11 running Tomcat 8.5 Corretto 11 *  | 2.0.20230822 | Corretto 11.0.20.8.1 | 3.2.0 | Tomcat 8.5.89 | nginx 1.22.1 (預設)，Apache 2.4.57 | 
|  ** Corretto 8 with Tomcat 8.5 AL2 4.3.11 版** <br /> * 64bit Amazon Linux 2 v4.3.11 running Tomcat 8.5 Corretto 8 *  | 2.0.20230822 | Corretto 8.382.05.1 | 3.2.0 | Tomcat 8.5.89 | nginx 1.22.1 (預設)，Apache 2.4.57 | 

### Linux 上的 .NET Core
<a name="release-2023-09-05-linux.platforms.dotnetlinux"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  架構  |  代理伺服器  |  AMI  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | 
|  ** .NET Core on AL2 2.5.7 版** <br /> * 64bit Amazon Linux 2 v2.5.7 running .NET Core *  | .NET 6.0.21，支援 6.0.21、3.1.32 | nginx 1.22.1 | 2.0.20230822 | 3.2.0 | 

### Node.js
<a name="release-2023-09-05-linux.platforms.nodejs"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Node.js 版本 (npm 版本)  |  代理伺服器  |  Git  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Node.js 18 AL2023 6.0.0 版** <br /> * 64bit Amazon Linux 2023 v6.0.0 running Node.js 18 *  | 2023.1.20230725 | 18.12.1 (8.19.2)<br /> 預設版本：18.12.1 | nginx 1.24.0 (預設)，Apache 2.4.56 | 2.40.1 | 3.2.0 | 
|  ** Node.js 18 AL2 5.8.5 版** <br /> * 64bit Amazon Linux 2 v5.8.5 running Node.js 18 *  | 2.0.20230822 | 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.17.1 | nginx 1.22.1 (預設)，Apache 2.4.57 | 2.40.1 | 3.2.0 | 

### PHP
<a name="release-2023-09-05-linux.platforms.PHP"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  Composer  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|  ** PHP 8.2 AL2023 4.0.0 版** <br /> * 64bit Amazon Linux 2023 v4.0.0 running PHP 8.2 *  | 2023.1.20230725 | PHP 8.2.7 | 2.5.8 | nginx 1.24.0 (預設)，Apache 2.4.56 | 
|  ** PHP 8.1 AL2023 4.0.0 版** <br /> * 64bit Amazon Linux 2023 v4.0.0 running PHP 8.1 *  | 2023.1.20230725 | PHP 8.1.21 | 2.5.7 | nginx 1.24.0 (預設)，Apache 2.4.56 | 
|  ** PHP 8.1 AL2 3.5.11 版** <br /> * 64bit Amazon Linux 2 v3.5.11 running PHP 8.1 *  | 2.0.20230822 | PHP 8.1.22 | 2.3.5 | nginx 1.22.1 (預設)，Apache 2.4.57 | 
|  ** PHP 8.0 AL2 3.5.11 版** <br /> * 64bit Amazon Linux 2 v3.5.11 running PHP 8.0 *  | 2.0.20230822 | PHP 8.0.28 | 2.0.13 | nginx 1.22.1 (預設)，Apache 2.4.57 | 

### Python
<a name="release-2023-09-05-linux.platforms.python"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  Packager  |  meld3  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|  ** Python 3.11 AL2023 4.0.3 版** <br /> * 64bit Amazon Linux 2023 v4.0.3 running Python 3.11 *  | 2023.1.20230725 | Python 3.11.2 | pipenv 2023.7.23 |  |  | 3.2.0 | nginx 1.24.0 (預設)，Apache 2.4.56 | 
|  ** Python 3.9 AL2023 4.0.3 版** <br /> * 64bit Amazon Linux 2023 v4.0.3 running Python 3.9 *  | 2023.1.20230725 | Python 3.9.16 | pipenv 2023.7.23 |  |  | 3.2.0 | nginx 1.24.0 (預設)，Apache 2.4.56 | 
|  **Python 3.8 AL2 3.5.6 版** <br /> * 64bit Amazon Linux 2 v3.5.6 running Python 3.8 *  | 2.0.20230822 | Python 3.8.16 | pipenv 2023.8.26 |  |  | 3.2.0 | nginx 1.22.1 (預設)，Apache 2.4.57 | 

### Ruby
<a name="release-2023-09-05-linux.platforms.ruby"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  應用程式伺服器  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | 
|  ** Ruby 3.0 AL2 3.6.11 版** <br /> * 64bit Amazon Linux 2 v3.6.11 running Ruby 3.0 *  | 2.0.20230822 | Ruby 3.0.6-p216 | RubyGems 3.4.19 | Puma 6.3.1 | 3.2.0 | nginx 1.22.1 | 