如何使用 Systems Manager 将新的 EC2 Windows 实例加入到 Directory Service 域?
2 分钟阅读
0
我想使用 AWS Systems Manager 将新的 Amazon Elastic Compute Cloud (Amazon EC2) 实例加入到 AWS Directory Service 域。
简短描述
使用 Systems Manager 在启动时自动将新实例加入到域中。您可以使用 AWS Directory Service for Microsoft Active Directory 或 Simple AD 在 Directory Service 上托管域。您也可以使用 AD Connector 目录网关通过本地网络查找域。
注意: 如果您将 VPC 端点用于 Systems Manager,则将 EC2 实例加入 AWS Directory Service 域的请求将失败。有关详细信息,请参阅 VPC 端点限制和局限。
解决方法
要在启动时将新的 Windows EC2 实例加入到 AWS Directory Service 目录中,请使用 Amazon EC2 启动实例向导。
**注意:**AWS 提供的所有适用于 Windows Server 2016 和 Windows Server 2019 的亚马逊机器映像 (AMI) 中均包含 AWS Systems Manager 代理。它还包含在 2016 年 11 月或之后发布的 Windows Server 2008-2012 R2 AMI 中。有关详细信息,请参阅在 Windows Server 版 EC2 实例上使用 SSM Agent。