Sub topic 12
Right-size first, then commit with Savings Plans
This chapter assumes you can read CloudWatch metrics, run the AWS CLI, and have followed the earlier chapters on right-sizing and the Graviton migration. It explains why the order of those steps matters when you buy a commitment.
Why order matters
A Savings Plan is a commitment to spend a fixed amount per hour, in US dollars, for one or three years. In return, AWS discounts the usage that the commitment covers. You pay the committed amount every hour, whether or not you use it.
If you commit first and right-size afterward, you can end up with a commitment larger than your new usage. Say you commit to $10 per hour of on-demand-equivalent usage. Then you shrink your fleet so that it only uses $6 per hour. The remaining $4 per hour is still billed, and you get nothing for it.
The safe order is:
- Right-size instances from measured utilization.
- Move suitable workloads to Graviton and validate price-performance.
- Let the new usage settle for a few weeks.
- Commit to a portion of the stable baseline.
Choosing a plan type
The two common plan types differ in how much flexibility they keep.
| Plan type | What it covers | Flexibility | Fit with a Graviton move |
|---|---|---|---|
| Compute Savings Plans | EC2 in any family, size, Region, OS or tenancy, plus Fargate and Lambda | Highest | Keeps its discount when you switch from x86 to Graviton |
| EC2 Instance Savings Plans | One instance family in one Region | Lower, with a deeper discount | Applies only to the family you chose, so an x86 plan does not cover Graviton |
Because you are still changing instance families, Compute Savings Plans are usually the safer choice during a migration. Consider an EC2 Instance Savings Plan only after the family choice is settled. Check current rates and terms on the AWS pricing pages, because discounts vary by plan, term and payment option.
Sizing the commitment
Do not commit to your peak. Commit to the usage that is present nearly all the time, and leave the variable part on demand or on Spot.
A practical approach is to buy in steps. Cover roughly 60 to 70 percent of the baseline first. Review coverage and utilization after a month, then add more. Smaller, staggered purchases also spread your expiry dates, so you are not forced to renew everything at once.
Getting a recommendation
AWS can estimate a commitment from your recent usage. The Cost Explorer API returns a Savings Plans purchase recommendation.
aws ce get-savings-plans-purchase-recommendation \
--savings-plans-type COMPUTE_SP \
--term-in-years ONE_YEAR \
--payment-option NO_UPFRONT \
--lookback-period-in-days THIRTY_DAYSThe lookback window matters. If you have just finished a migration, the recommendation is based on usage from before it, and it can be too high. Use a short lookback, or wait until the lookback covers only the new, right-sized usage.
Checking that the commitment works
After you buy, watch two numbers in Cost Explorer:
- Utilization is the share of your commitment that your usage actually consumed. Anything under 100 percent means you are paying for unused commitment.
- Coverage is the share of eligible usage that the plan covers. Low coverage means more usage is billed at on-demand rates.
Common errors
- Committing before the migration finishes, so the commitment exceeds the new usage.
- Choosing an EC2 Instance Savings Plan for an x86 family and then moving to Graviton.
- Using a long lookback window that includes the old, oversized fleet.
- Never reviewing utilization and coverage after the purchase.
Exercise
Your team has just moved half its fleet to Graviton and plans to move the rest next month. Which plan type and purchase approach fit best, and why?
Show answer
Buy a Compute Savings Plan for a modest share of the current steady baseline, because it keeps its discount when instance families change. Hold back the rest of the commitment until the migration is done and usage has settled, then add more in later purchases based on a lookback that only covers the new fleet.
Exercise
A one-month-old plan shows 78 percent utilization and 95 percent coverage. What does this tell you, and what should you do?
Show answer
Utilization of 78 percent means 22 percent of the committed spend went unused, so the commitment is larger than the usage it can cover. Coverage is already high, so you should not buy more. Check whether usage dropped because of right-sizing or migration, and avoid adding further commitments until usage stabilizes.