

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 发布：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 的新亚马逊 AL2 Linux 2023 (023) 平台分支。本次发布还提供了基于 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 支持的所有区域上市。发布可能需要几个小时才能完成。


| **类别** | **描述** | 
| --- | --- | 
| **组件** | **更新** | 
| --- | --- | 
| **平台** | **更新** | 
| --- | --- | 
|  **安全更新**  |  已将 **2023 年 10 月 16 日**当天或之前在[亚马逊 Linux 安全中心](https://alas.aws.amazon.com/alas2023.html)发布的所有安全更新应用于所有 AL2 023 平台。    | 
|  **跨平台 023 AL2**  |  应用了这些跨平台更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2023-10-19-al2023.html)  | 
|  **特定于平台的更新**  |  应用这些特定于平台的更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2023-10-19-al2023.html)  | 
|  **AMI**  |  已将基础 AMI 更新为版本 2023.2.20231016。  | 
|  **nginx**  |  除了 ECS 之外，所有 AL2 023 平台目前都运行 nginx [服务器版本 1.24.0，该版本](https://nginx.org/en/CHANGES-1.24)比在平台上运行的当前 nginx 1.22.1 版本更新。 AL2 这包括新的和现有的 AL2 023 平台分支。  | 
|  **Graviton 支持**  |  从此版本开始，Elastic Beanstalk 在以下区域的所有最新 Amazon Linux 2023 平台上增加了对 Graviton 的支持： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2023-10-19-al2023.html) AWS Graviton是一款arm64处理器，其性价比比基于x86的同类处理器高出40％。要了解有关 Graviton arm64 处理器架构的更多信息，请参阅 [AWS Graviton Processor 网站和存储](https://aws.amazon.com/ec2/graviton/)库中的 Graviton [入门](https://github.com/aws/aws-graviton-getting-started#getting-started-with-aws-graviton)。 AWS AWS GitHub   | 
|  **Docker**  |  **\$1\$1全新！ **\$1\$1 — 引入了在 AL2 023 上运行的新 **ECS** 平台分支。 **Docker 平台分支** [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2023-10-19-al2023.html) 此发行版对 Docker 平台分支进行了其他更改： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2023-10-19-al2023.html)  | 
|  **Go**  |  **\$1\$1全新！ **\$1\$1 — 引入了一个在 AL2 023 上运行的新 **Go 1** 平台分支： 在版本 [1.20.10](https://go.dev/doc/devel/release#go1.20.10) 上运行的 Go  | 
|  **Corretto**  |  **\$1\$1全新！ **\$1\$1 — 推出了两个在 023 上运行的新 Corretto 平台分支： AL2 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2023-10-19-al2023.html)  该平台分支的 Maven 和 Ant 工具源自 AL2 023 存储库，而不是外部来源。这能让您更清楚地了解软件包版本。有关更多信息，请参阅 *Amazon Linux 2023 用户指南*中的[管理软件包和操作系统更新](https://docs.aws.amazon.com/linux/al2023/ug/managing-repos-os-updates.html)。  已将 Corretto 17 更新为版本 [17.0.8.8.1](https://github.com/corretto/corretto-17/blob/develop/CHANGELOG.md#corretto-version-170881)。有关更多信息，请参阅 [Change Log for Amazon Corretto 17](https://github.com/corretto/corretto-17/blob/develop/CHANGELOG.md)。  | 
|  **Tomcat**  |  **\$1\$1全新！ **\$1\$1 — 推出了两个在 023 上运行的新 **Tomcat 9.0.71** 平台分支： AL2 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2023-10-19-al2023.html) **Tomcat 10 平台分支** [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2023-10-19-al2023.html)  | 
|  **.NET 内核**  |  **\$1\$1全新！ **\$1\$1 — 引入了在 AL2 023 上运行的新 **.NET 核心**平台分支： 版本 [6.0.23](https://github.com/dotnet/core/blob/main/release-notes/6.0/6.0.23/6.0.23.md) 上的.NET Core  | 
|  **Node.js**  |  更新了 Node.js 18，以增加对 Node 版本 [18.18.0](https://nodejs.org/en/blog/release/v18.18.0) 的支持。 这是一个安全版本。  | 
|  **PHP**  |  已将 PHP 8.1 版本更新为 [8.1.23](https://www.php.net/releases/8_1_23.php)。 已将 PHP 8.2 版本更新为 [8.2.9](https://www.php.net/releases/8_2_9.php)。  | 
|  **Python**  |  Python 3.9 和 Python 3.11 平台分支均将 Pipenv 更新为版本 2023.10.3。有关详细信息，请参阅 Pipenv [发布和版本历史记录](https://pipenv.pypa.io/en/latest/changelog/)。  | 
|  **Ruby**  |  **\$1\$1全新！ **\$1\$1 — 引入了一个在 AL2 023 上运行的新 **Ruby** 平台分支： Ruby 运行版本 [3.2.2](https://www.ruby-lang.org/en/news/2023/03/30/ruby-3-2-2-released/)。  | 

## 新平台版本
<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)
+ [.NET Core on Linux](#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**   * 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**   * 64bit Amazon Linux 2023 v4.0.0 running ECS *   |  2023.2.20231016  |  1.76.0  |    |    |    | 
|   ** Docker AL2 版本 3.6.2**   * 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**   * 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**   * 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**   * 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**   * 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**   * 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**   * 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**   * 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**   * 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**   * 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**   * 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**   * 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**   * 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**   * 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**   * 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  | 

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


****  

|  平台版本和*解决方案堆栈名称*   |  框架  |  代理服务器  |  AMI  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | 
|   ** .NET 6 on AL2023 版本 3.0.0**   * 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**   * 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**   * 64bit Amazon Linux 2023 v6.0.2 running Node.js 18 *   |  2023.2.20231016  |  18.18.0 (9.8.1)  默认版本：18.18.0  |  nginx 1.24.0（默认）、Apache 2.4.56  |  2.40.1  |  3.2.0  | 
|   ** Node.js 18 AL2 版本 5.8.6**   * 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)  默认版本：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**   * 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**   * 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**   * 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**   * 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  |  语言  |  包管理器  |  包装程序  |  meld3  |  AWS X-Ray  |  代理服务器  | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|   ** Python 3.11 AL2023 版本 4.0.5**   * 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**   * 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 版本**   * 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**   * 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**   * 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  | 