Certopolis

AWS Certified Solutions Architect – Associate

EC2 Savings Plans vs Reserved Instances vs Spot: when to use each

Use On-Demand for short or unpredictable work, a Savings Plan or Reserved Instances for steady usage you can commit to for 1 or 3 years, and Spot for work that can be interrupted. AWS now recommends Savings Plans over Reserved Instances. Spot is not covered by Savings Plans, and neither Savings Plans nor regional Reserved Instances hold capacity.

Savings Plans

A Savings Plan is a commitment to spend a fixed amount per hour, in USD, for 1 or 3 years. You pay All Upfront, Partial Upfront or No Upfront. The terms can't be changed after purchase; if usage grows, you buy another plan.

Compute Savings Plans save up to 66% off On-Demand and apply to EC2 regardless of instance family, size, Region, operating system or tenancy. They also apply to AWS Fargate and AWS Lambda. EC2 Instance Savings Plans save up to 72%, but only for one instance family in one Region, though any size, OS and tenancy within it.

Savings Plans do not cover the Amazon EKS cluster charge, only the EC2 instances underneath. The fee for Dedicated Instances is not discounted either.

Reserved Instances

A Reserved Instance is a billing discount, not a server. It matches running instances by instance type, Region, tenancy and platform. Terms are 1 or 3 years, it does not renew, and you cannot cancel it.

Standard Reserved Instances give the bigger discount. They can be modified and sold in the Reserved Instance Marketplace, but not exchanged. Convertible Reserved Instances give a smaller discount and can be exchanged for another Convertible with a different instance family, type, platform, scope or tenancy. They cannot be sold in the Marketplace.

If you need capacity held in a specific Availability Zone, use zonal Reserved Instances or Capacity Reservations. A Savings Plan does not reserve capacity.

Spot Instances

Spot Instances run on spare EC2 capacity below the On-Demand price. Amazon EC2 can reclaim them with a two-minute interruption notice. A rebalance recommendation can arrive earlier, when the instance is at elevated risk. Spot fits batch jobs, data analysis, background processing and other work that can stop and resume.

Spot is not covered by Savings Plans. A plan adds no discount on top of Spot, and Spot spend does not count toward the plan's commitment.

Where the exam catches people

  • Believing a Savings Plan discounts Spot further: Spot is not covered, and Spot spend does not use up the commitment.
  • Believing Standard Reserved Instances can be exchanged for a new family: only Convertible ones can be exchanged. Standard ones can be sold instead.
  • Believing an EC2 Instance Savings Plan follows you to a new family or Region: only a Compute Savings Plan does, and only a Compute Savings Plan covers Fargate and Lambda.
  • Believing a Savings Plan guarantees capacity: it is a pricing commitment only. Capacity comes from zonal Reserved Instances or Capacity Reservations.
  • Believing you can cancel a Reserved Instance or change a Savings Plan's terms: neither can be changed after purchase.

Written from Amazon Web Services's documentation

Try 3 questions on this

Pick an answer to see why each option is right or wrong.

  1. A batch pipeline runs eight hours a night on EC2 and tolerates interruption well. Finance has a three-year Compute Savings Plan whose commitment is not fully used, and needs to reduce the company's compute spend without wasting that commitment. Which approach will meet these requirements?

    Right. In the game that’s Renown for your Design Cost-Optimized Architectures building.

    Not that one: D is right. In the game your Design Cost-Optimized Architectures building would lose a little Renown, and this question would come back later.

  2. A company committed to three-year Reserved Instances for a workload that has since moved from one instance family to another. It wants to keep a commitment discount on the new family for the remainder of the term and to recover value from any reservation it cannot use. Which solution meets these requirements?

    Right. In the game that’s Renown for your Design Cost-Optimized Architectures building.

    Not that one: D is right. In the game your Design Cost-Optimized Architectures building would lose a little Renown, and this question would come back later.

  3. A company runs Amazon EKS clusters whose worker nodes are EC2 instances in the m5 and c5 families in two AWS Regions, and some pods run on AWS Fargate. The company will buy one Savings Plan to lower its compute cost and must not commit to more hourly spend than the plan can discount. Which combination of steps should a solutions architect take to meet these requirements? (Select TWO.)

    Right. In the game that’s Renown for your Design Cost-Optimized Architectures building.

    Not that one: B,C is right. In the game your Design Cost-Optimized Architectures building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    Compute Savings Plans "automatically apply to your EC2 instance usage, regardless of instance family (for example, m5, c5, etc.), instance size (for example, c5.large, c5.xlarge, etc.), Region", and "They also apply to your Fargate and Lambda usage." The cluster charge is outside every plan: "Amazon EKS charges will not be covered by Savings Plans, but the underlying EC2 instances will be."

    Written from docs.aws.amazon.com/savingsplans/latest/userguide/plan-types.html