Posted On: Jul 23, 2019
AWS Systems Manager Maintenance Windows enable you to define a time window for performing potentially disruptive actions on your instances. You can now use maintenance windows to select a resource group as the target. Resource groups make it easier to organize, manage, and automate tasks on large numbers of resources at one time. By selecting a resource group as the target of a maintenance window, you can perform routine tasks across different resources such as Amazon Elastic Compute Cloud (Amazon EC2) instances, Amazon Elastic Block Store (Amazon EBS) volumes, and Amazon Simple Storage Service (Amazon S3) buckets within the same recurring time window.
Previously, targets for maintenance windows were limited to Amazon EC2 instances, which were selected manually or through tags. With the support of resource groups, the targets can be any resource supported by AWS Resource Groups. For example, by selecting a resource group that represents your application as the target, you can schedule a Systems Manager Automation task to back up the application EBS volumes, and then run a Systems Manager RunCommand task to patch the EC2 instances that host the application within the same maintenance window. You can also execute an AWS Lambda function or AWS Step Functions task that targets the resources belonging to the resource group.
Maintenance Windows is a feature of Systems Manager. Systems Manager enables visibility and control of your cloud and on-premises infrastructure. It simplifies resource and application management, shortens the time to detect and resolve operational problems, and makes it easier to operate and manage your infrastructure securely at scale.