Savings Plans & Reserved Instances

One decision, made once and lived with for one or three years: how much flexibility do I sell back in exchange for a bigger discount? Everything else on this page is bookkeeping. The compute side of launch types lives in EC2 — this is the money side.

Chỉ một quyết định, chọn một lần rồi sống với nó suốt một hoặc ba năm: mình bán lại bao nhiêu tính linh hoạt để đổi lấy chiết khấu lớn hơn? Mọi thứ còn lại trên trang này chỉ là sổ sách. Phần compute của các launch type nằm ở EC2 — đây là phần tiền bạc.

Reach for it / not the right toolKhi nào dùng / khi nào không

CommitNên cam kết

  • A steady 24/7 baseline you are confident will still be there in a year — that floor is free money left on the table every hour it runs on-demand.Có mức nền chạy 24/7 mà bạn chắc chắn năm sau vẫn còn — mỗi giờ phần nền đó chạy giá on-demand là tiền vứt đi.
  • Predictable Fargate or Lambda spend — only a Compute Savings Plan can discount those; RIs cannot touch them.Chi phí Fargate hoặc Lambda ổn định — chỉ Compute Savings Plan mới chiết khấu được; RI hoàn toàn không chạm tới.
  • You are genuinely pinned to one family in one region (licensing, tuned workload) → take the extra points with an EC2 Instance Savings Plan.Bạn thực sự bị neo vào một family trong một region (license, workload đã tinh chỉnh) → lấy thêm phần trăm bằng EC2 Instance Savings Plan.
  • Steady RDS, ElastiCache, Redshift, OpenSearch — Reserved Instances / Reserved Nodes are the only commitment lever there.RDS, ElastiCache, Redshift, OpenSearch chạy ổn định — Reserved Instances / Reserved Nodes là cần gạt cam kết duy nhất ở đó.

Don't commitĐừng cam kết

  • Spiky or seasonal workloads. Commit to the trough, never the peak — an unused commitment is billed anyway.Workload lên xuống thất thường hoặc theo mùa. Cam kết ở đáy, đừng bao giờ ở đỉnh — cam kết không dùng vẫn bị tính tiền.
  • Interruptible batch → Spot is cheaper than any commitment and asks nothing of you. See AWS Batch.Batch chấp nhận bị ngắt → Spot rẻ hơn mọi cam kết và không đòi hỏi gì. Xem AWS Batch.
  • You haven't right-sized yet. Run Compute Optimizer first — committing to oversized instances locks the waste in for the whole term.Bạn chưa right-size. Chạy Compute Optimizer trước — cam kết trên instance thừa là khoá luôn phần lãng phí suốt kỳ hạn.
  • A re-platform is coming (containerising, going serverless, moving region) → Compute Savings Plan at most, never a Standard RI or an EC2 Instance plan.Sắp đổi nền tảng (chuyển sang container, serverless, đổi region) → nhiều nhất là Compute Savings Plan, tuyệt đối không Standard RI hay EC2 Instance plan.
  • You actually wanted guaranteed capacity in an AZ — that's a zonal RI or an On-Demand Capacity Reservation. Savings Plans give you none.Cái bạn thật sự cần là đảm bảo capacity trong một AZ — đó là zonal RI hoặc On-Demand Capacity Reservation. Savings Plans không cho gì cả.

The one axis: flexibility ↔ discountChỉ một trục: linh hoạt ↔ chiết khấu

Every option is the same trade priced differently. Decide what you are willing to be locked into — family? region? compute type? — and the product picks itself. The launch-type mechanics (On-Demand, Spot, Dedicated) are in EC2; here only the commitment matters. Mọi lựa chọn đều là cùng một cuộc đánh đổi, chỉ khác giá. Hãy quyết định bạn chịu bị khoá vào cái gì — family? region? loại compute? — rồi sản phẩm tự lộ ra. Cơ chế launch type (On-Demand, Spot, Dedicated) nằm ở EC2; ở đây chỉ có cam kết là quan trọng.

