

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

# 消息發佈：Elastic Beanstalk 於 2023 年 10 月 19 日發佈 Amazon Linux 2023 新平台版本和更新
<a name="release-2023-10-19-al2023"></a>

Elastic Beanstalk 發佈適用於 ECS、Go、Corretto、Tomcat、.NET Core 和 Ruby 的全新 Amazon Linux 2023 (AL2023) 平台分支。此版本也為以 Amazon Linux 2023 為基礎建構而成的 Docker、Coretto、Tomcat、Node.js、PHP 和 Python 平台提供新版本。此版本內含適用於兩個區域的安全性更新、AMI 更新和 Graviton 支援。

**發佈日期：**2023 年 10 月 19 日

## 變更
<a name="release-2023-10-19-al2023.changes"></a>

今日我們發佈七個以 Amazon Linux 2023 為基礎的新 Elastic Beanstalk 平台分支。如需詳細資訊，請參閱《*AWS Elastic Beanstalk 開發人員指南*》中的 [Elastic Beanstalk Linux 平台](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-linux.html)。如需有關 Amazon Linux 2023 的詳細資訊，請參閱《Amazon Linux 2023 使用者指南》**中的 [Amazon Linux 2 和 Amazon Linux 2023 的比較](https://docs.aws.amazon.com/linux/al2023/ug/compare-with-al2.html)。

如需 Amazon Linux 2023 近期變更的詳細資訊和持續以來的版本備註，請參閱 [Amazon Linux 2023 版本備註](https://docs.aws.amazon.com/linux/al2023/release-notes/relnotes.html)。

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

**備註**  
這些版本備註著重於目前支援平台分支的變更。如需 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 年 10 月 16 日</b>前發佈於 <a href="https://alas.aws.amazon.com/alas2023.html">Amazon Linux 安全中心</a>的所有安全性更新，已全數套用至所有 AL2023 平台。<br /> </td></tr>
  <tr><td><b>跨平台 AL2023</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 已更新至 2023.2.20231016 版。</td></tr>
  <tr><td><b>nginx</b></td><td>除了 ECS 之外，所有 AL2023 平台目前均執行 nginx 伺服器 <a href="https://nginx.org/en/CHANGES-1.24">1.24.0 版</a>，該版本比 AL2 平台上目前執行的 nginx 1.22.1 版更新。全新和現有的 AL2023 平台分支都不例外。</td></tr>
  <tr><td><b>Graviton 支援</b></td><td>從此版本開始，Elastic Beanstalk 為下列區域的所有最新 Amazon Linux 2023 平台新增 Graviton 支援：<ul><li>非洲 (開普敦) – af-south-1</li><li>亞太區域 (大阪) - (ap-northeast-3)</li></ul><br />AWS Graviton 是 arm64 處理器，比類似的 x86 處理器提供高達 40% 的更佳價格效能。若要進一步了解 Graviton arm64 處理器架構，請參閱 AWS GitHub 儲存庫中的 <a href="https://aws.amazon.com/ec2/graviton/">AWS Graviton 處理器</a>網站和 <a href="https://github.com/aws/aws-graviton-getting-started#getting-started-with-aws-graviton">Graviton AWS 入門</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><b>**全新！**</b> — 推出在 AL2023 上執行的新 <b>ECS</b> 平台分支。<br /><b>Docker 平台分支</b><ul><li>Docker Engine 已更新至 <b>24.0.5-1</b> 版。</li><li>Docker Compose 已更新至 <a href="https://docs.docker.com/compose/release-notes/#2220">2.22.0</a> 版。</li></ul><br />此版本中 Docker 平台分支的其他變更：<ul><li> 此版本為 <code>docker compose pull</code> 命令新增 <code>--ignore-buildable</code>，以防在需要使用 Docker Compose v2 執行構建程序時發生映像提取問題。如需詳細資訊，請參閱 Docker 參考文件中的 <a href="https://docs.docker.com/engine/reference/commandline/compose_pull/">Docker Compose 提取</a>。 </li><li> 如果容器未成功啟動或意外停止，此版本可防止系統回報容器部署成功。 </li><li> 此版本解決 Elastic Beanstalk 日誌檔案可能附加日誌重複資訊的問題，該問題通常發生於日誌記錄程序失敗後重新啟動之際。 </li><li> 此版本限制 Docker Compose 執行日誌記錄失敗後嘗試重新啟動的次數。 </li></ul></td></tr>
  <tr><td><b>Go</b></td><td><b>**全新！**</b> — 推出在 AL2023 上執行的新 <b>Go 1</b> 平台分支：<br />執行 <a href="https://go.dev/doc/devel/release#go1.20.10">1.20.10</a> 版的 Go。</td></tr>
  <tr><td><b>Corretto</b></td><td><b>**全新！**</b> — 推出兩個在 AL2023 上執行的新 Corretto 平台分支：<ul><li>  <b>Corretto 11</b> – Corretto <a href="https://github.com/corretto/corretto-11/blob/develop/CHANGELOG.md#corretto-version-1102191">11.0.20.9.1</a> 版。如需詳細資訊，請參閱 <a href="https://github.com/corretto/corretto-11/blob/develop/CHANGELOG.md">Amazon Corretto 11 變更日誌</a>。 </li><li>  <b>Corretto 8</b> – Corretto <a href="https://github.com/corretto/corretto-8/blob/develop/CHANGELOG.md#corretto-version-8382051">8.382.05.1</a> 版。如需詳細資訊，請參閱 <a href="https://github.com/corretto/corretto-8/blob/develop/CHANGELOG.md">Amazon Corretto 8 變更日誌</a>。 </li></ul> 此平台分支的 Maven 和 Ant 工具來自 AL2023 儲存庫，而不是外部來源。這使您可以更清楚地了解套件版本。如需詳細資訊，請參閱《<i>Amazon Linux 2023 使用者指南</i>》中的<a href="https://docs.aws.amazon.com/linux/al2023/ug/managing-repos-os-updates.html">管理套件和作業系統更新</a>。 <br />Corretto 17 已更新至 <a href="https://github.com/corretto/corretto-17/blob/develop/CHANGELOG.md#corretto-version-170881">17.0.8.8.1</a> 版。如需詳細資訊，請參閱 <a href="https://github.com/corretto/corretto-17/blob/develop/CHANGELOG.md">Amazon Corretto 17 變更日誌</a>。</td></tr>
  <tr><td><b>Tomcat</b></td><td><b>**全新！**</b> — 推出兩個在 AL2023 上執行的新 <b>Tomcat 9.0.71</b> 平台分支：<ul><li>  <b>Corretto 17</b> – Corretto <a href="https://github.com/corretto/corretto-17/blob/develop/CHANGELOG.md#corretto-version-170881">17.0.8.8.1</a> 版。如需詳細資訊，請參閱 <a href="https://github.com/corretto/corretto-17/blob/develop/CHANGELOG.md">Amazon Corretto 17 變更日誌</a>。 </li><li>  <b>Corretto 11</b> – Corretto <a href="https://github.com/corretto/corretto-11/blob/develop/CHANGELOG.md#corretto-version-1102191">11.0.20.9.1</a> 版。如需詳細資訊，請參閱 <a href="https://github.com/corretto/corretto-11/blob/develop/CHANGELOG.md">Amazon Corretto 11 變更日誌</a>。 </li><li> 如需 Tomcat 9 的詳細資訊，請參閱 <a href="https://tomcat.apache.org/tomcat-9.0-doc/index.html">Apache Tomcat 9</a> 文件。 </li></ul><br /><b>Tomcat 10 平台分支</b><ul><li> Tomcat 10 已更新至 <a href="https://tomcat.apache.org/tomcat-10.1-doc/RELEASE-NOTES.txt">Tomcat 10.1.15</a>。 </li><li> Corretto 17 已更新至 <a href="https://github.com/corretto/corretto-17/blob/develop/CHANGELOG.md#corretto-version-170881">17.0.8.8.1</a> 版。如需詳細資訊，請參閱 <a href="https://github.com/corretto/corretto-17/blob/develop/CHANGELOG.md">Amazon Corretto 17 變更日誌</a>。 </li></ul></td></tr>
  <tr><td><b>.NET Core</b></td><td><b>**全新！**</b> — 推出在 AL2023 上執行的新 <b>.NET Core</b> 平台分支：<br />執行 <a href="https://github.com/dotnet/core/blob/main/release-notes/6.0/6.0.23/6.0.23.md">6.0.23</a> 版的 .NET Core。</td></tr>
  <tr><td><b>Node.js</b></td><td>已更新 Node.js 18，新增對 Node <a href="https://nodejs.org/en/blog/release/v18.18.0">18.18.0</a> 版的支援。<br />這是安全性版本更新。</td></tr>
  <tr><td><b>PHP</b></td><td>PHP 8.1 已更新至 <a href="https://www.php.net/releases/8_1_23.php">8.1.23</a> 版。<br />PHP 8.2 已更新至 <a href="https://www.php.net/releases/8_2_9.php">8.2.9</a> 版。</td></tr>
  <tr><td><b>Python</b></td><td>針對 Python 3.9 和 Python 3.11 平台分支，將 Pipenv 更新至 2023.10.3 版。如需詳細資訊，請參閱 Pipenv <a href="https://pipenv.pypa.io/en/latest/changelog/">發行版本和版本歷史記錄</a>。</td></tr>
  <tr><td><b>Ruby</b></td><td><b>**全新！**</b> — 推出在 AL2023 上執行的新 <b>Ruby</b> 平台分支：<br />執行 <a href="https://www.ruby-lang.org/en/news/2023/03/30/ruby-3-2-2-released/">3.2.2</a> 版的 Ruby。</td></tr>
</tbody>
</table>
</td></tr>
</tbody>
</table>


## 新的平台版本
<a name="release-2023-10-19-al2023.platforms"></a>

**注意**  
下列各表列出每個平台支援的所有平台分支，包括 Amazon Linux 2。此版本中僅更新 Amazon Linux 2023 平台分支。

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

### Docker
<a name="release-2023-10-19-al2023.platforms.docker"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  ECS 代理程式  |  Docker  |  Docker Compose  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Docker AL2023 4.1.0 版** <br /> * 64bit Amazon Linux 2023 v4.1.0 running Docker *  | 2023.2.20231016 |  | 24.0.5-1 | 2.22.0 | nginx 1.24.0 | 
|  ** ECS AL2023 4.0.0 版** <br /> * 64bit Amazon Linux 2023 v4.0.0 running ECS *  | 2023.2.20231016 | 1.76.0 |  |  |  | 
|  ** Docker AL2 3.6.2 版** <br /> * 64bit Amazon Linux 2 v3.6.2 running Docker *  | 2.0.20230926 |  | 20.10.23-1 | 2.22.0 | nginx 1.22.1 | 
|  ** ECS AL2 3.2.12 版** <br /> * 64bit Amazon Linux 2 v3.2.12 running ECS *  | 2.0.20230926 | 1.75.3 |  |  |  | 

### Go
<a name="release-2023-10-19-al2023.platforms.go"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|  ** Go 1 AL2023 4.0.0 版** <br /> * 64bit Amazon Linux 2023 v4.0.0 running Go 1 *  | 2023.2.20231016 | Go 1.20.10 | 3.2.0 | nginx 1.24.0 | 
|  ** Go 1 AL2 3.8.1 版** <br /> * 64bit Amazon Linux 2 v3.8.1 running Go 1 *  | 2.0.20230926 | Go 1.21.2 | 3.2.0 | nginx 1.22.1 | 

### Java SE
<a name="release-2023-10-19-al2023.platforms.javase"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  工具  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Corretto 17 AL2023 4.1.0 版** <br /> * 64bit Amazon Linux 2023 v4.1.0 running Corretto 17 *  | 2023.2.20231016 | Corretto 17.0.8.8.1 | Ant 1.10.12、Gradle 8.4、Maven 3.8.4 | 3.2.0 | nginx 1.24.0 | 
|  ** Corretto 11 AL2023 4.1.0 版** <br /> * 64bit Amazon Linux 2023 v4.1.0 running Corretto 11 *  | 2023.2.20231016 | Corretto 11.0.20.9.1 | Ant 1.10.12、Gradle 8.4、Maven 3.8.4 | 3.2.0 | nginx 1.24.0 | 
|  ** Corretto 8 AL2023 4.1.0 版** <br /> * 64bit Amazon Linux 2023 v4.1.0 running Corretto 8 *  | 2023.2.20231016 | Corretto 8.382.05.1 | Ant 1.10.12、Gradle 8.4、Maven 3.8.4 | 3.2.0 | nginx 1.24.0 | 
|  ** Corretto 17 3.5.1 版** <br /> * 64bit Amazon Linux 2 v3.5.1 running Corretto 17 *  | 2.0.20230926 | Corretto 17.0.8.8.1 | Ant 1.10.14、Gradle 8.4、Maven 3.8.8 | 3.2.0 | nginx 1.22.1 | 
|  ** Corretto 11 3.5.1 版** <br /> * 64bit Amazon Linux 2 v3.5.1 running Corretto 11 *  | 2.0.20230926 | Corretto 11.0.20.9.1 | Ant 1.10.14、Gradle 8.4、Maven 3.8.8 | 3.2.0 | nginx 1.22.1 | 
|  ** Corretto 8 3.5.1 版** <br /> * 64bit Amazon Linux 2 v3.5.1 running Corretto 8 *  | 2.0.20230926 | Corretto 8.382.05.1 | Ant 1.10.14、Gradle 8.4、Maven 3.8.8 | 3.2.0 | nginx 1.22.1 | 

### Tomcat
<a name="release-2023-10-19-al2023.platforms.java"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  AWS X-Ray  |  應用程式伺服器  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Corretto 17 with Tomcat 10 AL2023 5.1.0 版** <br /> * 64bit Amazon Linux 2023 v5.1.0 running Tomcat 10 Corretto 17 *  | 2023.2.20231016 | Corretto 17.0.8.8.1 | 3.2.0 | Tomcat 10.1.15 | nginx 1.24.0 (預設)，Apache 2.4.56 | 
|  ** Corretto 17 with Tomcat 9 AL2023 5.1.0 版** <br /> * 64bit Amazon Linux 2023 v5.1.0 running Tomcat 9 Corretto 17 *  | 2023.2.20231016 | Corretto 17.0.8.8.1 | 3.2.0 | Tomcat 9.0.71 | nginx 1.24.0 (預設)，Apache 2.4.56 | 
|  ** Corretto 11 with Tomcat 9 AL2023 5.1.0 版** <br /> * 64bit Amazon Linux 2023 v5.1.0 running Tomcat 9 Corretto 11 *  | 2023.2.20231016 | Corretto 11.0.20.9.1 | 3.2.0 | Tomcat 9.0.71 | nginx 1.24.0 (預設)，Apache 2.4.56 | 
|  ** Corretto 11 with Tomcat 8.5 AL2 4.3.12 版** <br /> * 64bit Amazon Linux 2 v4.3.12 running Tomcat 8.5 Corretto 11 *  | 2.0.20230926 | Corretto 11.0.20.9.1 | 3.2.0 | Tomcat 8.5.93 | nginx 1.22.1 (預設)，Apache 2.4.57 | 
|  ** Corretto 8 with Tomcat 8.5 AL2 4.3.12 版** <br /> * 64bit Amazon Linux 2 v4.3.12 running Tomcat 8.5 Corretto 8 *  | 2.0.20230926 | Corretto 8.382.05.1 | 3.2.0 | Tomcat 8.5.93 | nginx 1.22.1 (預設)，Apache 2.4.57 | 

### Linux 上的 .NET Core
<a name="release-2023-10-19-al2023.platforms.dotnetlinux"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  架構  |  代理伺服器  |  AMI  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | 
|  ** .NET 6 on AL2023 3.0.0 版** <br /> * 64bit Amazon Linux 2023 v3.0.0 running .NET 6 *  | .NET 6.0.23，支援 6.0.23 | nginx 1.24.0 | 2023.2.20231016 | 3.2.0 | 
|  ** .NET Core on AL2 2.6.0 版** <br /> * 64bit Amazon Linux 2 v2.6.0 running .NET Core *  | .NET 6.0.22，支援 6.0.22 | nginx 1.22.1 | 2.0.20230926 | 3.2.0 | 

### Node.js
<a name="release-2023-10-19-al2023.platforms.nodejs"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  Node.js 版本 (npm 版本)  |  代理伺服器  |  Git  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | 
|  ** Node.js 18 AL2023 6.0.2 版** <br /> * 64bit Amazon Linux 2023 v6.0.2 running Node.js 18 *  | 2023.2.20231016 | 18.18.0 (9.8.1)<br /> 預設版本：18.18.0 | nginx 1.24.0 (預設)，Apache 2.4.56 | 2.40.1 | 3.2.0 | 
|  ** Node.js 18 AL2 5.8.6 版** <br /> * 64bit Amazon Linux 2 v5.8.6 running Node.js 18 *  | 2.0.20230926 | 18.18.0 (9.8.1)、18.17.1 (9.6.7)、18.17.0 (9.6.7)、18.16.1 (9.5.1)、18.16.0 (9.5.1)、18.15.0 (9.5.0)、18.14.2 (9.5.0)、18.14.1 (9.3.1)、18.14.0 (9.3.1)、18.13.0 (8.19.3)、18.12.1 (8.19.2)、18.12.0 (8.19.2)、18.11.0 (8.19.2)、18.10.0 (8.19.2)、18.9.1 (8.19.1)、18.9.0 (8.19.1)、18.8.0 (8.18.0)、18.7.0 (8.15.0)、18.6.0 (8.13.2)、18.5.0 (8.12.1)、18.4.0 (8.12.1)、18.3.0 (8.11.0)、18.2.0 (8.9.0)、18.1.0 (8.8.0)、18.0.0 (8.6.0)<br /> 預設版本：18.18.0 | nginx 1.22.1 (預設)，Apache 2.4.57 | 2.40.1 | 3.2.0 | 

### PHP
<a name="release-2023-10-19-al2023.platforms.PHP"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  Composer  |  代理伺服器  | 
| --- | --- | --- | --- | --- | 
|  ** PHP 8.2 AL2023 4.0.2 版** <br /> * 64bit Amazon Linux 2023 v4.0.2 running PHP 8.2 *  | 2023.2.20231016 | PHP 8.2.9 | 2.5.8 | nginx 1.24.0 (預設)，Apache 2.4.56 | 
|  ** PHP 8.1 AL2023 4.0.2 版** <br /> * 64bit Amazon Linux 2023 v4.0.2 running PHP 8.1 *  | 2023.2.20231016 | PHP 8.1.23 | 2.5.7 | nginx 1.24.0 (預設)，Apache 2.4.56 | 
|  ** PHP 8.1 AL2 3.5.12 版** <br /> * 64bit Amazon Linux 2 v3.5.12 running PHP 8.1 *  | 2.0.20230926 | PHP 8.1.24 | 2.3.5 | nginx 1.22.1 (預設)，Apache 2.4.57 | 
|  ** PHP 8.0 AL2 3.5.12 版** <br /> * 64bit Amazon Linux 2 v3.5.12 running PHP 8.0 *  | 2.0.20230926 | PHP 8.0.30 | 2.0.13 | nginx 1.22.1 (預設)，Apache 2.4.57 | 

### Python
<a name="release-2023-10-19-al2023.platforms.python"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  Packager  |  meld3  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|  ** Python 3.11 AL2023 4.0.5 版** <br /> * 64bit Amazon Linux 2023 v4.0.5 running Python 3.11 *  | 2023.2.20231016 | Python 3.11.2 | pipenv 2023.10.3 |  |  | 3.2.0 | nginx 1.24.0 (預設)，Apache 2.4.56 | 
|  ** Python 3.9 AL2023 4.0.5 版** <br /> * 64bit Amazon Linux 2023 v4.0.5 running Python 3.9 *  | 2023.2.20231016 | Python 3.9.16 | pipenv 2023.10.3 |  |  | 3.2.0 | nginx 1.24.0 (預設)，Apache 2.4.56 | 
|  ** Python 3.8 AL2 3.5.7 版** <br /> * 64bit Amazon Linux 2 v3.5.7 running Python 3.8 *  | 2.0.20230926 | Python 3.8.16 | pipenv 2023.10.3 |  |  | 3.2.0 | nginx 1.22.1 (預設)，Apache 2.4.57 | 

### Ruby
<a name="release-2023-10-19-al2023.platforms.ruby"></a>


****  

|  平台版本和*解決方案堆疊名稱*   |  AMI  |  語言  |  套件管理工具  |  應用程式伺服器  |  AWS X-Ray  |  代理伺服器  | 
| --- | --- | --- | --- | --- | --- | --- | 
|  ** Ruby 3.2 AL2023 4.0.0 版** <br /> * 64bit Amazon Linux 2023 v4.0.0 running Ruby 3.2 *  | 2023.2.20231016 | Ruby 3.2.2 | RubyGems 3.4.10 | Puma 6.4.0 | 3.2.0 | nginx 1.24.0 | 
|  ** Ruby 3.0 AL2 3.6.12 版** <br /> * 64bit Amazon Linux 2 v3.6.12 running Ruby 3.0 *  | 2.0.20230926 | Ruby 3.0.6-p216 | RubyGems 3.4.20 | Puma 6.4.0 | 3.2.0 | nginx 1.22.1 | 