Ravi Sir's Cards › AWS
Patch live vs new AMI
This comparison card contrasts patching a live server with replacing it with a new AMI. Patching means you SSH in, run yum update and hope every box matches. Replacing means you go from dev to test, bake a new AMI, create a new launch template version and run an instance refresh. Patching live servers is never right for a production Auto Scaling group, while replacing with a new AMI is always right for Auto Scaling fleets, because patched servers become snowflakes and replaced ones stay identical.
Read card text
What this card says
What it is
Patch live server: SSH in, yum update, hope every box matches.
Replace with new AMI: Dev → test → AMI → new template → instance refresh.
SSH fix or bake?
Patch live server: Never in prod ASG.
Replace with new AMI: Always for ASG fleets.
Example
Patch live server: ssh + yum.
Replace with new AMI: CreateImage + refresh.
Use when
Patch live server: Snowflakes.
Replace with new AMI: Identical.