In-place patching vs immutable image replacement: which do you prefer?
IntermediateProductionPatching, Automation & Golden Images
Answer
For cloud fleets behind load balancers or in autoscaling groups, we rebuild a patched golden image weekly and roll instances (immutable). Every host is then identical, tested, and rollback means using the previous AMI. In-place patching suits long-lived stateful servers (databases, on-prem, licensed boxes) where replacement is costly, done with rolling automation and snapshots. Most organizations run both.
More on Patching, Automation & Golden Images
What does a good Linux patching strategy look like?BeginnerHow 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