Patching EC2 Instances without rebootig - nodes in "pending reboot" state

0

Hi Team. I'm working with Patch Manager and I need to patch some groups of EC2 instances (Windows in this case). Instances got patched (or seems to) but remains in state "pendig reboot" and "non compliance". I don't know how to change instance's state. I've tried rebooting the instances manually and rebooting them using Run Command (with AWS-InstanceRebootWithHooks document) but they are still in "pending reboot" state. I also have a big doubt if patches are correctly installed. Thanks in advance.

1개 답변
1

Hello,

Thank you for reaching out with this issue.

This issue occurs when the NoReboot feature is selected and the managed node is patched with a patch that is assigned a status of InstalledPendingReboot. The managed node/s is marked as Non-Compliant. After a reboot occurs and a scan operation is ran, then managed node status is then updated to Compliant status, the Pending Reboot should be cleared. You can refer to the link below for detailed information on this:

[+] https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-about-aws-runpatchbaseline.html#patch-manager-about-aws-runpatchbaseline-parameters-norebootoption

As mentioned above, the resolution to this issue is to run a scan against the nodes using the Patch Manager, below are the steps to accomplish this:

  1. Open AWS System Manager.
  2. In the navigation pane, choose Patch Manager.
  3. Choose Patch Now.
  4. For Patching operation choose Scan.
  5. For instances to patch ,choose “Patch only the target instances I specify”: You specify which managed nodes to target in the next step and choose your target instances.
  6. Choose Patch now.

After having performed the scan, you can then confirm if the nodes need are non-compliant and pending reboot.

I hope the information above helps. Thank you.

AWS
지원 엔지니어
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