

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

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

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

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

## 變更
<a name="release-2023-03-07-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 年 2 月 28 日**或之前在 [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-03-07-linux.html) | 
| **平台特定更新** | 執行下列平台特定更新：[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2023-03-07-linux.html) | 
| **AMI** | 已將基本 AMI 更新至 2.0.20230221 版。 | 
| **Apache** | 已將平台支援的 Apache HTTP Server 2.4 更新至 2.4.55 版。如需詳細資訊，請參閱 *Apache Software Foundation* 網站上的 [Apache 2.4.55 變更](http://archive.apache.org/dist/httpd/CHANGES_2.4.55)。<br />**Apache 2.4.55** 版是安全性版本。 | 
| **Nginx** | 將 `server_tokens` 設為 `off`，停用 nginx 組態中的 `server_tokens` 指令。<br />Nginx 預設啟用 `server_tokens` 指令。此預設設定允許 nginx 版本編號出現在所有自動產生的錯誤頁面和伺服器標頭的所有 HTTP 回應中。不需 nginx 伺服器版本的外部知識，因此我們將此組態變更當作安全性強化措施。如需 `server_tokens` 指令的詳細資訊，請參閱 [nginx 文件](http://nginx.org/en/docs/http/ngx_http_core_module.html#server_tokens)。另請參閱 nginx 部落格網站上*使用 NGINX Plus 的 PCI DSS 最佳實務*頁面的[一般最佳實務](https://www.nginx.com/blog/pci-dss-best-practices-with-nginx-plus/#General-Best-Practices)一節。 | 
| **Docker** | 已將 *ECS Amazon Linux 2* 平台分支上的 Amazon ECS 代理程式更新至 **1.68.2** 版。 此 Docker 平台更新已隨後於 [2023 年 3 月 16 日](release-2023-03-16-linux.md)發佈至 AWS 區域 *中國 (寧夏)–cn-northwest-1* 和 *中國 (北京)–cn-north-1*。2023 年 3 月 7 日， 版本未更新 AWS 中國區域的 Docker 平台分支。  | 
| **Go** | 已將 Go 更新至 1.20.1 版。如需詳細資訊，請參閱 *Go 程式設計語言版本歷史記錄*中的 [go1.20](https://go.dev/doc/devel/release#go1.20)。<br />這是安全性版本更新。 | 
| **.NET Core** | 已將 .NET Core 更新至 [6.0.14](https://github.com/dotnet/core/blob/main/release-notes/6.0/6.0.14/6.0.14.md#notable-changes) 版。<br />這是安全性版本更新。 | 
| **Node.js** | 已更新 Node.js 16，新增對 Node [16.9.1](https://nodejs.org/en/blog/release/v16.19.1/) 版的支援。<br />已更新 Node.js 14，新增對 Node [14.21.3](https://nodejs.org/en/blog/release/v14.21.3/) 版的支援。 | 
| **PHP** | 已將 PHP 8.1 版更新至 [8.1.16](https://www.php.net/releases/8_1_16.php)。<br />已將 PHP 8.0 版更新至 [8.0.27](https://www.php.net/releases/8_0_27.php)。<br />這些更新都是安全性版本更新。 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.18 版本。如需詳細資訊，請參閱 Pipenv [發行版本和版本歷史記錄](https://pipenv.pypa.io/en/latest/changelog/)。 此 Python 平台更新已隨後於 [2023 年 3 月 16 日](release-2023-03-16-linux.md)發佈至 AWS 區域 *中國 (寧夏)–cn-northwest-1* 和 *中國 (北京)–cn-north-1*。2023 年 3 月 7 日， 版本未更新 AWS 中國區域的 Python 平台分支。  | 
| **Ruby** | 已將 RubyGems 更新至 3.4.7 版。如需詳細資訊，請參閱 *RubyGems 部落格*上的 [3.4.7 已發佈](https://blog.rubygems.org/2023/02/15/3.4.7-released.html)。 | 

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

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

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

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

**注意**  
此 Docker 平台更新已隨後於 [2023 年 3 月 16 日](release-2023-03-16-linux.md)發佈至下列 AWS 區域 。2023 年 3 月 7 日， 版本未更新 AWS 中國區域的 Docker 平台分支。  
中國 (寧夏)—cn-northwest-1
中國 (北京)–cn-north-1


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  ECS 代理程式  |  Docker  |  Docker Compose  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Docker AL2 版本 3.5.5** <br /> * 64bit Amazon Linux 2 v3.5.5 running Docker *  | 2.0.20230221 |  | 20.10.17-1 | 1.29.2 | nginx 1.22.1 | 
|  ** ECS AL2 3.2.5 版** <br /> * 64bit Amazon Linux 2 v3.2.5 running ECS *  | 2.0.20230221 | 1.68.2 |  |  |  | 

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


****  

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

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  工具  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Corretto 17 3.4.5 版** <br /> * 64bit Amazon Linux 2 v3.4.5 running Corretto 17 *  | 2.0.20230221 | 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.5 版** <br /> * 64bit Amazon Linux 2 v3.4.5 running Corretto 11 *  | 2.0.20230221 | 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.5 版** <br /> * 64bit Amazon Linux 2 v3.4.5 running Corretto 8 *  | 2.0.20230221 | 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-03-07-linux.platforms.java"></a>


****  

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

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


****  

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

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Node.js 版本 (npm 版本)  |  代理伺服器  |  Git  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Node.js 16 AL2 5.7.0 版** <br /> * 64bit Amazon Linux 2 v5.7.0 running Node.js 16 *  | 2.0.20230221 | 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.55 | 2.39.1 | 3.2.0 | 
|  ** Node.js 14 AL2 5.7.0 版** <br /> * 64bit Amazon Linux 2 v5.7.0 running Node.js 14 *  | 2.0.20230221 | 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.55 | 2.39.1 | 3.2.0 | 

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


****  

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

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

**注意**  
此 Python 平台更新隨後於 [2023 年 3 月 16](release-2023-03-16-linux.md) AWS 區域 日發佈至下列版本。2023 年 3 月 7 日， 版本未更新 AWS 中國區域的 Python 平台分支。  
中國 (寧夏)—cn-northwest-1
中國 (北京)–cn-north-1


****  

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

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


****  

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