A single horizontal axis running from locked down with the biggest discount on the left to most flexible with the smallest discount on the right. Along it, in order: Standard Reserved Instance at up to seventy-two percent, flexible only across size within the same family and resellable on the Reserved Instance Marketplace; EC2 Instance Savings Plan also at up to seventy-two percent, flexible across size, operating system and tenancy but with family and region locked at purchase; Convertible Reserved Instance at up to sixty-six percent, exchangeable for other Reserved Instances within the same region and not resellable; Compute Savings Plan at up to sixty-six percent, flexible across family, size, operating system, region, tenancy and across EC2, Fargate and Lambda; and finally On-Demand at no discount, flexible about everything with no commitment. The note underneath records that more flexibility means a smaller discount while more money paid upfront means a bigger discount, that Savings Plans cover EC2, Fargate and Lambda with SageMaker having its own plan, and that RDS, ElastiCache, Redshift and OpenSearch can only be discounted with Reserved Instances. WHAT YOU GIVE UP · WHAT YOU GET BACK Standard RI up to 72% EC2 Instance SP up to 72% Convertible RI up to 66% Compute SP up to 66% On-Demand no discount locked down · biggest discount most flexible · smallest discount + size (same family) - OS · tenancy - family · region resellable on RI Mkt + size + OS · tenancy - family · region both fixed at buy + exchange for other RIs, same region - region locked not resellable + family · size · OS + region · tenancy + EC2/Fargate/Lambda no bookkeeping + everything no commitment pay per second the baseline price more flexibility = smaller discount · more upfront = bigger discount Savings Plans cover EC2 · Fargate · Lambda (SageMaker has its own) RDS · ElastiCache · Redshift · OpenSearch: Reserved Instances only

Standard RI and the EC2 Instance plan sit at the same discount, but the plan is strictly easier to live with — no instance-type bookkeeping, and OS and tenancy stop mattering. That is why Savings Plans have largely replaced RIs for compute.

Standard RI và EC2 Instance plan có cùng mức chiết khấu, nhưng plan dễ sống chung hơn hẳn — không phải theo dõi instance type, và OS lẫn tenancy không còn quan trọng. Đó là lý do Savings Plans gần như đã thay thế RI cho phần compute.

Standard RIStandard RI Convertible RIConvertible RI EC2 Instance SPEC2 Instance SP Compute SPCompute SP
Discount ceilingTrần chiết khấu ~72%~72% ~66%~66% ~72%~72% ~66%~66%
What you commit toCam kết cái gì a specific instance configmột cấu hình instance cụ thể a specific config, swappablemột cấu hình cụ thể, đổi được $/hour + family & region$/giờ + family & region $/hour, nothing else$/giờ, không gì khác
Stays flexible onCòn linh hoạt về size (Linux, default tenancy, regional scope) · AZsize (Linux, tenancy mặc định, phạm vi regional) · AZ family, OS, tenancy, term — via exchangefamily, OS, tenancy, kỳ hạn — qua exchange size, OS, tenancysize, OS, tenancy family, size, region, OS, tenancy, compute typefamily, size, region, OS, tenancy, loại compute
CoversBao phủ EC2 (and RDS, ElastiCache, Redshift, OpenSearch as their own RIs)EC2 (và RDS, ElastiCache, Redshift, OpenSearch dưới dạng RI riêng) EC2 onlychỉ EC2 EC2 onlychỉ EC2 EC2 · Fargate · LambdaEC2 · Fargate · Lambda
Way outĐường thoát sell on the RI Marketplacebán trên RI Marketplace exchange — never cancel, never sellđổi — không huỷ, không bán được none — ride out the termkhông có — chịu hết kỳ hạn none — ride out the termkhông có — chịu hết kỳ hạn
Default answerCâu trả lời mặc định Buy a Compute Savings Plan sized to your floor, then only reach for an EC2 Instance plan on the slice of usage you are genuinely certain about for the whole term. The 6 extra points are not worth being wrong about a region. Mua một Compute Savings Plan vừa bằng mức nền, rồi chỉ dùng EC2 Instance plan cho phần usage bạn thực sự chắc chắn trong suốt kỳ hạn. 6 điểm phần trăm thêm không đáng để đoán sai một region.

