Core concept

Bake config into AMI: fast start, no runtime config drift. Configure at boot: flexible but slower + risk drift.

Advertisement

How it works

Packer builds AMIs from templates. EC2 Image Builder: managed. Both integrate with CI/CD for regular refresh.

Advertisement

Trade-offs + gotchas

Prod fleets. Compliance (baked security config). Fast auto-scaling (no config on boot). Enterprises.