

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

# 发布：2019 年 2 月 21 日 AWS Elastic Beanstalk Windows Server 平台更新到新的主要版本 2
<a name="release-2019-02-21-windows-v2"></a>

此版本推出了 Windows Server 平台版本 2 (v2) - 一个新的主要版本，它可使平台更接近 Elastic Beanstalk 基于 Linux 的平台。

**发布日期：**2019 年 2 月 21 日

## 更改
<a name="release-2019-02-21-windows-v2.changes"></a>

此版本推出了 Windows Server 平台 v2，这是一个新的主要版本，它通过几种重要方式使 Windows Server 平台更接近 Elastic Beanstalk 基于 Linux 的平台。

Windows Server 平台现在支持：
+ *版本控制* - 每个版本将获取新的版本号，并且在创建和管理环境时可以引用先前的版本（仍可用的版本）。
+ *增强型运行状况*
+ *不可变* 部署和*附加批次滚动* 部署
+ *不可变更新*
+ *托管平台更新*

Windows Server v2 平台版本的默认根卷大小增加了 35 GB（从 30 GB 开始）。

有关完整迁移注意事项，请参阅 *AWS Elastic Beanstalk 开发人员指南*中的[主要版本迁移](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/dotnet-v2migration.html)。

**注意**  
Elastic Beanstalk 不会将使用 8.5 版之前的 IIS 版本的 Windows Server 平台版本更新为新的 v2 平台。这些版本不支持新平台功能。
Windows Server 平台 v2 不支持 .NET 内核 1.x 和 2.0。如果您希望将您的应用程序迁移到 v2，并且您的应用程序使用其中一个 .NET 内核版本，请将您的应用程序更新到 v2 支持的 .NET 内核版本。有关受支持版本的列表，请参阅中的 *AWS Elastic Beanstalk 平台*中的 [将 Windows Server 上的 .NET 与 IIS 结合使用](https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-supported.html#platforms-supported.net)。
Windows Server v2 中新增的部署和更新功能依赖于增强型运行状况。当您将环境迁移到 v2 时，增强型运行状况处于禁用状态。启用它以使用这些功能。有关详细信息，请参阅《AWS Elastic Beanstalk 开发人员指南》**中的[启用 AWS Elastic Beanstalk 增强型运行状况报告](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/health-enhanced-enable.html)。

要获取 Windows Server 平台 v2 的 Elastic Beanstalk 命令行界面 (EB CLI) 中的增强型运行状况报告，您需要最新的 EB CLI 版本 - 3.14.6 或更高版本。以下是其获取方式：
+ 安装 eb CLI： `pip install awsebcli`（有关详细信息，请参阅[安装 EB CLI](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-install.html)）
+ 升级：`pip install awsebcli --upgrade`
+ 验证 EB CLI 版本：`eb --version`

## 新平台版本
<a name="release-2019-02-21-windows-v2.platforms"></a>

### 使用 IIS 的 Windows Server 上的 .NET
<a name="release-2019-02-21-windows-v2.platforms.net"></a>

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


****  

|  平台版本  |  解决方案堆栈名称  |  框架  |  代理服务器  | 
| --- | --- | --- | --- | 
|   **Windows Server 2016 with IIS 10.0 版本 2.0.1**   |   * 64bit Windows Server 2016 v2.0.1 running IIS 10.0 *   |  .NET Core 2.2.2，支持 2.2.2、2.1.8 .NET Framework 4.7.2，支持 4.x、2.0、1.x  |  IIS 10.0  | 
|   **Windows Server Core 2016 with IIS 10.0 版本 2.0.1**   |   * 64bit Windows Server Core 2016 v2.0.1 running IIS 10.0 *   |  .NET Core 2.2.2，支持 2.2.2、2.1.8 .NET Framework 4.7.2，支持 4.x、2.0、1.x  |  IIS 10.0  | 
|   **Windows Server 2012 R2 with IIS 8.5 版本 2.0.1**   |   * 64bit Windows Server 2012 R2 v2.0.1 running IIS 8.5 *   |  .NET Core 2.2.2，支持 2.2.2、2.1.8 .NET Framework 4.7.2，支持 4.x、2.0、1.x  |  IIS 8.5  | 
|   **Windows Server 2012 R2 Server Core with IIS 8.5 版本 2.0.1**   |   * 64bit Windows Server Core 2012 R2 v2.0.1 running IIS 8.5 *   |  .NET Core 2.2.2，支持 2.2.2、2.1.8 .NET Framework 4.7.2，支持 4.x、2.0、1.x  |  IIS 8.5  | 

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


****  

|  平台版本  |  AMI 版本  |  AWS SDK for .NET  |  EC2Config  |  SSM Agent  |  Web 部署  |  AWS X-Ray  | 
| --- | --- | --- | --- | --- | --- | --- | 
|   **Windows Server 2016 with IIS 10.0 版本 2.0.1**   |  2019.02.13  |  3.15.666  |   * [仅限 SSM](https://docs.aws.amazon.com/systems-manager/latest/userguide/) *   |  2.3.444.0  |  3.6  |  3.0.0  | 
|   **Windows Server Core 2016 with IIS 10.0 版本 2.0.1**   |  2019.02.13  |  3.15.666  |   * [仅限 SSM](https://docs.aws.amazon.com/systems-manager/latest/userguide/) *   |  2.3.444.0  |  3.6  |  3.0.0  | 
|   **Windows Server 2012 R2 with IIS 8.5 版本 2.0.1**   |  2019.02.13  |  3.15.666  |  4.9.3289  |  2.3.444.0  |  3.6  |  3.0.0  | 
|   **Windows Server 2012 R2 Server Core with IIS 8.5 版本 2.0.1**   |  2019.02.13  |  3.15.666  |  4.9.3289  |  2.3.444.0  |  3.6  |  3.0.0  | 