AWS Systems Manager Maintenance Windows

AWS Systems Manager Maintenance Windows let you define a schedule for when to perform
potentially disruptive
actions on your instances such as patching an operating system (OS), updating drivers,
or
installing software. Each Maintenance Window has a schedule, a duration, a set of
registered targets,
and a set of registered tasks. With Maintenance Windows, you can perform tasks like
the
following:

Running AWS Step Function state machines to perform tasks such as removing an
instance from an Elastic Load Balancing environment, patching the instance, and then
adding the
instance back to the Elastic Load Balancing environment.