

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

# 发布：2023 年 10 月 24 日的 Elastic Beanstalk Amazon Linux 2 平台更新
<a name="release-2023-10-24-al2"></a>

此版本为基于 Amazon Linux 2 的 AWS Elastic Beanstalk 平台提供了新版本。此发行版包括安全更新以及对两个区域的 Graviton 支持。同时还包括 AMI、Docker、基于 ECS 的 Docker、Go、Corretto、Tomcat、.NET Core 和 Node.js 更新。

**发布日期：**2023 年 10 月 24 日

## 更改
<a name="release-2023-10-24-al2.changes"></a>

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

**注意**  
这些发布说明重点介绍对当前支持的平台分支的更改。有关 Elastic Beanstalk 停用（弃用）平台分支的完整版本信息，请参阅《AWS Elastic Beanstalk 平台指南》**中的[计划停用的 Elastic Beanstalk 平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。
请注意，在发布这些发行说明时，新平台版本可能尚未在 Elastic Beanstalk AWS 支持的所有区域上市。发布可能需要几个小时才能完成。


| **类别** | **描述** | 
| --- | --- | 
| **组件** | **更新** | 
| --- | --- | 
| **平台** | **更新** | 
| --- | --- | 
|  **安全更新**  |  已将 **2023 年 10 月 18 日**或之前在 [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_cn/elasticbeanstalk/latest/relnotes/release-2023-10-24-al2.html)  | 
|  **特定于平台的更新**  |  应用这些特定于平台的更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2023-10-24-al2.html)  | 
|  **AMI**  |  已将基础 AMI 更新为版本 2.0.20231012。  | 
|  **Graviton 支持**  |  从此发行版开始，Elastic Beanstalk 在以下区域的所有最新 Amazon Linux 2 平台上增加了对 Graviton 的支持： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2023-10-24-al2.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**  |  基于 ECS 的 Docker 平台分支 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2023-10-24-al2.html)**Docker 平台分支** [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2023-10-24-al2.html)Docker 引擎更新是安全版本。  | 
|  **Go**  |  已将 Go 更新为版本 1.21.3。有关详细信息，请参阅 *Go 编程语言发布历史记录*中的 [go1.21.3](https://go.dev/doc/devel/release#go1.21.3)。 这是一个安全版本。  | 
|  **Corretto**  |  已将 Corretto 17 更新为版本 17.0.9.8.1。有关更改日志的信息，请参阅 [Amazon Corretto 17 的更改日志](https://github.com/corretto/corretto-17/blob/develop/CHANGELOG.md)。 已将 Corretto 11 更新为版本 11.0.21.9.1。有关更改日志的信息，请参阅 [Amazon Corretto 11 的更改日志](https://github.com/corretto/corretto-11/blob/develop/CHANGELOG.md)。 已将 Corretto 8 更新为版本 8.392.08.1。有关更改日志，请参阅 [Amazon Corretto 8 的更改日志](https://github.com/corretto/corretto-8/blob/develop/CHANGELOG.md)。 工具更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2023-10-24-al2.html) 所有三个更新都是安全版本。  | 
|  **Tomcat**  |  已将 Corretto 11 更新为版本 11.0.21.9.1。有关更改日志的信息，请参阅 [Amazon Corretto 11 的更改日志](https://github.com/corretto/corretto-11/blob/develop/CHANGELOG.md)。 已将 Corretto 8 更新为版本 8.392.08.1。有关更改日志，请参阅 [Amazon Corretto 8 的更改日志](https://github.com/corretto/corretto-8/blob/develop/CHANGELOG.md)。 这两个更新都是安全版本。 已将 Tomcat 8.5 更新为 [Tomcat 8.5.94](https://tomcat.apache.org/tomcat-8.5-doc/changelog.html#Tomcat_8.5.94)。  | 
|  **.NET 内核**  |  已将 .NET Core 更新为版本 [6.0.23](https://github.com/dotnet/core/blob/main/release-notes/6.0/6.0.23/6.0.23.md)。 这是一个安全版本。  | 
|  **Node.js**  |  更新了 Node.js 18，以增加对 Node 版本 [18.18.2](https://nodejs.org/en/blog/release/v18.18.2) 和 Node 版本 [18.18.1](https://nodejs.org/en/blog/release/v18.18.1) 的支持。 Node.js 18.18.2 更新属于安全发布。  Node.js 14 和 Node.js 16 已将停用（已弃用）平台分支。有关 Elastic Beanstalk 停用平台分支的完整版本信息，请参阅《*AWS Elastic Beanstalk 平台指南*》中的[计划停用的 Elastic Beanstalk 平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。   | 

## 新平台版本
<a name="release-2023-10-24-al2.platforms"></a>

**注意**  
下表列出了每个平台（包括 Amazon Linux 2023）的所有受支持的平台分支。此发行版仅更新了 Amazon Linux 2 平台分支。

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

### Docker
<a name="release-2023-10-24-al2.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.3**   * 64bit Amazon Linux 2 v3.6.3 running Docker *   |  2.0.20231012  |    |  20.10.25-1  |  2.23.0  |  nginx 1.22.1  | 
|   ** ECS AL2 版本 3.2.13**   * 64bit Amazon Linux 2 v3.2.13 running ECS *   |  2.0.20231012  |  1.77.0  |    |    |    | 

### Go
<a name="release-2023-10-24-al2.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.2**   * 64bit Amazon Linux 2 v3.8.2 running Go 1 *   |  2.0.20231012  |  Go 1.21.3  |  3.2.0  |  nginx 1.22.1  | 

### Java SE
<a name="release-2023-10-24-al2.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.6.0**   * 64bit Amazon Linux 2 v3.6.0 running Corretto 17 *   |  2.0.20231012  |  Corretto 17.0.9.8.1  |  Ant 1.10.14、Gradle 8.4、Maven 3.9.5  |  3.2.0  |  nginx 1.22.1  | 
|   ** Corretto 11 版本 3.6.0**   * 64bit Amazon Linux 2 v3.6.0 running Corretto 11 *   |  2.0.20231012  |  Corretto 11.0.21.9.1  |  Ant 1.10.14、Gradle 8.4、Maven 3.9.5  |  3.2.0  |  nginx 1.22.1  | 
|   ** Corretto 8 版本 3.6.0**   * 64bit Amazon Linux 2 v3.6.0 running Corretto 8 *   |  2.0.20231012  |  Corretto 8.392.08.1  |  Ant 1.10.14、Gradle 8.4、Maven 3.9.5  |  3.2.0  |  nginx 1.22.1  | 

### Tomcat
<a name="release-2023-10-24-al2.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.13**   * 64bit Amazon Linux 2 v4.3.13 running Tomcat 8.5 Corretto 11 *   |  2.0.20231012  |  Corretto 11.0.21.9.1  |  3.2.0  |  Tomcat 8.5.94  |  Nginx 1.22.1（默认）、Apache 2.4.57  | 
|   **Corretto 8 with Tomcat 8.5 AL2 版本 4.3.13**   * 64bit Amazon Linux 2 v4.3.13 running Tomcat 8.5 Corretto 8 *   |  2.0.20231012  |  Corretto 8.392.08.1  |  3.2.0  |  Tomcat 8.5.94  |  Nginx 1.22.1（默认）、Apache 2.4.57  | 

### .NET Core on Linux
<a name="release-2023-10-24-al2.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.1**   * 64bit Amazon Linux 2 v2.6.1 running .NET Core *   |  .NET 6.0.23，支持 6.0.23  |  nginx 1.22.1  |  2.0.20231012  |  3.2.0  | 

### Node.js
<a name="release-2023-10-24-al2.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.7**   * 64bit Amazon Linux 2 v5.8.7 running Node.js 18 *   |  2.0.20231012  |  18.18.2 (9.8.1)、18.18.1 (9.8.1)、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.2  |  Nginx 1.22.1（默认）、Apache 2.4.57  |  2.40.1  |  3.2.0  | 

### PHP
<a name="release-2023-10-24-al2.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.13**   * 64bit Amazon Linux 2 v3.5.13 running PHP 8.1 *   |  2.0.20231012  |  PHP 8.1.24  |  2.3.5  |  Nginx 1.22.1（默认）、Apache 2.4.57  | 
|   **PHP 8.0 AL2 版本 3.5.13**   * 64bit Amazon Linux 2 v3.5.13 running PHP 8.0 *   |  2.0.20231012  |  PHP 8.0.30  |  2.0.13  |  Nginx 1.22.1（默认）、Apache 2.4.57  | 

### Python
<a name="release-2023-10-24-al2.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.8**   * 64bit Amazon Linux 2 v3.5.8 running Python 3.8 *   |  2.0.20231012  |  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-24-al2.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.13**   * 64bit Amazon Linux 2 v3.6.13 running Ruby 3.0 *   |  2.0.20231012  |  Ruby 3.0.6-p216  |  RubyGems 3.4.20  |  Puma 6.4.0  |  3.2.0  |  nginx 1.22.1  | 