Launch Templates
Stores versioned launch parameters such as AMI, instance type, security groups, and user data.
Official AWS Reference https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html ↗// DECISION LOGIC MATRIX
When to Choose
You define what an Auto Scaling group or fleet should launch and want version control.
When to Avoid
You are defining scaling policies, which live on the Auto Scaling group.
// EXAM TRAPS & SIGNAL KEYWORDS
// OFFICIAL AWS REFERENCE
"A launch template contains the configuration information to launch an instance, letting you store launch parameters so that you do not have to specify them every time you launch an instance."
- Launch templates support versioning; each version is immutable and you create a new version to change parameters.
- AWS recommends launch templates over launch configurations, which do not receive new EC2 features.
// LAUNCH TEMPLATES TAKEAWAYS
Role: Stores versioned launch parameters such as AMI, instance type, security groups, and user data.
Choose: You define what an Auto Scaling group or fleet should launch and want version control.
Avoid: You are defining scaling policies, which live on the Auto Scaling group.
Trap: Watch for exam signals like scaling policies, CloudWatch alarms.
Fact: Launch templates support versioning; each version is immutable and you create a new version to change parameters.
Fact: AWS recommends launch templates over launch configurations, which do not receive new EC2 features.