What the commitment does to the billCam kết ảnh hưởng hoá đơn thế nào

Picture a flat band across your usage graph. Under the band you pay the plan rate; the part sticking out above it pays on-demand. You pay the band whether or not you fill it — which is why you size it to the trough, not the average. Hình dung một dải ngang cắt qua đồ thị usage. Phần dưới dải trả theo giá plan; phần nhô lên trên trả giá on-demand. Bạn trả tiền cho dải đó dù có lấp đầy hay không — nên phải chọn theo đáy, không phải theo trung bình.

A usage-over-time chart with a flat horizontal commitment line drawn across it at ten dollars an hour. The usage curve wanders below the line for most of the month, and that shaded green area is covered at the discounted Savings Plan rate. In the middle of the month usage spikes above the commitment line; the shaded red area above the line is billed at the ordinary on-demand price. The note underneath says to commit to the floor you never drop below and let the peaks bill on-demand. one commitment · one month of usage covered at plan rate billed on-demand $/hr time → commitment · $10/hour the spike bills on-demand everything under the band is discounted commit to the floor you never drop below — let the peaks bill on-demand

If usage ever falls below the band you still owe the full hourly commitment — an under-used plan is worse than no plan. Over-commitment is the one failure mode with no way out.

Nếu usage tụt xuống dưới dải, bạn vẫn nợ trọn mức cam kết theo giờ — một plan dùng không hết còn tệ hơn không mua. Cam kết quá tay là kiểu hỏng duy nhất không có đường lui.

Term and paymentKỳ hạn và cách trả

All UpfrontAll Upfront whole term paid on day one — biggest discount, worst for cash flowtrả hết cả kỳ hạn ngay ngày đầu — chiết khấu lớn nhất, tệ nhất cho dòng tiền
Partial UpfrontPartial Upfront part now, the rest as a fixed monthly charge — the usual compromisetrả một phần ngay, phần còn lại theo phí cố định hàng tháng — lựa chọn dung hoà thường thấy
No UpfrontNo Upfront nothing today, billed hourly for the term — smallest discount but still realhôm nay không trả gì, tính theo giờ suốt kỳ hạn — chiết khấu nhỏ nhất nhưng vẫn đáng
1 year vs 3 years1 năm và 3 năm 1 year is the minimum; 3 years roughly doubles the saving and triples the regret if you're wrong1 năm là tối thiểu; 3 năm tiết kiệm gần gấp đôi và tiếc gấp ba nếu đoán sai
Order the discounts apply inThứ tự áp chiết khấu Reserved Instances are matched first, then Savings Plans are applied to whatever eligible usage is left — and applied to the usage with the highest savings percentage first. So holding both is fine; the RI never gets stranded by the plan. It also means a plan you bought for EC2 may quietly get consumed by Lambda usage instead. Reserved Instances được khớp trước, rồi Savings Plans mới áp lên phần usage đủ điều kiện còn lại — và ưu tiên phần usage có tỉ lệ tiết kiệm cao nhất. Nên giữ cả hai là ổn; RI không bao giờ bị plan làm cho thừa. Nhưng cũng có nghĩa plan bạn mua cho EC2 có thể lặng lẽ bị usage của Lambda ăn mất.

What Reserved Instances still ownPhần Reserved Instances vẫn giữ

Savings Plans replaced RIs for compute, not everywhere. Three things still send you back to reservations: non-compute services, capacity guarantees, and getting your money back. Savings Plans thay RI ở phần compute, nhưng không phải mọi nơi. Ba thứ vẫn buộc bạn quay lại reservation: service ngoài compute, đảm bảo capacity, và lấy lại tiền.

