0%
AWS Solutions Architect Associate (SAA-C03) Exam Prep: Secure, Resilient, High-Performing and Cost-Optimized Architectures
Domain 1: Design Secure Architectures
Domain 2: Design Resilient Architectures
Domain 3: Design High-Performing Architectures
Final Review and Mock Exams
Cost-Optimized Compute
Compute is usually the largest line on an AWS bill, and the exam's cost domain expects you to choose purchase options, sizes and architectures that deliver the required performance at the lowest cost. EC2 Instance Families and Purchase Options and The Cost Model and Reading the Bill in the AWS in Practice course cover the details in depth.
On-Demand Instances
On-Demand Instances bill per second, with a one minute minimum for Linux, and need no commitment. They suit short lived, unpredictable workloads, new applications whose usage is unknown and workloads that cannot be interrupted and will not run long enough to justify a commitment. On-Demand is the most expensive way to run steady workloads, so most cost questions ask how to move steady usage off it.
Savings Plans
Savings Plans give discounts of up to about 72 percent in exchange for a commitment to a fixed amount of compute spend per hour, such as 10 dollars per hour, for one or three years. Compute Savings Plans apply automatically to EC2 usage in any family, size, Region and operating system, and to Fargate and Lambda, so they stay useful as architectures change. EC2 Instance Savings Plans give larger discounts but apply only to one instance family in one Region, while still allowing changes in size, operating system and tenancy within that family. Payment can be all upfront, partial upfront or no upfront, with larger discounts for paying more upfront and for three year terms.
Reserved Instances
Reserved Instances are the older commitment model, giving similar discounts for a one or three year commitment to a specific instance configuration. Standard Reserved Instances give the largest discount and can be sold on the Reserved Instance Marketplace. Convertible Reserved Instances allow exchanges for other families, operating systems or tenancies at a smaller discount. Zonal Reserved Instances also reserve capacity in a specific Availability Zone, while regional ones give flexibility across zones and sizes in the family. For EC2, Savings Plans are now usually recommended because they are simpler and more flexible, but Reserved Instances remain the commitment model for RDS, ElastiCache, OpenSearch and Redshift.
On-Demand Capacity Reservations
Capacity Reservations guarantee capacity for a specific instance type in a specific zone for any duration, without a term commitment, and bill at On-Demand rates whether or not instances run. They can be combined with Savings Plans or regional Reserved Instances to receive the discount. They suit critical events or disaster recovery plans that must be certain to get capacity. Questions asking how to guarantee capacity in a zone for a short event point to Capacity Reservations, not Reserved Instances.
Spot Instances
Spot Instances use spare EC2 capacity at discounts of up to 90 percent. AWS can reclaim them with a two minute notice when it needs the capacity. They suit fault tolerant, flexible workloads such as batch processing, data analysis, CI builds, rendering, stateless web servers in mixed fleets and containers. They do not suit databases, single instance stateful applications or anything that must not be interrupted. Prices change gradually with long term supply and demand, and there is no bidding in the old sense; you can set a maximum price but usually leave it at the On-Demand price.
Dedicated Hosts and Dedicated Instances
Dedicated Hosts are physical servers allocated to you, giving visibility of sockets and cores for bring your own license software such as some Windows Server, SQL Server or Oracle licences, and for compliance needs. Dedicated Instances run on hardware dedicated to your account but without host level visibility. Both cost more than shared tenancy. A question that mentions licensing tied to physical cores or sockets points to Dedicated Hosts.
Choosing an option
Steady workloads running all year belong on Savings Plans or Reserved Instances. Workloads that can be interrupted belong on Spot. Unknown or short workloads stay on On-Demand until their pattern is clear. Licensing by core needs Dedicated Hosts. Capacity guarantees use Capacity Reservations. Most real fleets combine several options.
Reading cost clues in questions
Exam scenarios describe workloads in ways that point to a purchase option. Phrases such as runs continuously, steady state or known for the next three years point to commitments. Phrases such as can be interrupted, flexible start time, stateless or checkpointed point to Spot. Phrases such as short term, unknown usage or new application point to On-Demand. Phrases such as must be able to launch during the event point to Capacity Reservations. Phrases such as existing licences per core point to Dedicated Hosts. Phrases such as might move to containers or serverless point to Compute Savings Plans. Spotting these clues before reading the options eliminates most distractors.
Payment options and terms
A three year term gives a larger discount than a one year term, and all upfront payment gives a larger discount than partial or no upfront payment. The trade off is cash flow and flexibility: a startup with uncertain plans may prefer a one year, no upfront plan even at a smaller discount, while a stable enterprise workload may favour three years all upfront. Questions that stress the maximum discount expect three years all upfront; questions that stress flexibility or uncertain futures expect one year terms and Compute Savings Plans.
How discounts are applied
Savings Plans and Reserved Instances are billing constructs, not instances. You keep launching normal instances, and the billing system applies the discount to matching usage each hour. If usage falls below the commitment, the unused part is still charged. Reserved Instances and Savings Plans purchased in a management account are shared across accounts in an AWS Organization by default, so a commitment unused in one account can cover usage in another. This sharing makes centrally purchased commitments more efficient.
Reserved Instance flexibility details
Regional Reserved Instances for Linux apply across sizes in the same family through normalisation factors, so one m5.2xlarge reservation can cover two m5.xlarge instances. Zonal Reserved Instances do not have this size flexibility but reserve capacity. Convertible Reserved Instances can be exchanged for others of equal or greater value. Standard Reserved Instances that are no longer needed can be sold on the Reserved Instance Marketplace, though Convertible ones cannot.
Worked example: choosing purchase options for four workloads
A company has four workloads. A production database server on EC2 runs constantly and will not change for three years, so it gets an EC2 Instance Savings Plan for maximum discount. A web fleet that may move to Fargate next year gets a Compute Savings Plan for its baseline. A video rendering farm that can restart frames runs on Spot. A new analytics prototype whose usage is unknown runs On-Demand for two months before any commitment is considered. Each choice follows the workload's stability, flexibility and tolerance for interruption.
Quick check
For any purchase option question, ask: Does the workload run steadily? Is its instance family or Region likely to change? Can it be interrupted? Is guaranteed capacity required for a specific time? Are there licensing constraints? The answers map directly to Savings Plans types, Spot, Capacity Reservations or Dedicated Hosts.
Final tip
Remember that Spot is about interruption tolerance, not just price. If a question says the workload cannot be interrupted, eliminate Spot regardless of how attractive its discount looks.
Commitments for other services
Discounts for commitment exist beyond EC2. RDS, Aurora, ElastiCache, OpenSearch, Redshift and DynamoDB provisioned capacity offer reserved capacity or Reserved Instances for one or three years. SageMaker has its own Savings Plans for machine learning instances. When a question asks how to reduce the cost of a steady database or cache that will run for years, reserved capacity for that service is usually the answer, because Compute Savings Plans do not cover RDS or ElastiCache.
Remember
On-Demand buys flexibility, commitments buy discounts for steady use, Spot buys the deepest discount for tolerance of interruption and Capacity Reservations buy certainty of capacity.
Compute Savings Plans cover EC2 in any family and Region plus Fargate and Lambda. Choose them when the architecture may change; choose EC2 Instance Savings Plans only when the family and Region are fixed for the term.