

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

# 版本：2022 年 2 月 3 日 Elastic Beanstalk Amazon Linux 平台更新
<a name="release-2022-02-03-linux"></a>

此版本為以 Amazon Linux 為基礎的 AWS Elastic Beanstalk 平台提供了新版本。此版本包含安全性更新，還包含 AMI、Apache httpd、Docker、Go、Corretto、Node.js、PHP 和 Ruby 更新。同時引入在平台更新中提供一致 *webapp* 使用者 ID 和群組 ID 的功能。

**版本日期：**2022 年 2 月 3 日

## 變更
<a name="release-2022-02-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 區域中提供。發行可能需要幾個小時才能完成。


| **類別** | **描述** | 
| --- | --- | 
| **元件** | **更新** | 
| --- | --- | 
| **平台** | **更新** | 
| --- | --- | 
|  **安全性更新**  |  將在 **2022 年 1 月 21 日**或之前在 [Amazon Linux 安全中心](https://alas.aws.amazon.com/alas2.html)發佈的所有安全性更新，套用至所有發佈的 Amazon Linux 2 平台。 **Apache httpd**、**Node.js** 和 **PHP** 版本皆為安全性版本。如需詳細資訊，請參閱此表格中的**跨平台更新**和**平台特定更新**。  | 
|  **跨平台更新**  |  執行下列跨平台更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2022-02-03-linux.html)  | 
|  **平台特定更新**  |  執行下列平台特定更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2022-02-03-linux.html)  | 
|  ***\$1\$1新功能！\$1\$1*針對持久性儲存權限的 *webapp* 使用者一致性**  |  Elastic Beanstalk 會在新環境中為 *webapp* 使用者指派值為 900 的 uid (用户 ID) 和 gid (組 ID)。平台版本更新後，對現有環境也會執行相同的操作。這種方法可讓 *webapp* 使用者在平台更新後保持一致。這樣，*webapp* 使用者對永久檔案系統儲存的存取權限也會保持一致。如需詳細資訊，請參閱《AWS Elastic Beanstalk 開發人員指南》**中的[持久性儲存](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/concepts.concepts.design.html#concepts.concepts.design.storage)。  使用現有 Amazon EFS 檔案系統 (採用非 900 的特定 *webapp* 使用者 uid 或 gid) 的客戶應該知道，透過此平台更新後，uid 和 gid 值將變更為 900。請參閱此 [GitHub 問題](https://github.com/aws/elastic-beanstalk-roadmap/issues/137)了解有關此平台更新的更多信息。   | 
|  **基本 AMI**  |  已將基本 AMI 更新至 **2.0.20220121** 版。  | 
|  **Apache httpd**  |  將支援 Apache HTTP Server 2.4 的平台更新至 **2.4.52** 版。如需詳細資訊，請參閱 *Apache Software Foundation* 網站上的 [Changes with Apache 2.4.x](https://downloads.apache.org/httpd/CHANGES_2.4)。 Apache 2.4.52 版是安全性版本。  | 
|  **Docker**  |  已將 Docker 更新至 **20.10.7-5** 版。 修復在 Amazon Linux 2 平台分支中對 Docker [多階段建置](https://docs.docker.com/develop/develop-images/multistage-build/)的支援。如需詳細資訊，請參閱《AWS Elastic Beanstalk 開發人員指南》**中的 [Docker 平台](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker.html#docker-platform-single)。  | 
|  **Go**  |  已將 Go 更新至 **1.17.6** 版。如需詳細資訊，請參閱 *Go 程式設計語言版本歷史記錄*中的 [go1.17](https://golang.org/doc/devel/release.html#go1.17)。  | 
|  **Corretto**  |  已將 Corretto 8 更新至 **8.322.06.3** 版。如需詳細資訊，請參閱 GitHub 上 Corretto 8 儲存庫中的 [Amazon Corretto 8 變更日誌](https://github.com/corretto/corretto-8/blob/develop/CHANGELOG.md)。  | 
|  **Node.js**  |  已更新 Node.js 14 以新增對 Node [14.18.3](https://nodejs.org/en/blog/release/v14.18.3/) 版的支援。 已更新 Node.js 12 以新增對 Node [12.22.9](https://nodejs.org/en/blog/release/v12.22.9/) 版的支援。 新的 Node.js 版本是安全性版本。  | 
|  **PHP**  |  已將 PHP 8.0 和 7.4 分別更新至 [8.0.13](https://www.php.net/releases/8_0_13.php) 和 [7.4.26](https://www.php.net/releases/7_4_26.php) 版。 這些更新都是安全性版本更新。  | 
|  **Ruby**  |  已將 RubyGems 更新至 [3.3.6](https://blog.rubygems.org/2022/01/26/3.3.6-released.html) 版。 已將 Puma 更新至 [5.6.1](https://github.com/puma/puma/releases/tag/v5.6.1) 版。 備註：   如果您使用引導程式 Gem，建議您更新到 [1.9.3 版引導程式](https://rubygems.org/gems/bootsnap/versions/1.9.3)或更高版本。舊版本的引導程式可能會在 Ruby 3.0.3 版中遇到問題。如需詳細資訊，請參閱 GitHub 網站上的 [Shopify 引導程式問題 378](https://github.com/Shopify/bootsnap/issues/378)。   此版本的 Ruby 會強制執行版本鎖定功能，詳情請參閱 GitHub 網站上的 [Rubygems Pull 請求 4076](https://github.com/rubygems/rubygems/pull/4076)。此功能可能會導致在此平台版本上執行的應用程式出現一些問題。為了防止出現這些問題，我們找到了一個解決方法：繼續使用已安裝在執行個體上的搭配程式版本，不要強制執行搭配程式更新功能。您不需要執行任何操作。     | 

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

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

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


****  

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

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


****  

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

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  工具  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Corretto 11 3.2.11 版**   * 64bit Amazon Linux 2 v3.2.11 running Corretto 11 *   |  2.0.20220121  |  Corretto 11.0.13.8.2  |  Ant 1.10.7、Gradle 5.6.2、Maven 3.6.2  |  3.2.0  |  nginx 1.20.0  | 
|   ** Corretto 8 3.2.11 版**   * 64bit Amazon Linux 2 v3.2.11 running Corretto 8 *   |  2.0.20220121  |  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-02-03-linux.platforms.java"></a>


****  

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

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


****  

|  平台版本和*解決方案堆疊名稱*   |  架構  |  代理伺服器  |  AMI  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | 
|   ** .NET Core on AL2 2.2.10 版**   * 64bit Amazon Linux 2 v2.2.10 running .NET Core *   |  .NET 5.0.13，支援 5.0.13、3.1.22、2.1.30  |  nginx 1.20.0  |  2.0.20220121  |  3.2.0  | 

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Node.js 版本 (npm 版本)  |  代理伺服器  |  Git  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Node.js 14 AL2 5.4.10 版**   * 64bit Amazon Linux 2 v5.4.10 running Node.js 14 *   |  2.0.20220121  |  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.18.3  |  nginx 1.20.0 (預設)，Apache 2.4.52  |  2.32.0  |  3.2.0  | 
|   ** Node.js 12 AL2 5.4.10 版**   * 64bit Amazon Linux 2 v5.4.10 running Node.js 12 *   |  2.0.20220121  |  12.22.9 (6.14.15)、 12.22.8 (6.14.15)、12.22.7 (6.14.15)、12.22.6 (6.14.15)、12.22.5 (6.14.14)、12.22.4 (6.14.14)、12.22.3 (6.14.13)、12.22.2 (6.14.13)、12.22.1 (6.14.12)、12.22.0 (6.14.11)、12.21.0 (6.14.11)、12.20.2 (6.14.11)、12.20.1 (6.14.10)、12.20.0 (6.14.8)、12.19.1 (6.14.8)、12.19.0 (6.14.8)、12.18.4 (6.14.6)、12.18.3 (6.14.6)、12.18.2 (6.14.5)、12.18.1 (6.14.5)、12.18.0 (6.14.4)、12.17.0 (6.14.4)、12.16.3 (6.14.4)、12.16.2 (6.14.4)、12.16.1 (6.13.4)、12.16.0 (6.13.4)、12.15.0 (6.13.4)、12.14.1 (6.13.4)、12.14.0 (6.13.4)、12.13.1 (6.12.1)、12.13.0 (6.12.0)、12.12.0 (6.11.3)、12.11.1 (6.11.3)、12.11.0 (6.11.3)、12.10.0 (6.10.3)、12.9.1 (6.10.2)、12.9.0 (6.10.2)、12.8.1 (6.10.2)、12.8.0 (6.10.2)、12.7.0 (6.10.0)、12.6.0 (6.9.0)、12.5.0 (6.9.0)、12.4.0 (6.9.0)、12.3.1 (6.9.0)、12.3.0 (6.9.0)、12.2.0 (6.9.0)、12.1.0 (6.9.0)、12.0.0 (6.9.0)  預設版本：12.22.9  |  nginx 1.20.0 (預設)，Apache 2.4.52  |  2.32.0  |  3.2.0  | 

### PHP
<a name="release-2022-02-03-linux.platforms.PHP"></a>


****  

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

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


****  

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

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


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  應用程式伺服器  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | 
|   ** Ruby 3.0 AL2 3.4.2 版**   * 64bit Amazon Linux 2 v3.4.2 running Ruby 3.0 *   |  2.0.20220121  |  Ruby 3.0.3-p157  |  RubyGems 3.3.6  |  Puma 5.6.1  |  3.2.0  |  nginx 1.20.0  | 
|   ** Ruby 2.7 AL2 3.4.2 版**   * 64bit Amazon Linux 2 v3.4.2 running Ruby 2.7 *   |  2.0.20220121  |  Ruby 2.7.5-p203  |  RubyGems 3.3.6  |  Puma 5.6.1  |  3.2.0  |  nginx 1.20.0  | 
|   ** Ruby 2.6 AL2 3.4.2 版**   * 64bit Amazon Linux 2 v3.4.2 running Ruby 2.6 *   |  2.0.20220121  |  Ruby 2.6.9-p207  |  RubyGems 3.3.6  |  Puma 5.6.1  |  3.2.0  |  nginx 1.20.0  | 