

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

# 發佈：2023 年 4 月 3 日 Elastic Beanstalk Amazon Linux 2 平台更新
<a name="release-2023-04-03-linux"></a>

此版本為以 Amazon Linux 2 為基礎的 AWS Elastic Beanstalk 平台提供了新版本。此版本內含安全性更新，先推出新分支，**Node.js 18**。其中還包含 AMI、Apache httpd、以 ECS 為基礎的 Docker、Go、.NET Core、PHP、Python 更新和 Ruby 更新。

**發佈日期：**2023 年 4 月 3 日

## 變更
<a name="release-2023-04-03-linux.changes"></a>

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

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


| **類別** | **描述** | 
| --- | --- | 
| **元件** | **更新** | 
| --- | --- | 
| **平台** | **更新** | 
| --- | --- | 
| **安全性更新** | 已將在 **2023 年 3 月 21 日**或之前在 [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-04-03-linux.html) | 
| **平台特定更新** | 執行下列平台特定更新：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2023-04-03-linux.html) | 
| **AMI** | 已將基本 AMI 更新至 2.0.20230320 版。 | 
| **Apache** | 已將平台支援的 Apache HTTP Server 2.4 更新至 2.4.56 版。如需詳細資訊，請參閱 *Apache Software Foundation* 網站上的 [Apache 2.4.56 變更](https://archive.apache.org/dist/httpd/CHANGES_2.4.56)。<br />**Apache 2.4.56** 版是安全性版本。 | 
| **Docker** | 已將 *ECS Amazon Linux 2* 平台分支上的 Amazon ECS 代理程式更新至 **1.69.0** 版。 | 
| **Go** | 已將 Go 更新至 1.20.2 版。如需詳細資訊，請參閱 *Go 程式設計語言版本歷史記錄*中的 [go1.20](https://go.dev/doc/devel/release#go1.20)。<br />這是安全性版本更新。 | 
| **.NET Core** | 已將 .NET Core 更新至 [6.0.15](https://github.com/dotnet/core/blob/main/release-notes/6.0/6.0.15/6.0.15.md#notable-changes) 版。 | 
| **Node.js** |  **\*\*全新！\*\*** – 推出全新 **Node.js 18** 平台分支 (在 Node.js 18.15.0 版上執行)。如需最新版本的文件，請參閱 [Node.js v18.x 文件](https://nodejs.org/docs/latest-v18.x/api)。 | 
| **PHP** | 已將 PHP 8.1 版更新至 [8.1.17](https://www.php.net/releases/8_1_17.php)。 PHP 7.4 是已淘汰 (已取代) 的平台分支。如需 Elastic Beanstalk 淘汰平台分支的完整版本資訊，請參閱 *AWS Elastic Beanstalk 平台*指南中的[排定淘汰的 Elastic Beanstalk 平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。  | 
| **Python** | 已將 Pipenv 更新至 2023.2.20 版本。如需詳細資訊，請參閱 Pipenv [發行版本和版本歷史記錄](https://pipenv.pypa.io/en/latest/changelog/)。 | 
| **Ruby** | 已將 RubyGems 更新至 3.4.10 版。如需詳細資訊，請參閱 *RubyGems 部落格*上的 [3.4.10 已發佈](https://blog.rubygems.org/2023/03/27/3.4.10-released.html)。 | 

## 新的平台版本
<a name="release-2023-04-03-linux.platforms"></a>

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

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

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  ECS 代理程式  |  Docker  |  Docker Compose  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  **Docker AL2 3.5.6 版** <br /> * 64bit Amazon Linux 2 v3.5.6 running Docker *  | 2.0.20230320 |  | 20.10.17-1 | 1.29.2 | nginx 1.22.1 | 
|  ** ECS AL2 3.2.6 版** <br /> * 64bit Amazon Linux 2 v3.2.6 running ECS *  | 2.0.20230320 | 1.69.0 |  |  |  | 

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


****  

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

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  工具  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Corretto 17 3.4.6 版** <br /> * 64bit Amazon Linux 2 v3.4.6 running Corretto 17 *  | 2.0.20230320 | Corretto 17.0.6.10.1 | Ant 1.10.7、Gradle 7.4.2、Maven 3.6.2 | 3.2.0 | nginx 1.22.1 | 
|  ** Corretto 11 3.4.6 版** <br /> * 64bit Amazon Linux 2 v3.4.6 running Corretto 11 *  | 2.0.20230320 | Corretto 11.0.18.10.1 | Ant 1.10.7、Gradle 5.6.2、Maven 3.6.2 | 3.2.0 | nginx 1.22.1 | 
|  ** Corretto 8 3.4.6 版** <br /> * 64bit Amazon Linux 2 v3.4.6 running Corretto 8 *  | 2.0.20230320 | Corretto 8.362.08.1 | Ant 1.10.7、Gradle 5.6.2、Maven 3.6.2 | 3.2.0 | nginx 1.22.1 | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  應用程式伺服器  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Corretto 11 with Tomcat 8.5 AL2 4.3.6 版** <br /> * 64bit Amazon Linux 2 v4.3.6 running Tomcat 8.5 Corretto 11 *  | 2.0.20230320 | Corretto 11.0.18.10.1 | 3.2.0 | Tomcat 8.5.79 | nginx 1.22.1 (預設)，Apache 2.4.56 | 
|  ** Corretto 8 with Tomcat 8.5 AL2 4.3.6 版** <br /> * 64bit Amazon Linux 2 v4.3.6 running Tomcat 8.5 Corretto 8 *  | 2.0.20230320 | Corretto 8.362.08.1 | 3.2.0 | Tomcat 8.5.79 | nginx 1.22.1 (預設)，Apache 2.4.56 | 

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


****  

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

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Node.js 版本 (npm 版本)  |  代理伺服器  |  Git  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Node.js 18 AL2 5.8.0 版** <br /> * 64bit Amazon Linux 2 v5.8.0 running Node.js 18 *  | 2.0.20230320 | 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.15.0 | nginx 1.22.1 (預設)，Apache 2.4.56 | 2.39.2 | 3.2.0 | 
|  ** Node.js 16 AL2 5.8.0 版** <br /> * 64bit Amazon Linux 2 v5.8.0 running Node.js 16 *  | 2.0.20230320 | 16.19.1 (8.19.3)、16.19.0 (8.19.3)、16.18.1 (8.19.2)、16.18.0 (8.19.2)、16.17.1 (8.15.0)、16.17.0 (8.15.0)、16.16.0 (8.11.0)、16.15.1 (8.11.0)、16.15.0 (8.5.5)、16.14.2 (8.5.0)、16.14.1 (8.5.0)、16.14.0 (8.3.1)、16.13.2 (8.1.2)、16.13.1 (8.1.2)、16.13.0 (8.1.0)、16.12.0 (8.1.0)、16.11.1 (8.0.0)、16.11.0 (8.0.0)、16.10.0 (7.24.0)、16.9.1 (7.21.1)、16.9.0 (7.21.1)、16.8.0 (7.21.0)、16.7.0 (7.20.3)、16.6.2 (7.20.3)、16.6.1 (7.20.3)、16.6.0 (7.19.1)、16.5.0 (7.19.1)、16.4.2 (7.18.1)、16.4.1 (7.18.1)、16.4.0 (7.18.1)、16.3.0 (7.15.1)、16.2.0 (7.13.0)、16.1.0 (7.11.2)、16.0.0 (7.10.0)<br /> 預設版本：16.19.1 | nginx 1.22.1 (預設)，Apache 2.4.56 | 2.39.2 | 3.2.0 | 
|  ** Node.js 14 AL2 5.8.0 版** <br /> * 64bit Amazon Linux 2 v5.8.0 running Node.js 14 *  | 2.0.20230320 | 14.21.3 (6.14.18)、14.21.2 (6.14.17)、14.21.1 (6.14.17)、14.21.0 (6.14.17)、14.20.1 (6.14.17)、14.20.0 (6.14.17)、14.19.3 (6.14.17)、14.19.2 (6.14.17)、14.19.1 (6.14.16)、14.19.0 (6.14.16)、14.18.3 (6.14.15)、14.18.2 (6.14.15)、14.18.1 (6.14.15)、14.18.0 (6.14.15)、14.17.6 (6.14.15)、14.17.5 (6.14.14)、14.17.4 (6.14.14)、14.17.3 (6.14.13)、14.17.2 (6.14.13)、14.17.1 (6.14.13)、14.17.0 (6.14.13)、14.16.1 (6.14.12)、14.16.0 (6.14.11)、14.15.5 (6.14.11)、14.15.4 (6.14.10)、14.15.3 (6.14.9)、14.15.2 (6.14.9)、14.15.1 (6.14.8)、14.15.0 (6.14.8)、14.14.0 (6.14.8)、14.13.1 (6.14.8)、14.13.0 (6.14.8)、14.12.0 (6.14.8)、14.11.0 (6.14.8)、14.10.1 (6.14.8)、14.10.0 (6.14.8)、14.9.0 (6.14.8)、14.8.0 (6.14.7)、14.7.0 (6.14.7), 14.6.0 (6.14.6)、14.5.0 (6.14.5)、14.4.0 (6.14.5)、14.3.0 (6.14.5)、14.2.0 (6.14.4)、14.1.0 (6.14.4)、14.0.0 (6.14.4)<br /> 預設版本：14.21.3 | nginx 1.22.1 (預設)，Apache 2.4.56 | 2.39.2 | 3.2.0 | 

### PHP
<a name="release-2023-04-03-linux.platforms.PHP"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  Composer  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|  **PHP 8.1 AL2 3.5.6 版** <br /> * 64bit Amazon Linux 2 v3.5.6 running PHP 8.1 *  | 2.0.20230320 | PHP 8.1.17 | 2.3.5 | nginx 1.22.1 (預設)，Apache 2.4.56 | 
|  **PHP 8.0 AL2 3.5.6 版** <br /> * 64bit Amazon Linux 2 v3.5.6 running PHP 8.0 *  | 2.0.20230320 | PHP 8.0.27 | 2.0.13 | nginx 1.22.1 (預設)，Apache 2.4.56 | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  Packager  |  meld3  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|  ** Python 3.8 AL2 3.5.1 版** <br /> * 64bit Amazon Linux 2 v3.5.1 running Python 3.8 *  | 2.0.20230320 | Python 3.8.16 | pipenv 2023.3.20 |  |  | 3.2.0 | nginx 1.22.1 (預設)，Apache 2.4.56 | 
|  ** Python 3.7 AL2 3.5.1 版** <br /> * 64bit Amazon Linux 2 v3.5.1 running Python 3.7 *  | 2.0.20230320 | Python 3.7.16 | pipenv 2023.3.20 |  |  | 3.2.0 | nginx 1.22.1 (預設)，Apache 2.4.56 | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  應用程式伺服器  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | 
|  ** Ruby 3.0 AL2 3.6.5 版** <br /> * 64bit Amazon Linux 2 v3.6.5 running Ruby 3.0 *  | 2.0.20230320 | Ruby 3.0.5-p211 | RubyGems 3.4.10 | Puma 6.2.0 | 3.2.0 | nginx 1.22.1 | 
|  ** Ruby 2.7 AL2 3.6.5 版** <br /> * 64bit Amazon Linux 2 v3.6.5 running Ruby 2.7 *  | 2.0.20230320 | Ruby 2.7.7-p221 | RubyGems 3.4.10 | Puma 6.2.0 | 3.2.0 | nginx 1.22.1 | 