

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

# 版本：2020 年 6 月 23 日 Elastic Beanstalk Amazon Linux 2 平台更新
<a name="release-2020-06-23-al2"></a>

此版本為以 Amazon Linux 2 為基礎的 AWS Elastic Beanstalk 平台提供了新版本。此版本內含安全性更新，同時也包含 Go、Node.js、Python 和 Ruby 更新。

**版本日期：**2020 年 6 月 23 日

## 變更
<a name="release-2020-06-23-al2.changes"></a>

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

**注意**  
請注意，發佈這些版本備註時，新平台版本可能尚未在所有 Elastic Beanstalk 支援的 AWS 區域中提供。發行可能需要幾個小時才能完成。


| **類別** | **描述** | 
| --- | --- | 
| **元件** | **更新** | 
| --- | --- | 
| **平台** | **更新** | 
| --- | --- | 
|  **安全性更新**  |  **2020 年 6 月 17 日**前發佈於 [Amazon Linux 安全中心](https://alas.aws.amazon.com/alas2.html)的所有安全性更新，已全數套用至所有 Amazon Linux 2 平台。  | 
|  **跨平台更新**  |  執行下列跨平台更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2020-06-23-al2.html)  | 
|  **平台特定更新**  |  執行下列平台特定更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_tw/elasticbeanstalk/latest/relnotes/release-2020-06-23-al2.html)  | 
|  **AMI**  |  基本 AMI 已更新至 2.0.20200603 版。  | 
|  **Go**  |  將 Go 更新至 1.14.4 發行版本。如需詳細資訊，請參閱 *Go 程式設計語言版本歷史記錄*中的 [go1.14](https://golang.org/doc/devel/release.html#go1.14)。  | 
|  **Node.js**  |  更新 Node.js 平台以新增對 Node 版本 [12.18.1](https://nodejs.org/en/blog/release/v12.18.1/) 和 [10.21.0](https://nodejs.org/en/blog/release/v10.21.0/) 的支援。  | 
|  **Python**  |  更新 Pipenv 至 2020.6.2 版本。如需詳細資訊，請參閱 Pipenv [發行版本和版本歷史記錄](https://pipenv.pypa.io/en/latest/changelog/)。 修正平台預期應用程式使用的預設 WSGI 路徑中的錯誤。  啟動 Amazon Linux 2 Python 平台時，系統預設會預期您的應用程式具有 `application:app` 的 WSGI 路徑。這與先前的 Amazon Linux AMI 平台版本不相容。今天的更新 (平台版本 3.0.3) 修復了這個問題，並將預設 WSGI 路徑更改為 `application:app`. 當您更新至較早的 Amazon Linux 2 平台版本時，有些人可能會發生故障問題。 如果您透過指定自訂 WSGI 路徑 (使用 `aws:elasticbeanstalk:container:python` 命名空間中的 `WSGIPath` 選項，或使用 Procfile 啟動應用程式) 來解決此故障問題，則您現在可以安全地更新到最新的平台版本，而無需進一步更改。 但是，如果您透過變更 `app` 的應用程式進入點來解決此故障問題，則應在更新至 3.0.3 版之前執行下列其中一項動作：將應用程式的進入點變回 `application`，或使用 [WSGIPath 指定自訂入口點選項](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/command-options-specific.html#command-options-python) (例如 [here](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create-deploy-python-container.html#python-namespaces)) 或 [Procfile](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/python-configuration-procfile.html)。   | 
|  **Ruby**  |  更新 RubyGems 至 3.1.4 版本。如需詳細資訊，請參閱 *RubyGems 部落格*的 [3.1.4 版已正式發佈](https://blog.rubygems.org/2020/06/03/3.1.4-released.html)。  | 

## 新的平台版本
<a name="release-2020-06-23-al2.platforms"></a>

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

**Topics**
+ [Docker](#release-2020-06-23-al2.platforms.docker)
+ [Go](#release-2020-06-23-al2.platforms.go)
+ [Java SE](#release-2020-06-23-al2.platforms.javase)
+ [Tomcat](#release-2020-06-23-al2.platforms.java)
+ [Node.js](#release-2020-06-23-al2.platforms.nodejs)
+ [PHP](#release-2020-06-23-al2.platforms.PHP)
+ [Python](#release-2020-06-23-al2.platforms.python)
+ [Ruby](#release-2020-06-23-al2.platforms.ruby)

### Docker
<a name="release-2020-06-23-al2.platforms.docker"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Docker 版本  |  代理伺服器  | 
| --- | --- | --- | --- | 
|   ** Docker AL2 3.0.3 版**   * 64bit Amazon Linux 2 v3.0.3 running Docker *   |  2.0.20200603  |  19.03.6-ce  |  nginx 1.16.1  | 
|   ** Single Container Docker 2.15.1 版**   * 64bit Amazon Linux 2018.03 v2.15.1 running Docker 19.03.6-ce *   |  2018.03.0  |  19.03.6-ce  |  nginx 1.16.1  | 

### Go
<a name="release-2020-06-23-al2.platforms.go"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X‑Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|   ** Go 1 AL2 3.0.3 版**   * 64bit Amazon Linux 2 v3.0.3 running Go 1 *   |  2.0.20200603  |  Go 1.14.4  |  3.2.0  |  nginx 1.16.1  | 
|   ** Go 1.14 2.15.4 版**   * 64bit Amazon Linux 2018.03 v2.15.4 running Go 1.14.3 *   |  2018.03.0  |  Go 1.14.3  |  3.1.0  |  nginx 1.16.1  | 

### Java SE
<a name="release-2020-06-23-al2.platforms.javase"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  工具  |  AWS X‑Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Corretto 11 3.0.3 版**   * 64bit Amazon Linux 2 v3.0.3 running Corretto 11 *   |  2.0.20200603  |  Corretto 11.0.7.10.1  |  Ant 1.10.7、Gradle 5.6.2、Maven 3.6.2  |  3.2.0  |  nginx 1.16.1  | 
|   ** Corretto 8 3.0.3 版**   * 64bit Amazon Linux 2 v3.0.3 running Corretto 8 *   |  2.0.20200603  |  Corretto 8.252.09.1  |  Ant 1.10.7、Gradle 5.6.2、Maven 3.6.2  |  3.2.0  |  nginx 1.16.1  | 
|   ** Java 8 2.10.8 版**   * 64bit Amazon Linux 2018.03 v2.10.8 running Java 8 *   |  2018.03.0  |  Java 1.8.0\$1252  |  Ant 1.9.6、Gradle 2.7、Maven 3.3.3  |  3.1.0  |  nginx 1.16.1  | 
|   ** Java 7 2.10.8 版**   * 64bit Amazon Linux 2018.03 v2.10.8 running Java 7 *   |  2018.03.0  |  Java 1.7.0\$1261  |  Ant 1.9.6、Gradle 2.7、Maven 3.3.3  |  3.1.0  |  nginx 1.16.1  | 

### Tomcat
<a name="release-2020-06-23-al2.platforms.java"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X‑Ray  |  應用程式伺服器  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Corretto 11 with Tomcat 8.5 AL2 4.0.1 版**   * 64bit Amazon Linux 2 v4.0.1 running Tomcat 8.5 Corretto 11 *   |  2.0.20200603  |  Corretto 11.0.7.10.1  |  3.2.0  |  Tomcat 8.5.51  |  nginx 1.16.1  | 
|   ** Corretto 8 with Tomcat 8.5 AL2 4.0.1 版**   * 64bit Amazon Linux 2 v4.0.1 running Tomcat 8.5 Corretto 8 *   |  2.0.20200603  |  Corretto 8.252.09.1  |  3.2.0  |  Tomcat 8.5.51  |  nginx 1.16.1  | 
|   ** Corretto 11 with Tomcat 7 AL2 4.0.1 版**   * 64bit Amazon Linux 2 v4.0.1 running Tomcat 7 Corretto 11 *   |  2.0.20200603  |  Corretto 11.0.7.10.1  |  3.2.0  |  Tomcat 7.0.76  |  nginx 1.16.1  | 
|   ** Corretto 8 with Tomcat 7 AL2 4.0.1 版**   * 64bit Amazon Linux 2 v4.0.1 running Tomcat 7 Corretto 8 *   |  2.0.20200603  |  Corretto 8.252.09.1  |  3.2.0  |  Tomcat 7.0.76  |  nginx 1.16.1  | 
|   ** Java 8 with Tomcat 8.5 3.3.7 版**   * 64bit Amazon Linux 2018.03 v3.3.7 running Tomcat 8.5 Java 8 *   |  2018.03.0  |  Java 1.8.0\$1252  |  3.1.0  |  Tomcat 8.5.51  |  Apache 2.4.43 (預設)、Apache 2.2.34、Nginx 1.16.1  | 
|   ** Java 7 with Tomcat 7 3.3.7 版**   * 64bit Amazon Linux 2018.03 v3.3.7 running Tomcat 7 Java 7 *   |  2018.03.0  |  Java 1.7.0\$1261  |  3.1.0  |  Tomcat 7.0.100  |  Apache 2.4.43 (預設)、Apache 2.2.34、Nginx 1.16.1  | 

### Node.js
<a name="release-2020-06-23-al2.platforms.nodejs"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Node.js 版本 (npm 版本)  |  代理伺服器  |  Git  |  AWS X‑Ray  | 
| --- | --- | --- | --- | --- | --- | 
|   ** Node.js 12 AL2 5.1.0 版**   * 64bit Amazon Linux 2 v5.1.0 running Node.js 12 *   |  2.0.20200603  |  12.18.1 (6.14.5)、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.18.1  |  nginx 1.16.1  |  2.23.3  |  3.2.0  | 
|   ** Node.js 10 AL2 5.1.0 版**   * 64bit Amazon Linux 2 v5.1.0 running Node.js 10 *   |  2.0.20200603  |  10.21.0 (6.14.4)、10.20.1 (6.14.4)、10.20.0 (6.14.4)、10.19.0 (6.13.4)、10.18.1 (6.13.4)、10.18.0 (6.13.4)、10.17.0 (6.11.3)、10.16.3 (6.13.4)、10.16.2 (6.9.0)、10.16.1 (6.9.0)、10.16.0 (6.9.0)、10.15.3 (6.4.1)、10.15.2 (6.4.1)、10.15.1 (6.4.1)、10.15.0 (6.4.1)、10.14.2 (6.4.1)、10.14.1 (6.4.1)、10.14.0 (6.4.1)、10.13.0 (6.4.1)、10.12.0 (6.4.1)、10.11.0 (6.4.1)、10.10.0 (6.4.1)、10.9.0 (6.2.0)、10.8.0 (6.2.0)、10.7.0 (6.1.0)、10.6.0 (6.1.0)、10.5.0 (6.1.0)、10.4.1 (6.1.0)、10.4.0 (6.1.0)、10.3.0 (6.1.0)、10.2.1 (5.6.0)、10.2.0 (5.6.0)、10.1.0 (5.6.0)、10.0.0 (5.6.0)  預設版本：10.21.0  |  nginx 1.16.1  |  2.23.3  |  3.2.0  | 
|   ** Node.js 4.14.4 版**   * 64bit Amazon Linux 2018.03 v4.14.4 running Node.js *   |  2018.03.0  |  12.16.2(6.14.4)、12.16.1 (6.13.4)、12.15.0 (6.13.4)、12.14.1 (6.13.4)、12.14.0 (6.13.4)、10.20.0(6.14.4)、10.19.0 (6.13.4)、10.18.1 (6.13.4)、10.18.0 (6.13.4)、10.17.0 (6.11.3)、10.16.3 (6.9.0)、10.16.2 (6.9.0)、10.16.1 (6.9.0)、10.16.0 (6.9.0)、10.15.3 (6.4.1)、10.15.1 (6.4.1)、10.15.0 (6.4.1)、10.14.1 (6.4.1)、8.17.0 (6.13.4)、8.16.2 (6.4.1)、8.16.1 (6.4.1)、8.16.0 (6.4.1)、8.15.1 (6.4.1)、8.15.0 (6.4.1)、8.14.0 (6.4.1)、7.10.1 (4.2.0)、6.17.1 (3.10.10)、6.17.0 (3.10.10)、6.16.0 (3.10.10)、6.15.1 (3.10.10)、5.12.0 (3.8.6)、4.9.1 (2.15.11)、4.8.7 (2.15.11)  預設版本：12.16.2  |  nginx 1.16.1、Apache 2.4.43  |  2.14.6  |  3.1.0  | 

### PHP
<a name="release-2020-06-23-al2.platforms.PHP"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  Composer  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|   ** PHP 7.4 AL2 3.0.3 版**   * 64bit Amazon Linux 2 v3.0.3 running PHP 7.4 *   |  2.0.20200603  |  PHP 7.4.5  |  1.9.3  |  nginx 1.16.1  | 
|   ** PHP 7.3 AL2 3.0.3 版**   * 64bit Amazon Linux 2 v3.0.3 running PHP 7.3 *   |  2.0.20200603  |  PHP 7.3.17  |  1.9.3  |  nginx 1.16.1  | 
|   ** PHP 7.2 AL2 3.0.3 版**   * 64bit Amazon Linux 2 v3.0.3 running PHP 7.2 *   |  2.0.20200603  |  PHP 7.2.30  |  1.9.3  |  nginx 1.16.1  | 
|   ** PHP 7.3 2.9.7 版**   * 64bit Amazon Linux 2018.03 v2.9.7 running PHP 7.3 *   |  2018.03.0  |  PHP 7.3.17  |  1.9.0  |  Apache 2.4.43  | 
|   ** PHP 7.2 2.9.7 版**   * 64bit Amazon Linux 2018.03 v2.9.7 running PHP 7.2 *   |  2018.03.0  |  PHP 7.2.30  |  1.9.0  |  Apache 2.4.43  | 

### Python
<a name="release-2020-06-23-al2.platforms.python"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  Packager  |  meld3  |  AWS X‑Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|   ** Python 3.7 AL2 3.0.3 版**   * 64bit Amazon Linux 2 v3.0.3 running Python 3.7 *   |  2.0.20200603  |  Python 3.7.6  |  pipenv 2020.6.2  |    |    |  3.2.0  |  nginx 1.16.1  | 
|   ** Python 3.6 2.9.11 版**   * 64bit Amazon Linux 2018.03 v2.9.11 running Python 3.6 *   |  2018.03.0  |  Python 3.6.10  |  pip 9.0.3  |  setuptools 28.8.0  |  meld3 1.0.2  |  3.1.0  |  包含 mod\$1wsgi 3.5 的 Apache 2.4.43  | 

### Ruby
<a name="release-2020-06-23-al2.platforms.ruby"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  應用程式伺服器  |  AWS X‑Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | 
|   ** Ruby 2.7 AL2 3.0.3 版**   * 64bit Amazon Linux 2 v3.0.3 running Ruby 2.7 *   |  2.0.20200603  |  Ruby 2.7.1-p83  |  RubyGems 3.1.4  |  Puma 4.3.5  |  3.2.0  |  nginx 1.16.1  | 
|   ** Ruby 2.6 AL2 3.0.3 版**   * 64bit Amazon Linux 2 v3.0.3 running Ruby 2.6 *   |  2.0.20200603  |  Ruby 2.6.6-p146  |  RubyGems 3.1.4  |  Puma 4.3.5  |  3.2.0  |  nginx 1.16.1  | 
|   ** Ruby 2.5 AL2 3.0.3 版**   * 64bit Amazon Linux 2 v3.0.3 running Ruby 2.5 *   |  2.0.20200603  |  Ruby 2.5.8-p224  |  RubyGems 3.1.4  |  Puma 4.3.5  |  3.2.0  |  nginx 1.16.1  | 
|   ** Ruby 2.6 with Puma 2.11.7 版**   * 64bit Amazon Linux 2018.03 v2.11.7 running Ruby 2.6 (Puma) *   |  2018.03.0  |  Ruby 2.6.6-p146  |  RubyGems 3.1.2  |  Puma 2.16.0  |  3.1.0  |  nginx 1.16.1  | 
|   ** Ruby 2.6 with Passenger 2.11.7 版**   * 64bit Amazon Linux 2018.03 v2.11.7 running Ruby 2.6 (Passenger Standalone) *   |  2018.03.0  |  Ruby 2.6.6-p146  |  RubyGems 3.1.2  |  Passenger 4.0.60  |  3.1.0  |  nginx 1.16.1  | 
|   ** Ruby 2.5 with Puma 2.11.7 版**   * 64bit Amazon Linux 2018.03 v2.11.7 running Ruby 2.5 (Puma) *   |  2018.03.0  |  Ruby 2.5.8-p224  |  RubyGems 3.1.2  |  Puma 2.16.0  |  3.1.0  |  nginx 1.16.1  | 
|   ** Ruby 2.5 with Passenger 2.11.7 版**   * 64bit Amazon Linux 2018.03 v2.11.7 running Ruby 2.5 (Passenger Standalone) *   |  2018.03.0  |  Ruby 2.5.8-p224  |  RubyGems 3.1.2  |  Passenger 4.0.60  |  3.1.0  |  nginx 1.16.1  | 
|   ** Ruby 2.4 with Puma 2.11.7 版**   * 64bit Amazon Linux 2018.03 v2.11.7 running Ruby 2.4 (Puma) *   |  2018.03.0  |  Ruby 2.4.10-p364  |  RubyGems 3.1.2  |  Puma 2.16.0  |  3.1.0  |  nginx 1.16.1  | 
|   ** Ruby 2.4 with Passenger 2.11.7 版**   * 64bit Amazon Linux 2018.03 v2.11.7 running Ruby 2.4 (Passenger Standalone) *   |  2018.03.0  |  Ruby 2.4.10-p364  |  RubyGems 3.1.2  |  Passenger 4.0.60  |  3.1.0  |  nginx 1.16.1  | 