shlogg · Early preview
Mark Laszlo @marklaszlo9

Automating Patching For Scheduled Auto Scaling Groups On AWS

Automate patching for scheduled auto-scaling groups on AWS using SSM Maintenance Windows, CloudFormation & EventBridge, ensuring seamless compliance without manual intervention.

Introduction
Maintaining up-to-date patches on Amazon EC2 instances is critical for security and compliance. However, patching auto-scaling groups (ASGs) can be challenging, especially when dealing with scheduled ASGs that are scaled down during maintenance windows. Traditional patching jobs rely on running instances, creating a gap when instances are unavailable.
In this post, we address this issue by exploring how to automate the patching process for scheduled ASGs. We’ll leverage AWS Systems Manager (SSM) Maintenance Windows, CloudFormation, and EventBridge to create a solution that ensures...