

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

# 版本：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 區域中提供。發行可能需要幾個小時才能完成。


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


## 新的平台版本
<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 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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)<br /> 預設版本：14.18.3 | nginx 1.20.0 (預設)，Apache 2.4.52 | 2.32.0 | 3.2.0 | 
|  ** Node.js 12 AL2 5.4.10 版** <br /> * 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)<br /> 預設版本：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 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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 版** <br /> * 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 | 