Tutorial / Cram Notes
Reserved Instances offer a significant discount (up to 75%) compared to on-demand pricing, in exchange for committing to a specific instance type in a region for a one or three-year term. Users can choose between three payment options – All upfront, Partial upfront, and No upfront – which further affects the discount rate.
Types of Reserved Instances
- Standard RIs: These provide the most significant discount and are best for steady-state use cases. They can be modified in terms of instance family, OS, tenancy, and network platform.
- Convertible RIs: These allow users to change the RI attributes as long as the exchange leads to instances of equal or greater value, offering flexibility along with cost savings.
- Scheduled RIs: These are available to launch within the time windows you reserve. This option allows you to match your capacity reservation to a predictable recurring schedule that only repeats a few days per month.
Example of Reserved Instances Usage
Imagine a scenario where a company is running a fleet of m5.large instances for a back-end application needing consistent performance. After analyzing usage patterns and committing to a 3-year term, the company could purchase Standard RIs for these instances, significantly decreasing their compute costs over the long run.
Savings Plans
Savings Plans is a newer flexible pricing model designed to offer savings of up to 72% in exchange for committing to a consistent amount of compute usage (measured in $/hour) for a 1 or 3-year period. There are two types of Savings Plans:
- Compute Savings Plans: These plans provide the most flexibility and apply to any EC2 instance regardless of region, instance family, operating system, or tenancy. The discount is automatically applied to any EC2 usage up to the commitment.
- EC2 Instance Savings Plans: These apply to specific instance families within a region and provide the largest discount. If you have predictable usage for a specific instance family, this can be a cost-effective option.
Example of Savings Plans Usage
Consider a workload with a mix of t3, m5, and r5 instances spread across different regions. The company prefers not to commit to specific instance types but wants to reduce costs. A Compute Savings Plan would be ideal, allowing the company to commit to a consistent spend – e.g., $10/hour – that automatically applies to the compute costs, irrespective of the instance types, families, or regions.
Comparison Between RIs and Savings Plans
Feature | Reserved Instances | Savings Plans |
---|---|---|
Savings | Up to 75% off on-demand | Up to 72% off on-demand |
Commitment Term | 1 or 3 years | 1 or 3 years |
Flexibility | Moderate (modifiable within constraints) | High (automatic application across usage) |
Instance Family Commitment | Required | Optional (Compute Plans) or Required (Instance Plans) |
Regional Scope | Required | Optional (Compute Plans) |
Payment Options | All upfront, Partial upfront, No upfront | Flexible payment options |
Use Cases | Steady-state, predictable workloads | Mixed, unpredictable workloads |
In conclusion, both Reserved Instances and Savings Plans provide cost-effective solutions for difference use cases. RIs are better suited for predictable workloads on specific instance types, while Savings Plans offer more flexibility for a varied or unpredictable environment with a commitment to a consistent spend.
While preparing for the AWS Certified Solutions Architect – Professional exam, ensure you understand these price model adoptions, considering how they can optimize costs in different architectural solutions. Make use of the AWS Pricing Calculator to model and compare different pricing options, honing the skill of choosing the most cost-effective model for given scenarios.
Practice Test with Explanation
True or False: Reserved Instances require a one-time upfront payment for the entire reservation period.
- False
Reserved Instances offer payment options that include all upfront, partial upfront, or no upfront payments.
True or False: Savings Plans provide a discount on usage regardless of instance family, region, or operating system.
- False
There are different types of Savings Plans. Compute Savings Plans offer flexible usage across instance families, regions, or operating systems, while EC2 Instance Savings Plans apply to a specific instance family within a region.
Which of the following AWS services is eligible for a Compute Savings Plan discount? (Select TWO)
- A) AWS Lambda
- B) Amazon EC2
- C) Amazon RDS
- D) AWS Fargate
- E) Elastic Load Balancing
Correct Answers: B, D
Compute Savings Plans apply to Amazon EC2 and AWS Fargate usage.
True or False: You can sell unused Reserved Instances in the AWS Reserved Instance Marketplace.
- True
AWS offers the Reserved Instance Marketplace to allow customers to sell their unused Reserved Instances to other businesses and organizations.
When a Reserved Instance expires, what happens to the pricing?
- A) It automatically renews at current market rates.
- B) It reverts to on-demand pricing.
- C) The instance is terminated.
- D) Reserved pricing continues indefinitely.
Correct Answer: B
Once a Reserved Instance expires, the pricing reverts to the standard on-demand rate if the instance continues to run.
True or False: Savings Plans are applied to accounts on an organizational level, and benefits are shared across accounts in AWS Organizations.
- True
Savings Plan benefits can be shared with all AWS accounts within an organization.
Which payment option for Reserved Instances offers the highest discount?
- A) No Upfront
- B) Partial Upfront
- C) All Upfront
- D) Monthly Payment
Correct Answer: C
The All Upfront payment option typically provides the highest discount for Reserved Instances.
What is the minimum commitment period for an EC2 Reserved Instance?
- A) No minimum commitment
- B) 6 months
- C) 1 year
- D) 3 years
Correct Answer: C
EC2 Reserved Instances have a minimum commitment of 1 year.
True or False: Reserved Instances can be applied to both Amazon EC2 and Amazon RDS instances.
- True
Reserved Instances can be purchased for both Amazon EC2 and Amazon RDS, offering a discounted hourly rate compared to on-demand pricing.
Which AWS pricing model allows for cost savings while maintaining flexibility in instance types?
- A) On-Demand Instances
- B) Reserved Instances
- C) Spot Instances
- D) Savings Plans
Correct Answer: D
Savings Plans, particularly Compute Savings Plans, offer cost savings with flexibility across different instance types.
True or False: The Savings Plans and Reserved Instances can both be purchased for 1-year and 3-year terms.
- True
Both Savings Plans and Reserved Instances come with the option of a 1-year or 3-year commitment to match the customer’s long-term use.
To achieve cost savings with a Savings Plan, what must an AWS customer do?
- A) Reserve capacity for a specific instance type and region.
- B) Commit to a consistent amount of usage (e.g., $/hour) over a 1 or 3-year period.
- C) Submit a request for a Savings Plan quote.
- D) Purchase a Savings Plan from another AWS customer.
Correct Answer: B
To benefit from Savings Plans, customers commit to a specified amount of usage (such as compute power or a specific instance family) for a 1 or 3-year period.
Interview Questions
What are the primary differences between Reserved Instances and Savings Plans in AWS, and how would you advise a client to choose between them?
Reserved Instances provide a capacity reservation for a specific instance type in a particular region and availability zone, with discounts based on term length, payment option, and instance type. Savings Plans offer flexible discounts across various AWS services, regardless of region, with the commitment based on the total compute usage (Compute Savings Plans) or usage for specific instance families (EC2 Instance Savings Plans). The choice between the two often depends on the flexibility needed and commitment willingness; if a customer has predictable usage for specific instance types, RIs may be more suitable. Conversely, if they desire more flexibility and have a consistent compute spend, Savings Plans might be more beneficial.
How does the payment model affect the discount received for Reserved Instances, and what options are available?
The discount for Reserved Instances varies based on the payment option chosen: All Upfront, Partial Upfront, or No Upfront. All Upfront RIs offer the highest discount as the customer is paying the entire cost at the start. Partial Upfront offers a lower discount, with a portion paid upfront and the rest billed monthly. No Upfront has the lowest discount but does not require an initial payment. The best payment model is typically guided by the customer’s cash flow and desire for discounts.
Can you convert a Reserved Instance to a different instance type after purchase, and if so, what is the process?
Yes, Reserved Instances can be modified to different instance types within the same instance family, operating system, tenancy, and region, though it is subject to the ‘Convertible RI’ feature. However, the instance size flexibility feature allows automatic application of the RI’s discounted rate when dimensions such as instance size change. The Convertible RI allows changes to instance family, OS, and tenancy but often comes with a lower discount compared to Standard RIs.
Under what circumstances would you recommend AWS customers to consider a Convertible Reserved Instance over a Standard Reserved Instance?
Convertible Reserved Instances are recommended when a customer requires flexibility to change instance attributes such as family, operating system, or tenancy, and is willing to accept a slightly lower discount than that offered by Standard RIs. This can be an excellent choice for businesses that anticipate changes in their workloads or the potential need to adopt newer AWS technologies.
How do regional and zonal Reserved Instances differ in terms of their application and flexibility?
Regional Reserved Instances apply to any instance of the specified family within the purchased region, offering flexibility in where the instance can be launched. However, they don’t provide capacity reservations. Zonal Reserved Instances apply to a specific Availability Zone and offer a capacity reservation, assuring that the customer can launch the instances whenever needed within that zone, which is crucial for applications that require consistent performance and availability.
What impact does the commitment term of a Reserved Instance or Savings Plan have on the discount rate?
Typically, the longer the commitment term – whether it’s 1 year or 3 years – the greater the discount rate the customer will receive. It’s because AWS can better predict and optimize their infrastructure based on longer-term commitments, allowing them to pass on the savings to the customer.
How would you manage the potential complexity that can arise from having a mix of On-Demand Instances, Reserved Instances, and Savings Plans in an AWS environment?
It requires careful monitoring and management through AWS Cost Explorer and other cost management tools. A well-architected framework should be in place to track instance utilization, cost effectiveness, and to make adjustments as necessary. Automation and alerts can also be utilized to ensure optimal use of RIs and Savings Plans. It’s essential to regularly review the overall environment and reallocate or purchase additional RIs or Savings Plans as needed.
Can AWS Savings Plans be shared across multiple accounts within an organization, and if so, how?
Yes, AWS Savings Plans can be shared with accounts within an AWS Organization. To do so, the master account in an organization must set the ‘Shared with’ setting to include all accounts within the organization. This enables cost benefits to be shared and applied across multiple accounts whenever applicable.
Explain the difference between Compute Savings Plans and EC2 Instance Savings Plans.
Compute Savings Plans provide a discount up to 66% and apply to any usage of EC2, Fargate, and Lambda regardless of region, instance family, operating system, or tenancy, as long as the usage matches the plan’s committed spend. EC2 Instance Savings Plans offer a discount up to 72% but are restricted to a specific instance family within a region, although they provide flexibility across size, OS, and tenancy.
In what scenario might an AWS customer decide to sell their Reserved Instances on the AWS Reserved Instance Marketplace?
An AWS customer may choose to sell their Reserved Instances on the AWS Reserved Instance Marketplace if they no longer need the capacity they reserved, typically due to changes in their technology stack, company reorganization, or reduced demand for their services. Selling allows them to recoup some of the costs associated with the unused Reserved Instances.
How do convertible Reserved Instances offer benefits in terms of cost management, and what limitations should customers be aware of when purchasing them?
Convertible Reserved Instances offer the benefit of cost savings similar to Standard RIs but with the added flexibility to change RI attributes throughout the term. However, customers should be aware that the discount is generally smaller compared to Standard RIs, and there might be limitations on convertibility, such as the need for the new RIs to be of equal or greater value than the original ones.
How can an organization determine whether to invest in Reserved Instances or Savings Plans when they have variable and unpredictable cloud usage?
Organizations with unpredictable usage patterns should conduct a thorough analysis of their past usage and future projections using tools like AWS Cost Explorer or engaging with AWS trusted advisors. They might opt for Savings Plans for a portion of their predictable baseline usage and complement this with On-Demand Instances for variability, or consider features like Instance Size Flexibility provided by regional RIs to account for fluctuations while still committing to some level of usage.
Great post! The comparison between Reserved Instances and Savings Plans was very informative.
Thanks for sharing this. Helped me understand the cost benefits better.
Can someone explain if Savings Plans cover Spot Instances as well?
Any tips on deciding between Standard and Convertible Reserved Instances?
This is exactly the info I needed for my SAP-C02 preparation. Thanks!
I still find it confusing to differentiate between Compute and EC2 Instance Savings Plans.
Fantastic article, really helped clarify things!
The Reserved Instances section was a bit confusing.