简体   繁体   English

AWS-InstallWindowsUpdates SSM 运行命令从哪里提取?

[英]Where does the AWS-InstallWindowsUpdates SSM run command pull from?

Under SSM run command there is a command document called "AWS-InstallWindowsUpdates" where does this command pull its updates from?在 SSM 运行命令下有一个名为“AWS-InstallWindowsUpdates”的命令文档,该命令从哪里提取更新?

From https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-how-it-works-installation.html来自https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-how-it-works-installation.html

When a patching operation is performed on a Windows instance, the instance requests a snapshot of the appropriate patch baseline from Systems Manager.在 Windows 实例上执行修补操作时,该实例会从 Systems Manager 请求相应补丁基准的快照。 This snapshot contains the list of all updates available in the patch baseline that have been approved for deployment.此快照包含已批准部署的补丁基准中可用的所有更新的列表。 This list of updates is sent to the Windows Update API, which determines which of the updates are applicable to the instance and installs them as needed.此更新列表将发送到 Windows 更新 API,它确定哪些更新适用于实例并根据需要安装它们。 If any updates are installed, the instance is rebooted afterwards, as many times as necessary to complete all necessary patching.如果安装了任何更新,则实例会在之后重启,根据需要多次重启以完成所有必要的修补。 The summary of the patching operation can be found in the output of the Run Command request.可以在 Run Command 请求的 output 中找到修补操作的摘要。 Additional logs can be found on the instance in the %PROGRAMDATA%\Amazon\PatchBaselineOperations\Logs folder.可以在 %PROGRAMDATA%\Amazon\PatchBaselineOperations\Logs 文件夹中的实例上找到其他日志。

Because the Windows Update API is used to download and install patches, all Group Policy settings for Windows Update are respected.由于 Windows 更新 API 用于下载和安装补丁程序,因此 Windows 更新的所有组策略设置都受到尊重。 No Group Policy settings are required to use Patch Manager, but any settings that you have defined will be applied, such as to direct instances to a Windows Server Update Services (WSUS) server.使用 Patch Manager 不需要组策略设置,但将应用您定义的任何设置,例如将实例定向到 Windows 服务器更新服务 (WSUS) 服务器。

Note笔记

By default, Windows downloads all patches from Microsoft's Windows Update site because Patch Manager uses the Windows Update API to drive the download and installation of patches.默认情况下,Windows 会从 Microsoft 的 Windows 更新站点下载所有补丁,因为 Patch Manager 使用 Windows 更新 ZDB974238714CA8DE634A7 来驱动下载1和安装3补丁。 As a result, the instance must be able to reach the Microsoft Windows Update site or patching will fail.因此,实例必须能够访问 Microsoft Windows 更新站点,否则修补将失败。 Alternatively, you can configure a WSUS server to serve as a patch repository and configure your instances to target that WSUS server instead using Group Policies.或者,您可以将 WSUS 服务器配置为充当修补程序存储库,并将您的实例配置为以该 WSUS 服务器为目标,而不是使用组策略。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SSM发送命令失败,是否可以从一个aws帐户向另一个帐户运行ssm命令 - SSM Send Command Failed,Is it possible to run ssm command from one aws account to another 使用 AWS SSM Run Command 的环境变量 - Environment variables with AWS SSM Run Command 是否可以从 SSM 命令更新 AWS SSM 参数存储中的参数? - Is it possible to update a parameter in AWS SSM parameter store from an SSM Command? AWS SSM 未被识别为命令 - AWS SSM not recognized as a command AWS SSM 运行命令:使用 Cloudformation 模板中的当前帐号 - AWS SSM Run command : use the current account number from a Cloudformation Template 如何在 EC2 实例上运行命令? SSM 中缺少 AWS-RunShellScript - How run a command on an EC2 instance? AWS-RunShellScript is missing from SSM 如何执行 AWS SSM 发送命令以从 Lambda 运行带有 arguments 的 shell 脚本? - How to execute AWS SSM send command to run shell script with arguments from Lambda? 我们可以通过 AWS SSM 作为后台进程运行命令吗? - Can we run command as background process through AWS SSM? 为什么AWS-ConfigureWindowsUpdate SSM运行命令失败? - Why is AWS-ConfigureWindowsUpdate SSM Run Command Failing? 在 AWS SSM 中检索命令调用 - Retrieving command invocation in AWS SSM
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM