What does a good Linux patching strategy look like?
BeginnerProductionPatching, Automation & Golden Images
Answer
- Inventory: know every host, OS version and kernel.
- SLAs by severity: e.g. critical in 72 hours, high in 14 days, the rest monthly.
- Rings: dev → staging → a production canary → the rest of production.
- Automation: Ansible, AWS SSM Patch Manager, or image rebuilds; no hand patching.
- Reboots: scheduled and rolling, drained from load balancers first.
- Verification: health checks and a rollback plan (snapshot or previous image).
- Reporting: compliance dashboard of pending updates and reboot-required hosts.
More on Patching, Automation & Golden Images
In-place patching vs immutable image replacement: which do you prefer?IntermediateHow do you know whether a server needs a reboot after patching?BeginnerHow do you configure automatic security updates?BeginnerWhat is kernel live patching?IntermediateHow do you roll kernel updates across a 200-node fleet safely?AdvancedWhat is a golden image?Beginner