AWS & Cloud Engineering
EC2 capacity models
Explain the main EC2 purchasing options, how Savings Plans differ from capacity reservations, and why a discount alone does not guarantee that a launch succeeds.
What you will be able to do
- Explain the difference between a price commitment and a capacity reservation.
- Decide which EC2 model fits a workload that must start on time.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in AWS & Cloud Engineering
- STS and assume roleIntermediate · 4 min
Explain how AssumeRole returns temporary credentials, how trust policies and session duration limit who gets them and for how long, and why short sessions reduce risk.
- Instance profilesAdvanced · 4 min
Explain how an instance profile passes a role's temporary credentials to an EC2 instance through instance metadata, so no access key needs to be stored on the instance.
- Spot interruption handlingAdvanced · 4 min
Explain how Spot interruptions happen, how the two-minute notice reaches an instance through metadata and EventBridge, and how workers should save progress before a…
- ASG scaling policiesAdvanced · 4 min
Explain how target tracking scaling holds one metric near a target value, why the metric must change in proportion to group size, and how warm-up affects scaling…
- ALB target groupsAdvanced · 4 min
Explain how a target group routes to healthy targets, how a removed target drains through the deregistration delay, and how that delay protects in-flight requests…
- NLB versus ALBAdvanced · 4 min
Explain how application and network load balancers route traffic at different depths, how a network balancer's flow hash keeps a connection on one target, and how their…