

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

# Elastic Beanstalk 支持的平台
<a name="platforms-supported"></a>

Amazon Elastic Beanstalk 提供托管平台，支持运行为特定编程语言、框架和 Web 容器开发的 Web 应用程序。Elastic Beanstalk 为每种平台提供一个或多个平台版本。在您创建环境和选择平台时，Elastic Beanstalk 会预置应用程序所需的资源，包括一个或多个 Amazon Elastic Compute Cloud (Amazon EC2) 实例。在 Amazon EC2 实例上运行的软件堆栈取决于您选择的平台版本。

有关平台的更多信息，请参阅 *Amazon Elastic Beanstalk 开发人员指南*中的 [Amazon Elastic Beanstalk 平台](https://docs.amazonaws.cn/elasticbeanstalk/latest/dg/concepts-all-platforms.html)。有关最新版本的详细发布说明，请参阅 [Amazon Elastic Beanstalk 发布说明](https://docs.amazonaws.cn/elasticbeanstalk/latest/relnotes/)。

以下各节提供了有关当前所有平台版本的信息。有关历史平台版本的列表以及这些版本曾作为最新版本的日期范围，请参阅[平台历史记录](platform-history.md)。

Elastic Beanstalk 已计划停用一些平台版本，这样做是因为这些平台版本的一些组件的生命周期即将结束 (EOL)。这些平台版本将仍然可用，直到其即将停用的组件到达公布的停用日期。有关组件停用日期的列表，请参阅《*Amazon Elastic Beanstalk 开发人员指南*》中的[Amazon Elastic Beanstalk 平台时间表](https://docs.amazonaws.cn/elasticbeanstalk/latest/dg/platforms-schedule.html)。有关计划停用的平台版本的列表，请参阅[计划停用的 Elastic Beanstalk 平台版本](platforms-retiring.md)。

**Topics**
+ [Go](#platforms-supported.go)
+ [Java SE](#platforms-supported.javase)
+ [Tomcat](#platforms-supported.java)
+ [.NET Core on Linux](#platforms-supported.dotnetlinux)
+ [Windows Server 上的 .NET](#platforms-supported.net)
+ [Node.js](#platforms-supported.nodejs)
+ [PHP](#platforms-supported.PHP)
+ [Python](#platforms-supported.python)
+ [Ruby](#platforms-supported.ruby)
+ [计划停用的 Elastic Beanstalk 平台版本](platforms-retiring.md)
+ [公开测试版中的 Elastic Beanstalk 平台版本](platforms-beta.md)

## Go
<a name="platforms-supported.go"></a>

Elastic Beanstalk 支持以下 Go 平台版本。


****  

|  平台版本和*解决方案堆栈名称*   |  AMI  |  语言  |  Amazon X-Ray  |  代理服务器  | 
| --- | --- | --- | --- | --- | 
|  **Go 1 AL2023版本 4.8.1** <br /> * 64bit Amazon Linux 2023 v4.8.1 running Go 1 *  | 2023.11.20260406 | Go 1.25.8 | 3.6.2 | nginx 1.28.2 | 
|  **Go 1 AL2版本 3.18.0** <br /> * 64bit Amazon Linux 2 v3.18.0 running Go 1 *  | 2.0.20260406 | Go 1.26.2 | 3.6.2 | nginx 1.28.2 | 

 有关计划停用的平台版本（如[平台支持政策](https://docs.amazonaws.cn/elasticbeanstalk/latest/dg/platforms-support-policy.html)中所发布的）的信息，请参阅*即将停用平台版本*页面上的[Go](platforms-retiring.md#platforms-retiring.go)。有关早期平台版本的信息，请参阅 [Go 平台历史记录](platform-history-go.md)。

## Java SE
<a name="platforms-supported.javase"></a>

Elastic Beanstalk 支持以下 Java SE 平台版本。


****  

|  平台版本和*解决方案堆栈名称*   |  AMI  |  语言  |  工具  |  Amazon X-Ray  |  代理服务器  | 
| --- | --- | --- | --- | --- | --- | 
|  **Corretto 25 AL2023版本 4.11.1** <br /> * 64bit Amazon Linux 2023 v4.11.1 running Corretto 25 *  | 2023.11.20260406 | Corretto 25.0.2.10.1 | Ant 1.10.16、Gradle 9.4.1、Maven 3.9.14 | 3.6.2 | nginx 1.28.2 | 
|  **Corretto 21 AL2023版本 4.11.1** <br /> * 64bit Amazon Linux 2023 v4.11.1 running Corretto 21 *  | 2023.11.20260406 | Corretto 21.0.10.7.1 | Ant 1.10.16、Gradle 9.4.1、Maven 3.9.14 | 3.6.2 | nginx 1.28.2 | 
|  **Corretto 17 AL2023版本 4.11.1** <br /> * 64bit Amazon Linux 2023 v4.11.1 running Corretto 17 *  | 2023.11.20260406 | Corretto 17.0.18.9.1 | Ant 1.10.16、Gradle 9.4.1、Maven 3.9.14 | 3.6.2 | nginx 1.28.2 | 
|  **Corretto 11 AL2023版本 4.11.1** <br /> * 64bit Amazon Linux 2023 v4.11.1 running Corretto 11 *  | 2023.11.20260406 | Corretto 11.0.30.7.1 | Ant 1.10.16、Gradle 8.14.4、Maven 3.9.14 | 3.6.2 | nginx 1.28.2 | 
|  **Corretto 8 AL2023版本 4.11.1** <br /> * 64bit Amazon Linux 2023 v4.11.1 running Corretto 8 *  | 2023.11.20260406 | Corretto 8.482.08.1 | Ant 1.10.16、Gradle 8.14.4、Maven 3.9.14 | 3.6.2 | nginx 1.28.2 | 
|  **Corretto 17版本 3.13.0** <br /> * 64bit Amazon Linux 2 v3.13.0 running Corretto 17 *  | 2.0.20260406 | Corretto 17.0.18.9.1 | Ant 1.10.16、Gradle 8.14.4、Maven 3.9.14 | 3.6.2 | nginx 1.28.2 | 
|  **Corretto 11版本 3.13.0** <br /> * 64bit Amazon Linux 2 v3.13.0 running Corretto 11 *  | 2.0.20260406 | Corretto 11.0.30.7.1 | Ant 1.10.16、Gradle 8.14.4、Maven 3.9.14 | 3.6.2 | nginx 1.28.2 | 
|  **Corretto 8版本 3.13.0** <br /> * 64bit Amazon Linux 2 v3.13.0 running Corretto 8 *  | 2.0.20260406 | Corretto 8.482.08.1 | Ant 1.10.16、Gradle 8.14.4、Maven 3.9.14 | 3.6.2 | nginx 1.28.2 | 

 有关计划停用的平台版本（如[平台支持政策](https://docs.amazonaws.cn/elasticbeanstalk/latest/dg/platforms-support-policy.html)中所发布的）的信息，请参阅*即将停用平台版本*页面上的[Java SE](platforms-retiring.md#platforms-retiring.javase)。有关早期平台版本的信息，请参阅 [Java SE 平台历史记录](platform-history-javase.md)。

## Tomcat
<a name="platforms-supported.java"></a>

Elastic Beanstalk 支持以下 Tomcat 平台版本。


****  

|  平台版本和*解决方案堆栈名称*   |  AMI  |  语言  |  Amazon X-Ray  |  应用程序服务器  |  代理服务器  | 
| --- | --- | --- | --- | --- | --- | 
|  **Corretto 25 with Tomcat 11 AL2023版本 5.13.1** <br /> * 64bit Amazon Linux 2023 v5.13.1 running Tomcat 11 Corretto 25 *  | 2023.11.20260406 | Corretto 25.0.2.10.1 | 3.6.2 | Tomcat 11.0.21 | nginx 1.28.2（默认）、Apache 2.4.66 | 
|  **Corretto 21 with Tomcat 11 AL2023版本 5.13.1** <br /> * 64bit Amazon Linux 2023 v5.13.1 running Tomcat 11 Corretto 21 *  | 2023.11.20260406 | Corretto 21.0.10.7.1 | 3.6.2 | Tomcat 11.0.21 | nginx 1.28.2（默认）、Apache 2.4.66 | 
|  **Corretto 17 with Tomcat 11 AL2023版本 5.13.1** <br /> * 64bit Amazon Linux 2023 v5.13.1 running Tomcat 11 Corretto 17 *  | 2023.11.20260406 | Corretto 17.0.18.9.1 | 3.6.2 | Tomcat 11.0.21 | nginx 1.28.2（默认）、Apache 2.4.66 | 
|  **Corretto 21 with Tomcat 10 AL2023版本 5.13.1** <br /> * 64bit Amazon Linux 2023 v5.13.1 running Tomcat 10 Corretto 21 *  | 2023.11.20260406 | Corretto 21.0.10.7.1 | 3.6.2 | Tomcat 10.1.54 | nginx 1.28.2（默认）、Apache 2.4.66 | 
|  **Corretto 17 with Tomcat 10 AL2023版本 5.13.1** <br /> * 64bit Amazon Linux 2023 v5.13.1 running Tomcat 10 Corretto 17 *  | 2023.11.20260406 | Corretto 17.0.18.9.1 | 3.6.2 | Tomcat 10.1.54 | nginx 1.28.2（默认）、Apache 2.4.66 | 
|  **Corretto 17 with Tomcat 9 AL2023版本 5.13.1** <br /> * 64bit Amazon Linux 2023 v5.13.1 running Tomcat 9 Corretto 17 *  | 2023.11.20260406 | Corretto 17.0.18.9.1 | 3.6.2 | Tomcat 9.0.115 | nginx 1.28.2（默认）、Apache 2.4.66 | 
|  **Corretto 11 with Tomcat 9 AL2023版本 5.13.1** <br /> * 64bit Amazon Linux 2023 v5.13.1 running Tomcat 9 Corretto 11 *  | 2023.11.20260406 | Corretto 11.0.30.7.1 | 3.6.2 | Tomcat 9.0.115 | nginx 1.28.2（默认）、Apache 2.4.66 | 
|  **Corretto 8 with Tomcat 9 AL2023版本 5.13.1** <br /> * 64bit Amazon Linux 2023 v5.13.1 running Tomcat 9 Corretto 8 *  | 2023.11.20260406 | Corretto 8.482.08.1 | 3.6.2 | Tomcat 9.0.117 | nginx 1.28.2（默认）、Apache 2.4.66 | 
|  ** Corretto 11 with Tomcat 9 AL2 版本 4.13.0** <br /> * 64bit Amazon Linux 2 v4.13.0 running Tomcat 9 Corretto 11 *  | 2.0.20260406 | Corretto 11.0.30.7.1 | 3.6.2 | Tomcat 9.0.115 | nginx 1.28.2（默认）、Apache 2.4.66 | 
|  ** Corretto 8 with Tomcat 9 AL2 版本 4.13.0** <br /> * 64bit Amazon Linux 2 v4.13.0 running Tomcat 9 Corretto 8 *  | 2.0.20260406 | Corretto 8.482.08.1 | 3.6.2 | Tomcat 9.0.115 | nginx 1.28.2（默认）、Apache 2.4.66 | 

 有关计划停用的平台版本（如[平台支持政策](https://docs.amazonaws.cn/elasticbeanstalk/latest/dg/platforms-support-policy.html)中所发布的）的信息，请参阅*即将停用平台版本*页面上的[Tomcat](platforms-retiring.md#platforms-retiring.java)。有关早期平台版本的信息，请参阅 [Tomcat 平台历史记录](platform-history-java.md)。

## .NET Core on Linux
<a name="platforms-supported.dotnetlinux"></a>

Elastic Beanstalk 支持以下 .NET Core on Linux 平台版本。


****  

|  平台版本和*解决方案堆栈名称*   |  框架  |  代理服务器  |  AMI  |  Amazon X-Ray  | 
| --- | --- | --- | --- | --- | 
|  **.NET 10 on AL2023版本 3.10.1** <br /> * 64bit Amazon Linux 2023 v3.10.1 running .NET 10 *  | .NET 10.0.5，支持 10.0.5 | nginx 1.28.2 | 2023.11.20260406 | 3.6.2 | 
|  **.NET 9 on AL2023版本 3.10.1** <br /> * 64bit Amazon Linux 2023 v3.10.1 running .NET 9 *  | .NET 9.0.14，支持 9.0.14 | nginx 1.28.2 | 2023.11.20260406 | 3.6.2 | 
|  **.NET 8 on AL2023版本 3.10.1** <br /> * 64bit Amazon Linux 2023 v3.10.1 running .NET 8 *  | .NET 8.0.25，支持 8.0.25 | nginx 1.28.2 | 2023.11.20260406 | 3.6.2 | 
|  ** .NET Core on AL2 版本 2.15.0** <br /> * 64bit Amazon Linux 2 v2.15.0 running .NET Core *  | .NET 8.0.25，支持 8.0.25 | nginx 1.28.2 | 2.0.20260406 | 3.6.2 | 

 有关计划停用的平台版本（如[平台支持政策](https://docs.amazonaws.cn/elasticbeanstalk/latest/dg/platforms-support-policy.html)中所发布的）的信息，请参阅*即将停用平台版本*页面上的[.NET Core on Linux](platforms-retiring.md#platforms-retiring.dotnetlinux)。有关早期平台版本的信息，请参阅 [.NET Core on Linux 平台历史记录](platform-history-dotnetlinux.md)。

## Windows Server 上的 .NET
<a name="platforms-supported.net"></a>

您可以使用 [Amazon Toolkit for Visual Studio](https://www.amazonaws.cn/visualstudio/) 在几分钟内开始使用。此工具包包含 Amazon 库、项目模板、代码示例和文档。 适用于 .NET 的 Amazon SDK 支持使用 .NET Framework 2.0 或更高版本开发应用程序。

**注意**  
此平台不支持以下 Elastic Beanstalk 功能：  
工作线程环境。有关详细信息，请参阅 *Amazon Elastic Beanstalk 开发人员指南*中的 [Amazon Elastic Beanstalk 工件环境](https://docs.amazonaws.cn/elasticbeanstalk/latest/dg/using-features-managing-env-tiers.html)。

*要了解如何开始使用部署.NET 应用程序 Amazon Toolkit for Visual Studio，请参阅开发者指南中的使用在.NET [中创建和部署 Amazon Toolkit for Visual Studio Elastic Beanstalk 应用程序](https://docs.amazonaws.cn/elasticbeanstalk/latest/dg/create_deploy_NET.html)。Amazon Elastic Beanstalk *

有关 Microsoft 最新安全更新的信息，请参阅[安全和 TechCenter](https://portal.msrc.microsoft.com/en-us/)[安全公告和公告](https://technet.microsoft.com/en-us/library/security/)。

 有关用于 Elastic Beanstalk 的早期 .NET on Windows Server 平台版本的信息，请参阅 [Windows Server 上的 .NET 平台历史记录](platform-history-dotnet.md)。

Elastic Beanstalk 支持以下 .NET on Windows Server 平台版本。

### 基本配置
<a name="platforms-supported.net.basics"></a>


****  

|  平台版本  |  解决方案堆栈名称  |  框架  |  代理服务器  | 
| --- | --- | --- | --- | 
|  ** Windows Server 2025 with IIS 10.0 版本 2.23.0**  |  * 64bit Windows Server 2025 v2.23.0 running IIS 10.0 *  | .NET 10.0.7，支持 10.0.7、9.0.15、8.0.26<br />.NET Framework 4.8.1，支持 4.x、2.0 | IIS 10.0 | 
|  ** Windows Server Core 2025 with IIS 10.0 版本 2.23.0**  |  * 64bit Windows Server Core 2025 v2.23.0 running IIS 10.0 *  | .NET 10.0.7，支持 10.0.7、9.0.15、8.0.26<br />.NET Framework 4.8.1，支持 4.x、2.0 | IIS 10.0 | 
|  ** Windows Server 2022 with IIS 10.0 版本 2.23.0**  |  * 64bit Windows Server 2022 v2.23.0 running IIS 10.0 *  | .NET 10.0.7，支持 10.0.7、9.0.15、8.0.26<br />.NET Framework 4.8.1，支持 4.x、2.0 | IIS 10.0 | 
|  ** Windows Server Core 2022 with IIS 10.0 版本 2.23.0**  |  * 64bit Windows Server Core 2022 v2.23.0 running IIS 10.0 *  | .NET 10.0.7，支持 10.0.7、9.0.15、8.0.26<br />.NET Framework 4.8.1，支持 4.x、2.0 | IIS 10.0 | 
|  ** Windows Server 2019 with IIS 10.0 版本 2.23.0**  |  * 64bit Windows Server 2019 v2.23.0 running IIS 10.0 *  | .NET 10.0.7，支持 10.0.7、9.0.15、8.0.26<br />.NET 框架 4.8，支持 4.x、2.0 | IIS 10.0 | 
|  ** Windows Server Core 2019 with IIS 10.0 版本 2.23.0**  |  * 64bit Windows Server Core 2019 v2.23.0 running IIS 10.0 *  | .NET 10.0.7，支持 10.0.7、9.0.15、8.0.26<br />.NET 框架 4.8，支持 4.x、2.0 | IIS 10.0 | 
|  ** Windows Server 2016 with IIS 10.0 版本 2.23.0**  |  * 64bit Windows Server 2016 v2.23.0 running IIS 10.0 *  | .NET 10.0.7，支持 10.0.7、9.0.15、8.0.26<br />.NET 框架 4.8，支持 4.x、2.0 | IIS 10.0 | 
|  ** Windows Server Core 2016 with IIS 10.0 版本 2.23.0**  |  * 64bit Windows Server Core 2016 v2.23.0 running IIS 10.0 *  | .NET 10.0.7，支持 10.0.7、9.0.15、8.0.26<br />.NET 框架 4.8，支持 4.x、2.0 | IIS 10.0 | 

### 更多详情
<a name="platforms-supported.net.details"></a>


****  

|  平台版本  |  AMI 版本  |  适用于 .NET 的 Amazon SDK  |  EC2启动  |  SSM Agent  |  Web 部署  |  Amazon X-Ray  | 
| --- | --- | --- | --- | --- | --- | --- | 
|  ** Windows Server 2025 with IIS 10.0 版本 2.23.0**  | 2026.04.15 | 3.7.1251.0 | 2.4.0.0 | 3.3.4121.0 | 4.0 | 3.6.2 | 
|  ** Windows Server Core 2025 with IIS 10.0 版本 2.23.0**  | 2026.04.15 | 3.7.1251.0 | 2.4.0.0 | 3.3.4121.0 | 4.0 | 3.6.2 | 
|  ** Windows Server 2022 with IIS 10.0 版本 2.23.0**  | 2026.04.15 | 3.7.1251.0 | 2.4.0.0 | 3.3.4121.0 | 4.0 | 3.6.2 | 
|  ** Windows Server Core 2022 with IIS 10.0 版本 2.23.0**  | 2026.04.15 | 3.7.1251.0 | 2.4.0.0 | 3.3.4121.0 | 4.0 | 3.6.2 | 
|  ** Windows Server 2019 with IIS 10.0 版本 2.23.0**  | 2026.04.15 | 3.7.1251.0 | 2.4.0.0 | 3.3.4121.0 | 4.0 | 3.6.2 | 
|  ** Windows Server Core 2019 with IIS 10.0 版本 2.23.0**  | 2026.04.15 | 3.7.1251.0 | 2.4.0.0 | 3.3.4121.0 | 4.0 | 3.6.2 | 
|  ** Windows Server 2016 with IIS 10.0 版本 2.23.0**  | 2026.04.15 | 3.7.1251.0 | 2.4.0.0 | 3.3.4121.0 | 4.0 | 3.6.2 | 
|  ** Windows Server Core 2016 with IIS 10.0 版本 2.23.0**  | 2026.04.15 | 3.7.1251.0 | 2.4.0.0 | 3.3.4121.0 | 4.0 | 3.6.2 | 

## Node.js
<a name="platforms-supported.nodejs"></a>

亚马逊 Linux 2 上的每个 Node.js 平台版本都支持多个 Node.js 语言版本。仅预安装了默认的 Node.js 版本。下表列出了有效的 Node.js 版本以及原定设置版本。从亚马逊 Linux 2023 开始，每个平台版本上只有一个 Node.js 版本可用。每个 Node.js 版本都包含相应的 npm (Node.js 程序包管理器) 版本。该表在括号中列出了 npm 版本。

Elastic Beanstalk 支持以下 Node.js 平台版本。


****  

|  平台版本和*解决方案堆栈名称*   |  AMI  |  Node.js 版本（npm 版本）  |  代理服务器  |  Git  |  Amazon X-Ray  | 
| --- | --- | --- | --- | --- | --- | 
|  **Node.js 24 AL2023版本 6.10.1** <br /> * 64bit Amazon Linux 2023 v6.10.1 running Node.js 24 *  | 2023.11.20260406 | 24.14.1 (11.11.0)<br /> 默认版本：v24.14.1 | nginx 1.28.2（默认）、Apache 2.4.66 | 2.50.1 | 3.6.2 | 
|  **Node.js 22 AL2023版本 6.10.1** <br /> * 64bit Amazon Linux 2023 v6.10.1 running Node.js 22 *  | 2023.11.20260406 | 22.22.2 (10.9.7)<br /> 默认版本：v22.22.2 | nginx 1.28.2（默认）、Apache 2.4.66 | 2.50.1 | 3.6.2 | 
|  **Node.js 20 AL2023版本 6.10.1** <br /> * 64bit Amazon Linux 2023 v6.10.1 running Node.js 20 *  | 2023.11.20260406 | 20.20.1 (10.8.2)<br /> 默认版本：20.20.1 | nginx 1.28.2（默认）、Apache 2.4.66 | 2.50.1 | 3.6.2 | 

 有关计划停用的平台版本（如[平台支持政策](https://docs.amazonaws.cn/elasticbeanstalk/latest/dg/platforms-support-policy.html)中所发布的）的信息，请参阅*即将停用平台版本*页面上的[Node.js](platforms-retiring.md#platforms-retiring.nodejs)。有关早期平台版本的信息，请参阅 [Node.js 平台历史记录](platform-history-nodejs.md)。

**注意**  
如果平台版本已不再支持您正在使用的 Node.js 版本，则您必须先更改或删除相应的版本设置再进行[平台更新](https://docs.amazonaws.cn/elasticbeanstalk/latest/dg/using-features.platform.upgrade.html)。当在 Node.js 版本中识别到安全漏洞，或者该版本已停用时，可能会发生这种情况。  
发生此情况时，尝试更新到不支持所配置的 Node.js 版本的新平台版本会失败。要消除创建新环境的需求，请执行以下操作：  
 *Amazon Linux 2* - 将 `package.json` 中的 Node.js 版本设置更改为旧平台版本和新平台版本都支持的 Node.js 版本，或删除设置，然后部署新的源代码包。然后再执行平台更新。
 *Amazon Linux AMI* - 将 `NodeVersion` 配置选项更改为旧平台版本和新平台版本都支持的版本，或[删除选项设置](https://docs.amazonaws.cn/elasticbeanstalk/latest/dg/environment-configuration-methods-after.html)，然后执行平台更新。

## PHP
<a name="platforms-supported.PHP"></a>

Elastic Beanstalk 支持以下 PHP 平台版本。


****  

|  平台版本和*解决方案堆栈名称*   |  AMI  |  语言  |  包管理器  |  代理服务器  | 
| --- | --- | --- | --- | --- | 
|  **PHP 8.5 AL2023版本 4.12.1** <br /> * 64bit Amazon Linux 2023 v4.12.1 running PHP 8.5 *  | 2023.11.20260406 | PHP 8.5.4 | 作曲家 2.9.5，PIE 1.4.0 | nginx 1.28.2（默认）、Apache 2.4.66 | 
|  **PHP 8.4 AL2023版本 4.12.1** <br /> * 64bit Amazon Linux 2023 v4.12.1 running PHP 8.4 *  | 2023.11.20260406 | PHP 8.4.19 | 作曲家 2.9.5，PIE 1.4.0 | nginx 1.28.2（默认）、Apache 2.4.66 | 
|  **PHP 8.3 AL2023版本 4.12.1** <br /> * 64bit Amazon Linux 2023 v4.12.1 running PHP 8.3 *  | 2023.11.20260406 | PHP 8.3.30 | 作曲家 2.9.5，PIE 1.4.0 | nginx 1.28.2（默认）、Apache 2.4.66 | 
|  **PHP 8.2 AL2023版本 4.12.1** <br /> * 64bit Amazon Linux 2023 v4.12.1 running PHP 8.2 *  | 2023.11.20260406 | PHP 8.2.30 | 作曲家 2.9.5，PIE 1.4.0 | nginx 1.28.2（默认）、Apache 2.4.66 | 

 有关早期平台版本的信息，请参阅 [PHP 平台历史记录](platform-history-php.md)。

## Python
<a name="platforms-supported.python"></a>

Elastic Beanstalk 支持以下 Python 平台版本。


****  

|  平台版本和*解决方案堆栈名称*   |  AMI  |  语言  |  包管理器  |  Amazon X-Ray  |  代理服务器  | 
| --- | --- | --- | --- | --- | --- | 
|  **Python 3.14 AL2023版本 4.12.1** <br /> * 64bit Amazon Linux 2023 v4.12.1 running Python 3.14 *  | 2023.11.20260406 | Python 3.14.4 | pip 26.0.1，pipenv 2026.5.2 | 3.6.2 | nginx 1.28.2（默认）、Apache 2.4.66 | 
|  **Python 3.13 AL2023版本 4.12.1** <br /> * 64bit Amazon Linux 2023 v4.12.1 running Python 3.13 *  | 2023.11.20260406 | Python 3.13.13 | pip 26.0.1，pipenv 2026.5.2 | 3.6.2 | nginx 1.28.2（默认）、Apache 2.4.66 | 
|  **Python 3.12 AL2023版本 4.12.1** <br /> * 64bit Amazon Linux 2023 v4.12.1 running Python 3.12 *  | 2023.11.20260406 | Python 3.12.13 | pip 26.0.1，pipenv 2026.5.2 | 3.6.2 | nginx 1.28.2（默认）、Apache 2.4.66 | 
|  **Python 3.11 AL2023版本 4.12.1** <br /> * 64bit Amazon Linux 2023 v4.12.1 running Python 3.11 *  | 2023.11.20260406 | Python 3.11.14 | pip 26.0.1，pipenv 2026.5.2 | 3.6.2 | nginx 1.28.2（默认）、Apache 2.4.66 | 
|  **Python 3.9 AL2023版本 4.12.1** <br /> * 64bit Amazon Linux 2023 v4.12.1 running Python 3.9 *  | 2023.11.20260406 | Python 3.9.25 | pip 26.0.1，pipenv 2025.0.4 | 3.6.2 | nginx 1.28.2（默认）、Apache 2.4.66 | 

 有关计划停用的平台版本（如[平台支持政策](https://docs.amazonaws.cn/elasticbeanstalk/latest/dg/platforms-support-policy.html)中所发布的）的信息，请参阅*即将停用平台版本*页面上的[Python](platforms-retiring.md#platforms-retiring.python)。有关早期平台版本的信息，请参阅 [Python 平台历史记录](platform-history-python.md)。

## Ruby
<a name="platforms-supported.ruby"></a>

Elastic Beanstalk 支持以下 Ruby 平台版本。


****  

|  平台版本和*解决方案堆栈名称*   |  AMI  |  语言  |  包管理器  |  应用程序服务器  |  Amazon X-Ray  |  代理服务器  | 
| --- | --- | --- | --- | --- | --- | --- | 
|  **Ruby 4.0 AL2023版本 4.12.1** <br /> * 64bit Amazon Linux 2023 v4.12.1 running Ruby 4.0 *  | 2023.11.20260406 | Ruby 4.0.2-p0 | RubyGems 4.0.6 | Puma 7.2.0 | 3.6.2 | nginx 1.28.2 | 
|  **Ruby 3.4 AL2023版本 4.12.1** <br /> * 64bit Amazon Linux 2023 v4.12.1 running Ruby 3.4 *  | 2023.11.20260406 | Ruby 3.4.9-p82 | RubyGems 3.6.9 | Puma 7.2.0 | 3.6.2 | nginx 1.28.2 | 
|  **Ruby 3.3 AL2023版本 4.12.1** <br /> * 64bit Amazon Linux 2023 v4.12.1 running Ruby 3.3 *  | 2023.11.20260406 | Ruby 3.11-p205 | RubyGems 3.5.22 | Puma 7.2.0 | 3.6.2 | nginx 1.28.2 | 
|  **Ruby 3.2 AL2023版本 4.12.1** <br /> * 64bit Amazon Linux 2023 v4.12.1 running Ruby 3.2 *  | 2023.11.20260406 | Ruby 3.2.8 | RubyGems 3.4.19 | Puma 7.2.0 | 3.6.2 | nginx 1.28.2 | 

 有关计划停用的平台版本（如[平台支持政策](https://docs.amazonaws.cn/elasticbeanstalk/latest/dg/platforms-support-policy.html)中所发布的）的信息，请参阅*即将停用平台版本*页面上的[Ruby](platforms-retiring.md#platforms-retiring.ruby)。有关早期平台版本的信息，请参阅 [Ruby 平台历史记录](platform-history-ruby.md)。