AMI Bake vs Launch-Time Configuration

Bake config into the AMI or apply at launch? The trade-offs and the patterns.

Bake

The AMI bake versus launch-time config decision is one of those infrastructure questions that has a different right answer for different services. Baking puts configuration into the AMI itself; launch-time config applies it as the instance boots. The trade-off is speed versus flexibility, and most mature teams end up running both patterns for different parts of the fleet.

What baking provides:

Baking is the right pattern for services where boot speed matters and configuration is stable.

Launch-time

Launch-time configuration applies setup at boot. The base AMI is generic; the userdata or configuration agent specializes the instance. The pattern trades boot speed for flexibility.

Launch-time configuration is the right pattern for services where boot speed is not the bottleneck and configuration changes frequently.

Hybrid

Most mature teams end up with a hybrid approach. The slow, stable pieces are baked; the fast-changing, instance-specific pieces are configured at launch. The hybrid optimizes both axes.

AMI bake versus launch-time config is a question of where on the trade-off curve each service belongs. Nova AI Ops integrates with the build and deployment pipelines, surfaces boot-time trends, and helps teams identify candidates for moving from launch-time to bake (or vice versa) based on observed behavior.