Pricing Models
Overview
AWS follows a pay-as-you-go model: there is no upfront hardware purchase, and you pay only for what you consume. The trick for a Solutions Architect is that the same EC2 instance can be bought in several different ways, and the right choice depends on how predictable and how interruptible your workload is.
Think of it like transport. On-Demand is a taxi: available instantly, most expensive per ride. Reserved Instances and Savings Plans are a monthly travel pass: you commit for one or three years and get a big discount. Spot is a standby seat that is very cheap, but you can be asked to get off with two minutes' notice. Dedicated options are renting the whole bus for licensing or compliance reasons.
Beyond compute, you also pay for storage, requests and, importantly, data transfer. Data coming into AWS is free, but data leaving AWS or crossing AZs and Regions is charged. Many "surprise bills" come from these hidden transfer costs, so the exam loves to test them.
Key Concepts
- On-Demand has no commitment; billed per second (60-second minimum) for Linux/Windows EC2, per hour for some Marketplace/RHEL/SUSE AMIs.
- Reserved Instances / Savings Plans commit to 1 or 3 years for up to ~72% off On-Demand.
- Spot Instances give up to 90% off using spare capacity, but AWS can reclaim them with a 2-minute warning.
- Dedicated Hosts (physical server, per-socket/core BYOL) and Dedicated Instances (single-tenant hardware) meet licensing or compliance needs.
- On-Demand Capacity Reservations reserve capacity in one AZ with no discount and no term.
- Data transfer IN is free; data OUT to the internet, cross-AZ and cross-Region is charged.
- Traffic over private IPs in the same AZ is free; traffic between AZs costs about $0.01/GB each direction.
- The Free Tier has three flavours: always-free, 12-month (legacy accounts) and short trials. New accounts since mid-2025 get a credit-based Free Plan.
Detailed Notes
Compute purchasing options
| Option | Commitment | Discount (max) | Interruptible? | Best for |
|---|---|---|---|---|
| On-Demand | None | 0% (baseline) | No | Spiky, unpredictable, short-lived, first-time workloads |
| Savings Plans | 1 or 3 yrs ($/hour) | ~72% | No | Steady usage with flexibility across instance types |
| Reserved Instances | 1 or 3 yrs (instance) | ~72% | No | Steady, predictable usage (also RDS, ElastiCache, Redshift) |
| Spot | None | ~90% | Yes (2-min notice) | Batch, CI/CD, big data, stateless web, containers |
| Dedicated Host | On-Demand or 1/3 yrs | Varies | No | BYOL (per-socket/core/VM licences), compliance |
| Dedicated Instance | None | Premium over shared | No | Hardware isolation without host-level visibility |
| Capacity Reservation | None | None | No | Guarantee capacity in a specific AZ (e.g. DR events) |
Spot Instances in practice
- Spot prices are set by supply and demand; you no longer bid, you simply pay the current Spot price (optionally with a max price).
- When AWS needs the capacity back you receive a 2-minute interruption notice through instance metadata and an EventBridge event. An earlier rebalance recommendation signal may arrive.
- Use Spot Fleet / EC2 Fleet or an Auto Scaling group with a mixed instances policy and the price-capacity-optimized allocation strategy to diversify across many instance types and AZs.
- A Spot request is one-time or persistent. To stop a persistent request you must cancel the request first, then terminate the instances, otherwise it relaunches them.
- Never run stateful single-node databases on Spot; use it for fault-tolerant, flexible workloads.
Dedicated options compared
| Feature | Dedicated Instance | Dedicated Host |
|---|---|---|
| Physical server visibility (sockets, cores, host ID) | No | Yes |
| Per-socket/per-core BYOL licensing | No | Yes |
| Host affinity / instance placement control | No | Yes |
| Billing | Per instance + per-Region fee | Per host |
Data transfer pricing (rules of thumb)
| Path | Cost |
|---|---|
| Internet into AWS | Free |
| AWS out to the internet | About $0.09/GB (tiered; first 100 GB/month free across services) |
| Same AZ, using private IP | Free |
| Between AZs in a Region | About $0.01/GB each direction |
| Between Regions | About $0.02/GB (varies by Region pair) |
| S3 -> CloudFront | Free (CloudFront egress to users is cheaper than direct S3/EC2 egress) |
| NAT Gateway | Hourly charge plus per-GB processing charge |
| S3 / DynamoDB Gateway endpoint | Free (avoids NAT processing fees) |
| Direct Connect | Lower per-GB egress than internet |
Using a public or Elastic IP between two instances in the same AZ is billed as regional data transfer even though the instances are neighbours. Use private IPs whenever possible.
Free Tier
- Always free: for example 1 million Lambda requests and 400,000 GB-seconds per month, 25 GB DynamoDB storage, 10 custom CloudWatch metrics.
- 12 months free (accounts created before July 2025): 750 hours per month of t2.micro/t3.micro, 5 GB S3 Standard, 750 hours RDS Single-AZ micro.
- Short-term trials: for services such as Inspector or SageMaker.
- Accounts created from mid-2025 start on a Free Plan (up to 6 months or until credits of up to roughly $200 are used), then must upgrade to a paid plan.
Reading the bill
# Estimate spend for the last month grouped by service
aws ce get-cost-and-usage \
--time-period Start=2025-05-01,End=2025-06-01 \
--granularity MONTHLY \
--metrics UnblendedCost \
--group-by Type=DIMENSION,Key=SERVICE
Consolidated billing in AWS Organizations combines usage across accounts so that volume tiers (S3, data transfer) and RI/Savings Plan discounts are shared.
Real World Example
Scenario — a media company runs video transcoding and a public website.
The website has a predictable baseline of about 20 EC2 instances 24/7, with evening peaks up to 60. Transcoding jobs arrive in bursts, can be retried, and are CPU-heavy.
The architects split the purchasing strategy: the 20 baseline instances are covered by a 3-year Compute Savings Plan, giving roughly 60% savings and flexibility to move to Graviton later. Evening peaks use On-Demand instances in an Auto Scaling group. The transcoding fleet runs on Spot Instances across six instance types with SQS as a buffer, so an interruption simply returns the message to the queue. Logs and media are served through CloudFront, which cuts internet egress charges compared with serving directly from EC2 and S3.
After a data transfer review they also discover that a chatty microservice pair was talking across AZs over public IPs; moving to private IPs and AZ-aware routing removed thousands of dollars of monthly transfer cost.
Architecture Diagram
Baseline capacity is committed, peaks are On-Demand and fault-tolerant work uses Spot.
- 1Users reach the site through CloudFront, which caches content and lowers data-transfer-out cost.
- 2The ALB spreads requests across the Auto Scaling group.
- 3Baseline instances are covered by a Savings Plan, extra peak capacity is On-Demand and interruptible batch workers run on Spot.
- 4Cost Explorer shows coverage and utilisation so the commitment can be tuned over time.
Best Practices
- ✓Right-size first, commit second. Committing to oversized instances locks in waste.
- ✓Cover the steady baseline with Savings Plans/RIs, handle peaks with On-Demand and flexible work with Spot.
- ✓Diversify Spot across many instance types and AZs and handle the 2-minute notice (checkpointing, SQS re-queue, graceful drain).
- ✓Prefer private IPs and same-AZ traffic between components; use Gateway endpoints for S3/DynamoDB to avoid NAT processing fees.
- ✓Put CloudFront in front of content-heavy workloads; its egress rates and S3-to-CloudFront transfer are cheaper than direct egress.
- ✓Use consolidated billing through AWS Organizations to share volume discounts and commitments.
- ✓Tag all resources and review the bill monthly, since data transfer and idle resources are the most common hidden costs.
- ✓Move to Graviton (Arm) instances where compatible for better price-performance.
Common Interview Questions
Exam Tips
SAA-C03 focus
- "Fault-tolerant / flexible start and end time / lowest cost" -> Spot.
- "Steady-state, 1–3 years, predictable" -> Reserved Instances or Savings Plans.
- "Unpredictable, short-term, cannot be interrupted" -> On-Demand.
- "Bring your own server-bound licence (per-socket or per-core)" -> Dedicated Host.
- Data transfer IN is free; cross-AZ and cross-Region transfer are charged; same-AZ private IP is free.
- Reduce NAT Gateway costs for S3/DynamoDB traffic with a Gateway VPC endpoint (free).
- A Spot request that is persistent: cancel the request then terminate the instances.
- Capacity Reservations = capacity guarantee, no discount; zonal Reserved Instances give both discount and capacity.
Finished this lesson?
0 of 64 lessons done · 0% of the course

