

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

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


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


## 新的平台版本
<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 | 