Non-compute reservationsReservation ngoài compute RDS, ElastiCache, Redshift, OpenSearch, DynamoDB reserved capacity — no Savings Plan covers any of themRDS, ElastiCache, Redshift, OpenSearch, reserved capacity của DynamoDB — không Savings Plan nào bao phủ
Zonal RI = capacityZonal RI = capacity an RI scoped to one AZ reserves capacity there. A regional RI does not — it only gives the discount, plus size flexibilityRI gắn phạm vi một AZ sẽ giữ chỗ capacity ở đó. RI regional thì không — chỉ cho chiết khấu, kèm linh hoạt về size
RI MarketplaceRI Marketplace unused Standard RIs can be sold to other customers. Convertible RIs and Savings Plans cannot be sold at allRI Standard không dùng có thể bán lại cho khách khác. Convertible RI và Savings Plans thì không bán được
Queued purchasesĐặt lịch mua schedule an RI purchase for a future date — the standard way to renew without a gapđặt lịch mua RI vào một thời điểm tương lai — cách chuẩn để gia hạn không bị hở
Renewal, without a calendar reminderGia hạn mà không cần nhắc lịch RIs do not auto-renew; when the term ends the usage silently reverts to on-demand and the bill jumps. The fix is queueing: schedule and reserve ahead of time a purchase dated for the moment the current RI expires. Set it the day you buy, not the month it lapses. RI không tự gia hạn; hết kỳ hạn là usage lặng lẽ quay về giá on-demand và hoá đơn nhảy vọt. Cách xử lý là queue: đặt trước một lệnh mua với ngày trùng đúng lúc RI hiện tại hết hạn. Hãy đặt ngay hôm mua, đừng đợi tới tháng nó hết.

Across an OrganizationTrong một Organization

Under consolidated billing, a commitment bought in one account discounts matching usage in every account. That's the default, and it's usually what you want — a plan is never stranded because the team that bought it scaled down. Với consolidated billing, cam kết mua ở một account sẽ chiết khấu cho usage khớp ở mọi account. Đó là mặc định, và thường là điều bạn muốn — plan không bao giờ bị bỏ phí chỉ vì đội mua nó thu nhỏ quy mô.

The exam detailChi tiết đề thi hay hỏi The payer / management account can turn discount sharing OFF — for RIs and for Savings Plans — for any account in the organization, including itself. That's the answer whenever a question says "one team's reservations must benefit only that team" or "the shared services account must not absorb the discount". A discount is shared only when both sides have sharing on — the account that owns it and the account that would use it; switch it off on either side and that account is fenced out. Payer / management account có thể TẮT chia sẻ chiết khấu — cho cả RI lẫn Savings Plans — với bất kỳ account nào trong organization, kể cả chính nó. Đó là đáp án mỗi khi đề nói "reservation của một đội chỉ được phục vụ đội đó" hoặc "account shared services không được hút mất chiết khấu". Discount chỉ được share khi cả hai phía đều bật sharing — account sở hữu lẫn account muốn dùng; tắt ở một bên là account đó bị tách ra.
Sharing on (default)Bật chia sẻ (mặc định) Sharing off for an accountTắt chia sẻ cho một account
Who gets the discountAi được chiết khấu any matching usage anywhere in the orgmọi usage khớp ở bất kỳ đâu trong org that account is fenced off — its usage neither gives nor takesaccount đó bị tách ra — usage của nó không cho cũng không nhận
Good forHợp với maximising utilisation of what you boughttận dụng tối đa thứ đã mua chargeback fairness — a team pays for and keeps its own commitmentcông bằng khi chargeback — đội nào trả tiền thì đội đó giữ cam kết
Who sets itAi đặt nobody — it just iskhông ai — mặc định vốn thế the management account only, in Billing preferences, per accountchỉ management account, trong Billing preferences, theo từng account

On-Demand Capacity Reservations — holding a seatOn-Demand Capacity Reservation — giữ chỗ

Every option on this page holds a price. An ODCR holds a seat — a guaranteed slot for N × instance-type in one specific AZ. It is the only one of these with no long-term commitment, and the only one you can cancel this afternoon. Mọi lựa chọn trên trang này giữ giá. ODCR giữ chỗ — một slot đảm bảo cho N × loại instance trong một AZ cụ thể. Nó là cái duy nhất ở đây không cam kết dài hạn, và là cái duy nhất bạn huỷ được ngay chiều nay.

