

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

# 消息發佈：2022 年 4 月 29 日 Elastic Beanstalk Amazon Linux AMI 平台更新
<a name="release-2022-04-29-linux"></a>

此版本為以 Amazon Linux 為基礎的 AWS Elastic Beanstalk 平台提供了新版本。此版本內含安全性更新，也提供適用於 AMI、Docker、Go、.NET Core、Node.js 和 Ruby 的更新。

**發行日期：**2022 年 4 月 29 日

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

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

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


| **類別** | **描述** | 
| --- | --- | 
| **元件** | **更新** | 
| --- | --- | 
| **平台** | **更新** | 
| --- | --- | 
|  **安全性更新**  |  已於 **2022 年 4 月 20 日**或更早之前，將 [Amazon Linux 安全中心](https://alas.aws.amazon.com/)發佈的所有安全性更新套用至已發佈的 Amazon Linux 2 平台。 此版本的 Ruby 更新未包含部分 CVE。這些 CVE 已新增於 [2020 年 5 月 4 日的下一個 Ruby 版本](release-2022-05-04-ruby.md)。如需詳細資訊，請參閱此表格中 Ruby 平台的**平台特定更新**。  某些平台更新都是安全性版本更新。如需詳細資訊，請參閱本表中的**平台特定更新**。  | 
|  **跨平台更新**  |  執行下列跨平台更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2022-04-29-linux.html)  | 
|  **平台特定更新**  |  執行下列平台特定更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2022-04-29-linux.html)  | 
|  **基本 AMI**  |  已將基本 AMI 更新至 **2.0.20220419** 版。  | 
|  **Docker**  |  已於 *Amazon Linux 2 平台分支上執行的 ECS* 將 Amazon ECS 更新至 **1.61.0** 版。  | 
|  **Go**  |  已將 Go 更新至 **1.18.1** 版。如需詳細資訊，請參閱 *Go 程式設計語言版本歷史記錄*中的 [go1.18](https://golang.org/doc/devel/release.html#go1.18)。  | 
|  **.NET Core**  |  已將 .NET Core 更新至 [6.0.4](https://github.com/dotnet/core/blob/main/release-notes/6.0/6.0.4/6.0.4.md)、[5.0.16](https://github.com/dotnet/core/blob/main/release-notes/5.0/5.0.16/5.0.16.md) 和 [3.1.24](https://github.com/dotnet/core/blob/main/release-notes/3.1/3.1.24/3.1.24.md) 版。  | 
|  **Node.js**  |  已更新 Node.js 12，新增對 Node [12.22.12](https://nodejs.org/en/blog/release/v12.22.12/) 版的相關支援。  | 
|  **Ruby**  |  已將 Ruby 2.7 和 2.6 分別更新至 [2.7.6](https://www.ruby-lang.org/en/news/2022/04/12/ruby-2-7-6-released/) 和 [2.6.10](https://www.ruby-lang.org/en/news/2022/04/12/ruby-2-6-10-released/) 版。 已將 RubyGems 更新至 [3.3.12](https://blog.rubygems.org/2022/04/20/3.3.12-released.html) 版。 已將 Puma 更新至 [5.6.4](https://github.com/puma/puma/releases/tag/v5.6.4) 版。 這個新的 Puma 版本為安全性版本。 Ruby 更新是安全性版本。   今天的 Ruby 更新不包含這些 CVE。這些 CVE 已新增於 [2020 年 5 月 4 日的下一個 Ruby 版本](release-2022-05-04-ruby.md)。   [ALAS-2022-1580](https://alas.aws.amazon.com/ALAS-2022-1580.html)：[CVE-2022-0070](https://alas.aws.amazon.com/cve/html/CVE-2022-0070.html)    [ALAS-2022-1581](https://alas.aws.amazon.com/ALAS-2022-1581.html)：[CVE-2022-26490](https://alas.aws.amazon.com/cve/html/CVE-2022-26490.html) [CVE-2022-27666](https://alas.aws.amazon.com/cve/html/CVE-2022-27666.html) [CVE-2022-28356](https://alas.aws.amazon.com/cve/html/CVE-2022-28356.html)      | 

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

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

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

**注意**  
*ECS Amazon Linux 2 的 3.1.1 版*執行的是 ECS Agent 1.61.0。


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Docker  |  Docker Compose  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|   ** Docker AL2 3.4.14 版**   * 64bit Amazon Linux 2 v3.4.14 running Docker *   |  2.0.20220419  |  20.10.7-5  |  1.29.2  |  nginx 1.20.0  | 
|   ** ECS AL2 3.1.1 版**   * 64bit Amazon Linux 2 v3.1.1 running ECS *   |  2.0.20220419  |    |    |    | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|   ** Go 1 AL2 3.5.1 版**   * 64bit Amazon Linux 2 v3.5.1 running Go 1 *   |  2.0.20220419  |  Go 1.18.1  |  3.2.0  |  nginx 1.20.0  | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  工具  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Corretto 11 3.2.14 版**   * 64bit Amazon Linux 2 v3.2.14 running Corretto 11 *   |  2.0.20220419  |  Corretto 11.0.14.10.1  |  Ant 1.10.7、Gradle 5.6.2、Maven 3.6.2  |  3.2.0  |  nginx 1.20.0  | 
|   ** Corretto 8 3.2.14 版**   * 64bit Amazon Linux 2 v3.2.14 running Corretto 8 *   |  2.0.20220419  |  Corretto 8.322.06.3  |  Ant 1.10.7、Gradle 5.6.2、Maven 3.6.2  |  3.2.0  |  nginx 1.20.0  | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  應用程式伺服器  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Corretto 11 with Tomcat 8.5 AL2 4.2.14 版**   * 64bit Amazon Linux 2 v4.2.14 running Tomcat 8.5 Corretto 11 *   |  2.0.20220419  |  Corretto 11.0.14.10.1  |  3.2.0  |  Tomcat 8.5.75  |  nginx 1.20.0 (預設)，Apache 2.4.52  | 
|   ** Corretto 8 with Tomcat 8.5 AL2 4.2.14 版**   * 64bit Amazon Linux 2 v4.2.14 running Tomcat 8.5 Corretto 8 *   |  2.0.20220419  |  Corretto 8.322.06.3  |  3.2.0  |  Tomcat 8.5.75  |  nginx 1.20.0 (預設)，Apache 2.4.52  | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  架構  |  代理伺服器  |  AMI  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | 
|   ** .NET Core on AL2 2.3.1 版**   * 64bit Amazon Linux 2 v2.3.1 running .NET Core *   |  .NET 6.0.4，支援 6.0.4、5.0.16、3.1.24  |  nginx 1.20.0  |  2.0.20220419  |  3.2.0  | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Node.js 版本 (npm 版本)  |  代理伺服器  |  Git  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Node.js 16 AL2 5.5.2 版**   * 64bit Amazon Linux 2 v5.5.2 running Node.js 16 *   |  2.0.20220419  |  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)  預設版本：16.14.2  |  nginx 1.20.0 (預設)，Apache 2.4.52  |  2.32.0  |  3.2.0  | 
|   ** Node.js 14 AL2 5.5.2 版**   * 64bit Amazon Linux 2 v5.5.2 running Node.js 14 *   |  2.0.20220419  |  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)  預設版本：14.19.1  |  nginx 1.20.0 (預設)，Apache 2.4.52  |  2.32.0  |  3.2.0  | 

### PHP
<a name="release-2022-04-29-linux.platforms.PHP"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  Composer  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|   ** PHP 8.0 AL2 3.3.13 版**   * 64bit Amazon Linux 2 v3.3.13 running PHP 8.0 *   |  2.0.20220419  |  PHP 8.0.16  |  2.0.13  |  nginx 1.20.0 (預設)，Apache 2.4.52  | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  Packager  |  meld3  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|   ** Python 3.8 AL2 3.3.13 版**   * 64bit Amazon Linux 2 v3.3.13 running Python 3.8 *   |  2.0.20220419  |  Python 3.8.5  |  pipenv 2021.11.9  |    |    |  3.2.0  |  nginx 1.20.0 (預設)，Apache 2.4.52  | 
|   ** Python 3.7 AL2 3.3.13 版**   * 64bit Amazon Linux 2 v3.3.13 running Python 3.7 *   |  2.0.20220419  |  Python 3.7.10  |  pipenv 2021.11.9  |    |    |  3.2.0  |  nginx 1.20.0 (預設)，Apache 2.4.52  | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  應用程式伺服器  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | 
|   ** Ruby 3.0 AL2 3.4.5 版**   * 64bit Amazon Linux 2 v3.4.5 running Ruby 3.0 *   |  2.0.20220419  |  Ruby 3.0.3-p157  |  RubyGems 3.3.12  |  Puma 5.6.4  |  3.2.0  |  nginx 1.20.0  | 
|   ** Ruby 2.7 AL2 3.4.5 版**   * 64bit Amazon Linux 2 v3.4.5 running Ruby 2.7 *   |  2.0.20220419  |  Ruby 2.7.6-p219  |  RubyGems 3.3.12  |  Puma 5.6.4  |  3.2.0  |  nginx 1.20.0  | 