

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 版本：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 Core 1.x 及 2.0。如果您想將應用程式遷移到此版本，而您的應用程式使用這些 .NET Core 版本之一，請將您的應用程式更新到 v2 支援的 .NET Core 核心版本。如需支援版本的清單，請參閱 *AWS Elastic Beanstalk 平台*中的[具備 IIS 的 Windows Server 上的 .NET](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>

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

#### 組態基礎概念
<a name="platforms-supported.net.basics"></a>


****  

|  平台版本  |  解決方案堆疊名稱  |  架構  |  代理伺服器  | 
| --- | --- | --- | --- | 
|   **Windows Server 2016 搭配 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 搭配 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 搭配 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 搭配 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 版本  |  適用於 .NET 的 AWS 開發套件  |  EC2Config  |  SSM Agent  |  Web 部署  |  AWS X‑Ray  | 
| --- | --- | --- | --- | --- | --- | --- | 
|   **Windows Server 2016 搭配 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 搭配 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 搭配 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 搭配 IIS 8.5 2.0.1 版**   |  2019.02.13  |  3.15.666  |  4.9.3289  |  2.3.444.0  |  3.6  |  3.0.0  | 