

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

# 发布：Elastic Beanstalk Amazon Linux 2 平台将于 2024 年 2 月 28 日更新
<a name="release-2024-02-28-al2"></a>

此版本为基于 Amazon Linux 2 的 AWS Elastic Beanstalk 平台提供了新版本。此发行版包含了安全更新。它还包括 AMI、Docker、基于 ECS 的 Docker、Go、Corretto、Tomcat、.NET Core、Node.js、PHP、Python 和 Ruby 平台。 AL2 

**发布日期：**2024 年 2 月 28 日

## 更改
<a name="release-2024-02-28-al2.changes"></a>

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

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


| **类别** | **描述** | 
| --- | --- | 
| **组件** | **更新** | 
| --- | --- | 
| **平台** | **更新** | 
| --- | --- | 
|  **安全更新**  |  已将 **2024 年 2 月 23 日**当天或之前在[亚马逊 Linux 安全中心](https://alas.aws.amazon.com/alas2.html)发布的所有安全更新应用于所有亚马逊 Linux 2 平台。 一些平台更新是安全版本。有关更多信息，请参阅此表中的**特定于平台的更新**。  | 
|  **跨平台更新**  |  应用了这些跨平台更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html)  | 
|  **平台弃用日期**  |  以下平台分支机构的停用日期已推迟到 *2024年9月30日*。在[之前的发行说明](release-2023-09-05-al2.md)中，我们宣布了更早的停用日期。 [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html) 这些平台分支将因其语言运行时组件的所有者终止支持而*停*用，并且*已被弃用*。如果您目前使用的是任何一个即将停用的平台，我们强烈建议您开始计划从各个这些平台迁移到当前完全受支持的版本。 已弃用的平台分支未在 *AWS Elastic Beanstalk 平台指南*的[受支持平台](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-supported.html)页面上列出。它们列在单独页面上，[即将停用平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。 有关平台弃用的更多信息，请参阅 *AWS Elastic Beanstalk 开发人员指南*中的 [Elastic Beanstalk 平台支持策略](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/platforms-support-policy.html)。  | 
|  **特定于平台的更新**  |  应用这些特定于平台的更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html)  | 
|  **AMI**  |  已将基本 AMI 更新至版本 2.0.20240223。  | 
|  **Docker**  |  **ECS Docker 平台分支** [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html) **Docker 平台分支** [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html)  **此版本对 Docker 平台分支进行了其他更改**  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html)  | 
|  **Go**  |  已更新 Go 到 1.22.0 版本。有关详细信息，请参阅 [G *o 编程语言版本历史中的 g* o1.22.0](https://go.dev/doc/devel/release#go1.22.0)。  | 
|  **Corretto**  |  语言运行时系统更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html) 这两种语言更新都是安全版本。 工具更新： [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html)  | 
|  **Tomcat**  |  **Tomcat 9 平台分支** [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html) C **orretto** 8 语言运行时更新是一个安全版本。  开启 Tomcat 8.5 AL2 的 Corretto 8 和 Corretto 11 正在停用（已弃用）的平台分支。有关 Elastic Beanstalk 停用平台分支的完整版本信息，请参阅《*AWS Elastic Beanstalk 平台指南*》中的[计划停用的 Elastic Beanstalk 平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。   | 
|  **.NET 内核**  |  已将.NET 核心更新到 [6.0.27](https://github.com/dotnet/core/blob/main/release-notes/6.0/6.0.27/6.0.27.md) 版。 这是一个安全版本。  | 
|  **Node.js**  |  更新了 Node.js 18，增加了对 Node 版本 [18.19.1](https://nodejs.org/en/blog/release/v18.19.1) 的支持。 这是一个安全版本。  Node.js 14 和 Node.js 16 已将停用（已弃用）平台分支。有关 Elastic Beanstalk 停用平台分支的完整版本信息，请参阅《*AWS Elastic Beanstalk 平台指南*》中的[计划停用的 Elastic Beanstalk 平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。   | 
|  **PHP**  |  没有语言版本更新。  **此版本对 PHP 平台分支进行了其他更改**  [\[See the AWS documentation website for more details\]](http://docs.aws.amazon.com/zh_cn/elasticbeanstalk/latest/relnotes/release-2024-02-28-al2.html)  PHP 8.0 是一个即将停用（已弃用）的平台分支。有关 Elastic Beanstalk 停用平台分支的完整版本信息，请参阅《*AWS Elastic Beanstalk 平台指南*》中的[计划停用的 Elastic Beanstalk 平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。   | 
|  **Python**  |  将 Pipenv 更新为适用于 Python **3.8 平台分支的 2023.12.1** 版本。有关详细信息，请参阅 Pipenv [发布和版本历史记录](https://github.com/pypa/pipenv/releases)。  Python 3.7 是一个即将停用（已弃用）的平台分支。有关 Elastic Beanstalk 停用平台分支的完整版本信息，请参阅《*AWS Elastic Beanstalk 平台指南*》中的[计划停用的 Elastic Beanstalk 平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。   | 
|  **Ruby**  |  已更新 RubyGems 至 3.5.6 版本。有关详细信息，请参阅*RubyGems 博客*上的[发行说明](https://blog.rubygems.org/#2024)。  Ruby 2.7 和 Ruby 3.0 是即将停用（已弃用）的平台分支。有关 Elastic Beanstalk 停用平台分支的完整版本信息，请参阅《*AWS Elastic Beanstalk 平台指南*》中的[计划停用的 Elastic Beanstalk 平台版本](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html)。   | 

## 新平台版本
<a name="release-2024-02-28-al2.platforms"></a>

**注意**  
下表列出了每个平台*支持*的所有平台分支，包括亚马逊 Linux 2023。此发行版仅更新了 Amazon Linux 2 平台分支。
下表*仅列出了支持的*平台分支。他们没有列出计划停用（已弃用）的平台分支。**有关 Elastic Beanstalk 即将停用（已弃用）平台分支的完整版本信息，请参阅平台指南中计划停用的 [Elastic Beanstalk](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-retiring.html) 平台版本。AWS Elastic Beanstalk **

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

### Docker
<a name="release-2024-02-28-al2.platforms.docker"></a>


****  

|  平台版本和*解决方案堆栈名称*   |  AMI  |  ECS 代理  |  Docker  |  Docker Compose  |  代理服务器  | 
| --- | --- | --- | --- | --- | --- | 
|   **Docker AL2023 版本 4.2.2**   * 64bit Amazon Linux 2023 v4.2.2 running Docker *   |  2023.3.20240219  |    |  24.0.5-1  |  2.24.6  |  nginx 1.24.0  | 
|   ** ECS AL2023 版本 4.0.5**   * 64bit Amazon Linux 2023 v4.0.5 running ECS *   |  2023.3.20240219  |  1.81.0  |    |    |    | 
|   **Docker AL2 3.7.2 版本**   * 64bit Amazon Linux 2 v3.7.2 running Docker *   |  2.0.20240223  |    |  20.10.25-1  |  2.24.6  |  nginx 1.22.1  | 
|   **ECS AL2版本 3.2.18**   * 64bit Amazon Linux 2 v3.2.18 running ECS *   |  2.0.20240223  |  1.81.0  |    |    |    | 

### Go
<a name="release-2024-02-28-al2.platforms.go"></a>


****  

|  平台版本和*解决方案堆栈名称*   |  AMI  |  语言  |  AWS X-Ray  |  代理服务器  | 
| --- | --- | --- | --- | --- | 
|   ** Go 1 AL2023 版本 4.0.4**   * 64bit Amazon Linux 2023 v4.0.4 running Go 1 *   |  2023.3.20240219  |  Go 1.20.12  |  3.2.0  |  nginx 1.24.0  | 
|   **Go 1 AL2版本 3.9.0**   * 64bit Amazon Linux 2 v3.9.0 running Go 1 *   |  2.0.20240223  |  Go 1.22.0  |  3.2.0  |  nginx 1.22.1  | 

### Java SE
<a name="release-2024-02-28-al2.platforms.javase"></a>


****  

|  平台版本和*解决方案堆栈名称*   |  AMI  |  语言  |  工具  |  AWS X-Ray  |  代理服务器  | 
| --- | --- | --- | --- | --- | --- | 
|   **Corretto 21 AL2023 版本 4.2.1**   * 64bit Amazon Linux 2023 v4.2.1 running Corretto 21 *   |  2023.3.20240219  |  Corretto 21.0.2.14.1  |  Ant 1.10.12、Gradle 8.6、Maven 3.8.4  |  3.2.0  |  nginx 1.24.0  | 
|   **Corretto 17 AL2023 版本 4.2.1**   * 64bit Amazon Linux 2023 v4.2.1 running Corretto 17 *   |  2023.3.20240219  |  Corretto 17.0.10.8.1  |  Ant 1.10.12、Gradle 8.6、Maven 3.8.4  |  3.2.0  |  nginx 1.24.0  | 
|   **Corretto 11 AL2023 版本 4.2.1**   * 64bit Amazon Linux 2023 v4.2.1 running Corretto 11 *   |  2023.3.20240219  |  Corretto 11.0.22.7.1  |  Ant 1.10.12、Gradle 8.6、Maven 3.8.4  |  3.2.0  |  nginx 1.24.0  | 
|   **Corretto 8 AL2023 版本 4.2.1**   * 64bit Amazon Linux 2023 v4.2.1 running Corretto 8 *   |  2023.3.20240219  |  Corretto 8.402.08.1  |  Ant 1.10.12、Gradle 8.6、Maven 3.8.4  |  3.2.0  |  nginx 1.24.0  | 
|   ** Corretto 17 版本 3.6.4**   * 64bit Amazon Linux 2 v3.6.4 running Corretto 17 *   |  2.0.20240223  |  Corretto 17.0.10.8.1  |  Ant 1.10.14、Gradle 8.6、Maven 3.9.6  |  3.2.0  |  nginx 1.22.1  | 
|   ** Corretto 11 版本 3.6.4**   * 64bit Amazon Linux 2 v3.6.4 running Corretto 11 *   |  2.0.20240223  |  Corretto 11.0.22.7.1  |  Ant 1.10.14、Gradle 8.6、Maven 3.9.6  |  3.2.0  |  nginx 1.22.1  | 
|   ** Corretto 8 版本 3.6.4**   * 64bit Amazon Linux 2 v3.6.4 running Corretto 8 *   |  2.0.20240223  |  Corretto 8.402.08.1  |  Ant 1.10.14、Gradle 8.6、Maven 3.9.6  |  3.2.0  |  nginx 1.22.1  | 

### Tomcat
<a name="release-2024-02-28-al2.platforms.java"></a>


****  

|  平台版本和*解决方案堆栈名称*   |  AMI  |  语言  |  AWS X-Ray  |  应用程序服务器  |  代理服务器  | 
| --- | --- | --- | --- | --- | --- | 
|   **Corretto 17 with Tomcat 10 AL2023版本 5.1.4**   * 64bit Amazon Linux 2023 v5.1.4 running Tomcat 10 Corretto 17 *   |  2023.3.20240219  |  Corretto 17.0.10.8.1  |  3.2.0  |  Tomcat 10.1.19  |  nginx 1.24.0（默认）、Apache 2.4.58  | 
|   **Corretto 17 with Tomcat 9 AL2023版本 5.1.4**   * 64bit Amazon Linux 2023 v5.1.4 running Tomcat 9 Corretto 17 *   |  2023.3.20240219  |  Corretto 17.0.10.8.1  |  3.2.0  |  Tomcat 9.0.83  |  nginx 1.24.0（默认）、Apache 2.4.58  | 
|   **Corretto 11 with Tomcat 9 AL2023版本 5.1.4**   * 64bit Amazon Linux 2023 v5.1.4 running Tomcat 9 Corretto 11 *   |  2023.3.20240219  |  Corretto 11.0.22.7.1  |  3.2.0  |  Tomcat 9.0.83  |  nginx 1.24.0（默认）、Apache 2.4.58  | 
|   **Corretto 8 with Tomcat 9 AL2版本 4.4.1**   * 64bit Amazon Linux 2 v4.4.1 running Tomcat 9 Corretto 8 *   |  2.0.20240223  |  Corretto 8.402.08.1  |  3.2.0  |  Tomcat 9.0.83  |  Nginx 1.22.1（默认）、Apache 2.4.58  | 

### .NET Core on Linux
<a name="release-2024-02-28-al2.platforms.dotnetlinux"></a>


****  

|  平台版本和*解决方案堆栈名称*   |  框架  |  代理服务器  |  AMI  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | 
|   **.NET 6 on AL2023版本 3.0.4**   * 64bit Amazon Linux 2023 v3.0.4 running .NET 6 *   |  .NET 6.0.26，支持 6.0.26  |  nginx 1.24.0  |  2023.3.20240219  |  3.2.0  | 
|   **.NET Core on AL2 版本 2.6.5**   * 64bit Amazon Linux 2 v2.6.5 running .NET Core *   |  .NET 6.0.27，支持 6.0.27  |  nginx 1.22.1  |  2.0.20240223  |  3.2.0  | 

### Node.js
<a name="release-2024-02-28-al2.platforms.nodejs"></a>


****  

|  平台版本和*解决方案堆栈名称*   |  AMI  |  Node.js 版本（npm 版本）  |  代理服务器  |  Git  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | 
|   **Node.js 20 AL2023版本 6.1.1**   * 64bit Amazon Linux 2023 v6.1.1 running Node.js 20 *   |  2023.3.20240219  |  20.10.0 (10.2.3)  默认版本：20.10.0  |  nginx 1.24.0（默认）、Apache 2.4.58  |  2.40.1  |  3.2.0  | 
|   **Node.js 18 AL2023版本 6.1.1**   * 64bit Amazon Linux 2023 v6.1.1 running Node.js 18 *   |  2023.3.20240219  |  18.18.2 (9.8.1)  默认版本：18.18.2  |  nginx 1.24.0（默认）、Apache 2.4.58  |  2.40.1  |  3.2.0  | 
|   **Node.js 18 AL2版本 5.8.11**   * 64bit Amazon Linux 2 v5.8.11 running Node.js 18 *   |  2.0.20240223  |  18.19.1 (10.2.4)、18.19.0 (10.2.3)、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.16.1 (9.5.1)、18.16.0 (9.5.1)、18.15.0 (9.5.0)、18.14.1 (9.5.0)、18.14.1 (9.5.0)、18.14.1 (9.5.1) 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.0 (8.19.1)、18.8.0 (8.18.0)、18.7.0 (8.15.0)、18.6.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.0.0 (8.6.0)  默认版本：18.19.1  |  Nginx 1.22.1（默认）、Apache 2.4.58  |  2.40.1  |  3.2.0  | 

### PHP
<a name="release-2024-02-28-al2.platforms.PHP"></a>


****  

|  平台版本和*解决方案堆栈名称*   |  AMI  |  语言  |  Composer  |  代理服务器  | 
| --- | --- | --- | --- | --- | 
|   ** PHP 8.2 AL2023 版本 4.1.0**   * 64bit Amazon Linux 2023 v4.1.0 running PHP 8.2 *   |  2023.3.20240219  |  PHP 8.2.15  |  2.7.1  |  nginx 1.24.0（默认）、Apache 2.4.58  | 
|   ** PHP 8.1 AL2023 版本 4.1.0**   * 64bit Amazon Linux 2023 v4.1.0 running PHP 8.1 *   |  2023.3.20240219  |  PHP 8.1.27  |  2.7.1  |  nginx 1.24.0（默认）、Apache 2.4.58  | 
|   ** PHP 8.1 AL2 版本 3.6.0**   * 64bit Amazon Linux 2 v3.6.0 running PHP 8.1 *   |  2.0.20240223  |  PHP 8.1.27  |  2.7.1  |  Nginx 1.22.1（默认）、Apache 2.4.58  | 

### Python
<a name="release-2024-02-28-al2.platforms.python"></a>


****  

|  平台版本和*解决方案堆栈名称*   |  AMI  |  语言  |  包管理器  |  包装程序  |  meld3  |  AWS X-Ray  |  代理服务器  | 
| --- | --- | --- | --- | --- | --- | --- | --- | 
|   **Python 3.11 AL2023版本 4.0.9**   * 64bit Amazon Linux 2023 v4.0.9 running Python 3.11 *   |  2023.3.20240219  |  Python 3.11.6  |  pipenv 2023.12.1  |    |    |  3.2.0  |  nginx 1.24.0（默认）、Apache 2.4.58  | 
|   **Python 3.9 AL2023版本 4.0.9**   * 64bit Amazon Linux 2023 v4.0.9 running Python 3.9 *   |  2023.3.20240219  |  Python 3.9.16  |  pipenv 2023.12.1  |    |    |  3.2.0  |  nginx 1.24.0（默认）、Apache 2.4.58  | 
|   ** Python 3.8 AL2 版本 3.5.12**   * 64bit Amazon Linux 2 v3.5.12 running Python 3.8 *   |  2.0.20240223  |  Python 3.8.16  |  pipenv 2023.12.1  |    |    |  3.2.0  |  Nginx 1.22.1（默认）、Apache 2.4.58  | 

### Ruby
<a name="release-2024-02-28-al2.platforms.ruby"></a>


****  

|  平台版本和*解决方案堆栈名称*   |  AMI  |  语言  |  包管理器  |  应用程序服务器  |  AWS X-Ray  |  代理服务器  | 
| --- | --- | --- | --- | --- | --- | --- | 
|   ** Ruby 3.2 AL2023 版本 4.0.4**   * 64bit Amazon Linux 2023 v4.0.4 running Ruby 3.2 *   |  2023.3.20240219  |  Ruby 3.2.2  |  RubyGems 3.4.10  |  Puma 6.4.2  |  3.2.0  |  nginx 1.24.0  | 