

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

# 依作業系統版本分類的 Windows Server AMI 變更 AMIs
<a name="winserver-ami-changes"></a>

AWS 提供 Windows Server 2016 年及更新版本的 AMIs。這些 AMIs包含下列針對不同Windows作業系統版本的 之間的 AWS Windows AMIs高階變更：

## Windows Server 2025 年
<a name="win2025-ami-differences"></a>
+ Windows Server 2025 AMIs 預設使用 UEFI 開機模式，但名為 的 Windows Server 2025 AMIs 除外`BIOS-Windows_Server-2025-English-Full-Base`。
**注意**  
EC2 金屬執行個體大小和某些 EC2 執行個體類型不支援 的 UEFI 開機模式Windows Server。若要在這些執行個體上啟動 Windows Server 2025，您必須使用 AWS 受管 `BIOS-Windows_Server-2025-English-Full-Base` AMI 或基於該映像的 AMI。如需 Amazon *Amazon EC2 使用者指南*中 UEFI 要求、[UEFI 開機模式要求](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/launch-instance-boot-mode.html)的詳細資訊。
+ Windows Server 2025 AMIs僅支援 Nitro EC2 執行個體類型。
+ Windows Server 2025 AMIs 預設使用 `gp3` EBS 磁碟區類型。
+ Windows Server 2025 AMIs使用 AWS.Tools PowerShell 模組。

## Windows Server 2016-2022
<a name="win2016-2022-ami-differences"></a>
+ 為了適應從 .NET Framework 到 .NET Core 的變更，已在 2016 AMI 上取代 EC2Config Windows Server 服務，並以 EC2Launch 取代。 AMIs EC2Launch 是 Windows PowerShell 指令碼的套件，可執行 EC2Config 服務執行的許多任務。如需詳細資訊，請參閱[使用 EC2Launch 設定Windows執行個體](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2launch.html)。EC2Launch v2 取代 Windows Server 2022 年及更新版本的 EC2Launch。如需詳細資訊，請參閱[使用 EC2Launch v2 設定Windows執行個體](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2launch-v2.html)。
+ 在舊版 Windows Server AMIs 上，您可以使用 EC2Config 服務將 EC2 執行個體加入網域，並設定與 Amazon CloudWatch 的整合。在 Windows Server 2016 年和更新版本的 AMIs 上，您可以使用 CloudWatch 代理程式來設定與 Amazon CloudWatch 的整合。如需有關設定執行個體以將日誌傳送至 CloudWatch 的詳細資訊，請參閱[使用 CloudWatch 代理程式從 Amazon EC2 執行個體和現場部署伺服器收集指標和日誌](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Install-CloudWatch-Agent.html)。如需將 EC2 執行個體加入網域的相關資訊，請參閱 *AWS Systems Manager 使用者指南*中的[使用 `AWS-JoinDirectoryServiceDomain` JSON 文件將執行個體加入網域](https://docs.aws.amazon.com/systems-manager/latest/userguide/walkthrough-powershell.html#walkthrough-powershell-domain-join)。

**其他差異**

對於從 2016 年及更新版本 AMI Windows Server 建立的執行個體，請注意下列其他重要差異。 AMIs
+ 根據預設，EC2Launch 不會初始化輔助 EBS 磁碟區。您可排程指令碼執行或在使用者資料中呼叫 EC2Launch，設定 EC2Launch 自動初始化磁碟。如需使用 EC2Launch 初始化磁碟的程序，請參閱[設定 EC2Launch](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2launch.html#ec2launch-config) 中的〈初始化磁碟機和磁碟機代號映射〉。
+ 如果您之前使用本機組態檔案 (`AWS.EC2.Windows.CloudWatch.json`) 在執行個體上啟用 CloudWatch 整合，則可以將檔案設定為在 2016 年及更新版本 AMIs Windows Server 建立的執行個體上使用 SSM 代理程式。