You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
EC2 offers multiple pricing models, each suited to different usage patterns and commitment levels. Choosing the right model — or combining models — can reduce your compute costs by 60-90% compared to On-Demand pricing. This lesson covers all the major options.
| Model | Commitment | Discount vs On-Demand | Best For |
|---|---|---|---|
| On-Demand | None | 0% (baseline) | Unpredictable workloads, short-term, development |
| Reserved Instances | 1 or 3 years | Up to 72% | Steady-state, predictable workloads |
| Savings Plans | 1 or 3 years | Up to 72% | Flexible commitment across instance types |
| Spot Instances | None | Up to 90% | Fault-tolerant, flexible workloads |
| Dedicated Hosts | On-Demand or Reserved | Varies | Licensing, compliance, regulatory requirements |
| Dedicated Instances | On-Demand pricing + fee | Small premium | Hardware isolation without host management |
| Capacity Reservations | None | 0% (On-Demand rates) | Guaranteed capacity in a specific AZ |
You pay for compute capacity by the second (Linux) or by the hour (Windows), with no upfront commitment, long-term contract, or minimum spend.
| Instance Type | On-Demand (us-east-1) | Monthly (730 hrs) |
|---|---|---|
| t3.micro | ~$0.0104/hr | ~$7.59 |
| m5.large | ~$0.096/hr | ~$70.08 |
| c5.xlarge | ~$0.17/hr | ~$124.10 |
| r5.2xlarge | ~$0.504/hr | ~$367.92 |
Prices are approximate and vary by Region. Always check the EC2 Pricing page for current rates.
You commit to using a specific instance type in a specific Region for 1 or 3 years. In return, you receive a significant discount compared to On-Demand.
| Payment Option | Upfront Cost | Hourly Rate | Discount |
|---|---|---|---|
| All Upfront | Full payment at purchase | $0 | Highest discount (~72%) |
| Partial Upfront | ~50% at purchase | Reduced hourly rate | Moderate discount (~65%) |
| No Upfront | $0 | Discounted hourly rate | Lowest RI discount (~36%) |
| Type | Flexibility | Discount |
|---|---|---|
| Standard RI | Locked to instance type, AZ/Region, OS, tenancy | Higher discount |
| Convertible RI | Can change instance family, OS, tenancy, and scope | Lower discount (~54%) |
Standard RIs can be sold on the EC2 Reserved Instance Marketplace if your needs change.
| Scope | Behaviour |
|---|---|
| Regional | Discount applies to any matching instance in any AZ within the Region; provides capacity priority (not guarantee) |
| Zonal | Discount applies only in the specified AZ; guarantees capacity reservation in that AZ |
Savings Plans are a flexible pricing model that offers discounts (similar to RIs) in exchange for a commitment to a consistent amount of usage (measured in $/hour) over 1 or 3 years.
| Type | Flexibility | Discount |
|---|---|---|
| Compute Savings Plans | Any instance family, size, AZ, Region, OS, tenancy; also applies to Fargate and Lambda | Up to 66% |
| EC2 Instance Savings Plans | Locked to a specific instance family and Region; any size, OS, tenancy | Up to 72% |
| SageMaker Savings Plans | Applies to SageMaker instances | Up to 64% |
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.