How it bills — the counter-intuitive partCách tính tiền — phần phản trực giác An ODCR has no separate reservation fee and no discount. You pay the ordinary On-Demand rate for the reserved slot — whether or not an instance is sitting in it. Reserve two t4g.small and run one, and you pay for two. Stop the instance without cancelling the reservation and you keep paying. Cancelling the reservation is what stops the meter. ODCR không có phí đặt chỗ riêng và không có giảm giá. Bạn trả đúng giá On-Demand thường cho slot đã giữ — dù có instance ngồi trong đó hay không. Đặt hai t4g.small mà chạy một, bạn vẫn trả tiền hai. Stop instance mà không huỷ reservation thì vẫn trả tiền. Huỷ reservation mới là thứ dừng đồng hồ.
t4g.small · Linux · ap-southeast-1 ≈ $0.0212/h ≈ $15.48/tháng

reserve 1 slot, chạy 1 EC2 trong slot     →  ~$0.0212/h   (không phụ phí ODCR)
reserve 1 slot, không chạy gì             →  ~$0.0212/h   (vẫn trả như đang chạy)
reserve 1 slot bỏ trống + chạy 1 EC2 khác →  ~$0.0424/h   (trả hai lần)

có thể ghép: Savings Plan (giữ giá) + ODCR (giữ chỗ) trên cùng capacity
  • On-Demand instances are never reclaimed by AWS to free capacity — that's the whole difference from Spot. But nothing guarantees you can launch a new one: an ASG replacing a failed instance can hit InsufficientInstanceCapacity. An ODCR is what removes that risk.Instance On-Demand không bao giờ bị AWS thu hồi để lấy lại capacity — đó là toàn bộ khác biệt với Spot. Nhưng không gì đảm bảo bạn launch được máy mới: ASG thay một instance hỏng có thể gặp InsufficientInstanceCapacity. ODCR là thứ xoá rủi ro đó.
  • So an ODCR isn't really protecting the instance that's running — it's protecting your ability to launch or restart one when something breaks.Vậy ODCR không thật sự bảo vệ instance đang chạy — nó bảo vệ khả năng launch hoặc khởi động lại khi có sự cố.
  • An ODCR is zonal. Spreading critical capacity means one reservation per AZ; concentrating it all in one AZ defeats the purpose.ODCR là zonal. Rải capacity quan trọng nghĩa là mỗi AZ một reservation; dồn hết vào một AZ là hỏng mục đích.
  • Capacity Blocks are the scheduled-window cousin, mainly for GPU/ML: you book specific hardware for a fixed future time range.Capacity Block là người anh em theo lịch, chủ yếu cho GPU/ML: bạn đặt phần cứng cụ thể cho một khoảng thời gian cố định trong tương lai.
Splitting a workload by SLAChia workload theo SLA The classic question hands you a mixed workload — say 65% scheduled jobs with tight SLAs and 35% ad-hoc user jobs that can be delayed — and asks for "consumption-based, no long-term commitment". Put the SLA share on On-Demand + ODCR, the delayable share on Spot, and spread both evenly across three AZs. Answers that concentrate the guaranteed capacity in one AZ, or that use a Savings Plan (a 1–3 year commitment that guarantees no capacity), are the wrong ones. Câu kinh điển đưa bạn một workload hỗn hợp — ví dụ 65% job theo lịch có SLA chặt và 35% job người dùng có thể trì hoãn — rồi hỏi "theo mức tiêu thụ, không cam kết dài hạn". Đặt phần có SLA lên On-Demand + ODCR, phần trì hoãn được lên Spot, và rải cả hai đều trên ba AZ. Đáp án dồn capacity đảm bảo vào một AZ, hoặc dùng Savings Plan (cam kết 1–3 năm mà không đảm bảo capacity), là đáp án sai.

