Skip to content

How do I configure maintenance windows for patching Amazon EC2 and hybrid nodes in multiple environments in Systems Manager?

2 minute read
0

I want to configure and keep maintenance windows for multiple environments in AWS Systems Manager.

Short description

Use Patch Manager, a capability of AWS Systems Manager to configure patch baselines and maintenance windows for Amazon Elastic Compute Cloud (Amazon EC2) and hybrid instances.

Resolution

Complete the following checks, and then configure patch baselines and maintenance windows for your managed nodes.

Important: It's a best practice to monitor patching to verify the patch compliance information of your nodes and troubleshoot Patch Manager errors.

Configure patch baselines for your managed nodes

Verify that the AWS predefined patch baseline for each OS type that you use meets your requirements. If the predefined patch baseline doesn't meet your requirements, then create a custom patch baseline.

Configure maintenance windows for your managed nodes

To configure your maintenance window, complete the following steps in the Systems Manager console:

  1. Create a maintenance window.
  2. Assign targets to the maintenance window that you created.
  3. Assign a task to the maintenance window that you created. Choose Run Command for Task Type, and then in the Command document list, choose the AWS-RunPatchBaseline Systems Manager Command document.

Related information

Why does my Amazon EC2 instance appear as non-compliant in the Compliance dashboard?

Patching your Windows EC2 instances using AWS Systems Manager Patch Manager

AWS OFFICIALUpdated 5 months ago