What is the purpose of 'Reservations' in Amazon EC2
System Design practice on Codemia
Work through 120+ system design problems with detailed solutions, from rate limiters to multi-region storage.
When deploying applications or services in the cloud, balancing cost management with performance objectives is a core aspect of decision-making. Amazon EC2 (Elastic Compute Cloud) provides scalable compute capacity in the cloud. One feature that plays a crucial role in cost optimization while ensuring resource availability is Reservations. Reservations essentially allow users to make an upfront commitment to use specific EC2 instances over a defined period, offering significant cost savings compared to on-demand pricing.
Understanding EC2 Reservations
Types of Reservations
Amazon EC2 offers two primary reservation models:
- Reserved Instances (RIs): Reserved Instances provide a discount of up to 75% compared to On-Demand pricing. When you reserve, you commit to the term (one or three years) and receive benefits in return. This includes:
- Standard Reserved Instances: Ideal for steady-state usage. The more you can prepay, the more you save.
- Convertible Reserved Instances: Provides the flexibility to change the instance types, operating system, or tenancy over time to optimize performance and costs.
- Savings Plans: Introduced as an alternative to Reserved Instances, Savings Plans offer a flexible pricing model with savings up to 66% in return for a commitment to use a specific dollar amount per hour for a one or three-year term. It includes:
- Compute Savings Plans: Offers the most flexibility by automatically applying to usage across any AWS region, regardless of how you utilize EC2.
- EC2 Instance Savings Plans: Provide the most savings, tailored to a family of instances in a specific region.
Key Features and Benefits
- Cost Efficiency: Reservations enable you to significantly reduce your compute costs.
- Capacity Reservation: Ensures that you always have access to the compute capacity you need.
- Flexibility: Particularly with Convertible RIs and Savings Plans, providing the ability to shift different instance attributes.
Technical Overview
How it Works
RIs and Savings Plans are both billing discounts that apply automatically to your eligible On-Demand usage. However, it's crucial to note that neither affect the actual launching or running of EC2 instances from a technical standpoint.
When an RI or Savings Plan is applied, you still launch instances in the same manner as On-Demand instances. The difference manifests in billing, where an adjustment is made to reflect the reserved pricing, reducing the cost associated with the committed resources.
Usage Example
Suppose your application requires a m5.large instance across two regions. Using On-Demand instances might incur variable costs over time, risking high, unpredictable expenses. Instead, with Standard Reserved Instances, you commit to the usage of these machines, potentially cutting costs by a significant margin. Given predictable workloads, this model boasts simple implementation yet substantial cost savings.
Factors to Consider
- Instance Configuration: Ensure alignment between the instances you are reserving and your anticipated workload (family, region, OS).
- Term Length: Decide whether a one or three-year commitment best suits your forecasted compute needs.
- Payment Options: Evaluate upfront payment versus partial upfront or no upfront to determine the best cash flow management for your business.
Table Summary
Here is a summary of the key points regarding EC2 Reservations:
| Factor | Reserved Instances | Savings Plans |
| Discount Potential | Up to 75% | Up to 66% |
| Commitment Term | 1 or 3 years | 1 or 3 years |
| Payment Models | All upfront, Partial upfront, No upfront | All upfront, Partial upfront, No upfront |
| Flexibility | Convertible RIs offer more flexibility | Higher flexibility with Compute Plans |
| Best Suited For | Steady-state usage where stability is prioritized | Dynamic and evolving workloads |
| Scope | Region-specific, and tenable to instance family | Region, instance family flexibility |
Enhanced Efficiency and Operational Planning
Strategic Planning
Adopting an EC2 Reservations strategy requires a blend of technical insight and strategic foresight. Organizations should analyze historical usage data to predict future trends, ensuring that reserved capacity meets anticipated demand without overspending.
Combining with Autoscaling
Incorporating Autoscaling groups with Reserved Instances can balance between cost savings and on-demand flexibility. Reserved Instances can cover the base predictable load while Autoscaling dynamically adjusts to peaks within the compute requirements.
In conclusion, reservations in Amazon EC2 are a powerful mechanism for cloud spend optimization. By understanding and strategically leveraging these resources, organizations can balance cost constraints while maintaining the agility and flexibility needed in dynamic cloud environments.
Related reading
- What is the recommended way to delete a large number of items from DynamoDB?
- What is the type should I use for dynamodb stream event in typescript?
- What is transformation_ctx used for in aws glue?
- What is vCPU in AWS
- What is the purpose of the file docker.sock?
- What is the role of public key token?
- What is VPC, Subnet in AWS
- What must be the file system on AWS EBS Multi-Attach volume?

System Design Fundamentals
Build a strong foundation in designing scalable, reliable distributed systems.
View the courseTrack what you have practised
A free account saves your progress, solutions and study plan across every problem on Codemia.
System Design practice on Codemia
Work through 120+ system design problems with detailed solutions, from rate limiters to multi-region storage.