Things that catch you outNhững chỗ dễ vấp

  • Right-size before you commit. A 3-year plan on instances that are half idle locks the waste in for three years. Compute Optimizer first, Cost Explorer Savings Plans recommendations second, purchase third — in that order, never the reverse. Right-size trước khi cam kết. Plan 3 năm trên đám instance chạy nửa công suất là khoá lãng phí suốt ba năm. Compute Optimizer trước, gợi ý Savings Plans của Cost Explorer sau, rồi mới mua — đúng thứ tự đó, đừng ngược lại.
  • A Savings Plan cannot be cancelled, returned or sold. Convertible RIs can only be exchanged (never cancelled); only Standard RIs have a resale route. Treat every purchase as final. Savings Plan không huỷ, không trả, không bán được. Convertible RI chỉ có thể đổi (không huỷ được); chỉ Standard RI mới có đường bán lại. Coi mọi lần mua là chốt luôn.
  • An EC2 Instance Savings Plan is welded to its family and region. Buying one the quarter before a region migration or a Graviton move is a very expensive mistake — that case wants a Compute plan. EC2 Instance Savings Plan bị hàn chặt vào family và region đã chọn. Mua nó ngay trước quý chuyển region hay chuyển sang Graviton là sai lầm rất đắt — trường hợp đó phải dùng Compute plan.
  • Regional RI ≠ reserved capacity. Only a zonal RI or an On-Demand Capacity Reservation actually holds hardware for you. If a question mixes "guaranteed capacity" with "lower cost", they are two separate answers. RI regional ≠ giữ chỗ capacity. Chỉ RI phạm vi zonal hoặc On-Demand Capacity Reservation mới thật sự giữ phần cứng cho bạn. Nếu đề trộn "đảm bảo capacity" với "giảm chi phí", đó là hai đáp án tách biệt.
  • Coverage and utilisation are two different metrics. High utilisation with low coverage means you under-bought; low utilisation means you over-bought. Track both in Cost Explorer and alert on them with the reservation and savings-plans budget types in Budgets. Coverage và utilisation là hai chỉ số khác nhau. Utilisation cao mà coverage thấp nghĩa là mua thiếu; utilisation thấp nghĩa là mua thừa. Theo dõi cả hai trong Cost Explorer và đặt cảnh báo bằng loại budget cho reservation và savings plans trong Budgets.
  • Commitments cover compute, not the extras. EBS volumes, data transfer, Elastic IPs and licensing are untouched — the bill never falls by the headline percentage. Cam kết chỉ bao phủ compute, không bao phủ phần phụ. EBS volume, data transfer, Elastic IP và license vẫn nguyên giá — hoá đơn không bao giờ giảm đúng bằng con số phần trăm quảng cáo.

Exam reflexesPhản xạ khi thi

The question says…Đề nói… AnswerTrả lời
"Steady spend, but they may change instance families or move to Fargate / Lambda""Chi tiêu ổn định, nhưng có thể đổi instance family hoặc chuyển sang Fargate / Lambda" Compute Savings Plan — the only one flexible across compute typeCompute Savings Plan — cái duy nhất linh hoạt qua loại compute
"Certain of the family and region for 3 years, want the maximum discount""Chắc chắn về family và region trong 3 năm, muốn chiết khấu tối đa" EC2 Instance Savings Plan (or Standard RI) — ~72%, All UpfrontEC2 Instance Savings Plan (hoặc Standard RI) — ~72%, All Upfront
"One account's reservations must not benefit other accounts""Reservation của một account không được lợi cho account khác" The management account turns off RI / Savings Plans discount sharing for that accountManagement account tắt chia sẻ chiết khấu RI / Savings Plans cho account đó
"Reservations must renew with no gap and no manual step""Reservation phải gia hạn liền mạch, không thao tác tay" Queue an RI purchase dated for the current one's expiryQueue một lệnh mua RI vào đúng ngày cái hiện tại hết hạn
"Cut steady RDS / ElastiCache / Redshift / OpenSearch cost""Giảm chi phí RDS / ElastiCache / Redshift / OpenSearch chạy ổn định" Reserved Instances / Reserved Nodes — Savings Plans don't cover themReserved Instances / Reserved Nodes — Savings Plans không bao phủ
"Recommend the right commitment, and warn us if utilisation drops""Gợi ý mức cam kết hợp lý, và cảnh báo khi utilisation tụt" Cost Explorer recommendations + a savings-plans Budget; right-size with Compute Optimizer firstGợi ý của Cost Explorer + một Budget loại savings plans; right-size bằng Compute Optimizer trước