

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

# 中的变化 Windows Server 按操作系统版本划分的 AMI
<a name="winserver-ami-changes"></a>

AWS 提供 Windows Server 2016 年及以后的 AMI。这些 AMI 包括不同Windows操作系统版本之间的 AWSWindows AMIs以下高级更改：

## Windows Server 2025
<a name="win2025-ami-differences"></a>
+ Windows Server2025 个 AMI 默认使用 UEFI 启动模式，但命名的 Windows Server 2025 个 AMI 除外。`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。*有关 UEFI 要求的更多信息，[请参阅 Amazon EC2 用户指南中的 UEFI 启动模式要求](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/launch-instance-boot-mode.html)。*
+ Windows Server2025 AMI 仅支持 Nitro EC2 实例类型。
+ Windows Server默认情况下，2025 个 AM `gp3` I 使用 EBS 卷类型。
+ Windows Server2025 个 AMI 使用该AWS.Tools PowerShell 模块。

## Windows Server 2016-2022
<a name="win2016-2022-ami-differences"></a>
+ 为了适应从.NET Framework 到.NET Core 的更改，Windows Server2016 年 AMI 已弃用 ec2Config 服务，取而代之的是 ec2Launch。ec2Launch 是一个Windows PowerShell 脚本包，用于执行 ec2Config 服务执行的许多任务。有关更多信息，请参阅[使用 EC2Launch 配置Windows实例](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2launch.html)。EC2Launch v2 将在 2022 年及以后取代 EC2Launch。Windows Server有关更多信息，请参阅[使用 EC2Launch v2 配置Windows实例](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2launch-v2.html)。
+ 在早期版本Windows Server的 AMI 上，您可以使用 ec2Config 服务将 EC2 实例加入域并配置与亚马逊的集成。 CloudWatch在 Windows Server 2016 年及更高版本的 AMI 上，您可以使用CloudWatch 代理配置与亚马逊 CloudWatch的集成。有关配置要向其发送日志数据的实例的更多信息 CloudWatch，请参阅使用[ CloudWatch 代理从 Amazon EC2 实例和 On-Premises 服务器收集指标和日志](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)。

**其他区别**

对于从 Windows Server 2016 年及更高版本的 AMI 创建的实例，请注意以下其他重要区别。
+ 默认情况下，EC2Launch 不初始化辅助 EBS 卷。您可以配置 EC2Launch 以便通过排定脚本运行或通过在用户数据中调用 EC2Launch 来自动初始化磁盘。有关使用 EC2Launch 初始化磁盘的步骤，请参阅[配置 EC2Launch](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2launch.html#ec2launch-config)中的“初始化驱动器和盘符映射”。
+ 如果您之前使用本地配置文件 (`AWS.EC2.Windows.CloudWatch.json`) 在实例上启用了 CloudWatch 集成，则可以将该文件配置为在 Windows Server 2016 年及更高版本的 AMI 中创建的实例上使用 SSM 代理。