SkillSprout
Chapter 6 · Lesson 1
Beginner
5 min read

AWS Pricing Models and the Free Tier

Overview

AWS pricing is built on a few simple ideas: pay as you go, pay less when you reserve (commit) and pay less as you use more (volume discounts). Behind every bill are three basic cost drivers: compute, storage and outbound data transfer.

Think of a phone plan. You can pay per minute (on-demand), sign a one- or three-year contract for a lower rate (Reserved Instances or Savings Plans), or use spare minutes at a deep discount when the network is quiet (Spot). Big families on shared plans pay less per line (volume discounts).

The AWS Free Tier lets you explore many services at no cost. This lesson covers the pricing models and what is free, which are frequent exam topics.

Key Concepts

  • Pay as you go: no upfront commitment; you pay only for what you use, billed per second, hour or request depending on the service.
  • Pay less when you reserve: Reserved Instances and Savings Plans give up to roughly 72% off On-Demand for a 1- or 3-year commitment.
  • Pay less as you use more: tiered pricing for services such as S3 and data transfer lowers the per-unit price as volume grows.
  • Spot Instances use spare capacity at up to about 90% off but can be interrupted with a two-minute warning.
  • The three main cost drivers are compute, storage and outbound data transfer; inbound data transfer is free.
  • The Free Tier has three types: always free, 12 months free (new accounts) and short-term trials; newer accounts also get credits-based free plans.
  • Data transfer between AZs in a Region and out to the internet is charged; transfer within the same AZ using private IPs is free.
  • Some services (for example IAM, Organizations, VPC, Auto Scaling, CloudFormation) have no additional charge - you pay only for the resources they create.

Detailed Notes

How AWS charges for common services

ServicePricing dimensions
EC2Instance type, hours or seconds, purchasing option, OS, Region, plus EBS and data transfer
S3GB stored per month, requests, data retrieval (IA/Glacier), data transfer out
LambdaNumber of requests and GB-seconds of duration (1 million requests free monthly)
RDSInstance hours, storage, backup storage beyond free amount, Multi-AZ, data transfer
DynamoDBOn-demand read/write units or provisioned capacity, storage
Data transferOut to the internet, between Regions; in is free

EC2 and compute purchasing options

OptionCommitmentDiscountInterruptible?
On-DemandNone0%No
Savings Plans (Compute / EC2 Instance)1 or 3 years of $ per hourUp to ~66-72%No
Reserved Instances (Standard / Convertible)1 or 3 yearsUp to ~72%No
SpotNoneUp to ~90%Yes
Dedicated Hosts / InstancesOptionalVariesNo

Savings Plans commit to a dollar amount per hour and apply flexibly: Compute Savings Plans cover EC2 regardless of instance family or Region, plus Fargate and Lambda. Reserved Instances commit to a specific configuration; Convertible RIs allow changing attributes. Payment options are All Upfront, Partial Upfront and No Upfront - more upfront means a bigger discount.

Free Tier

TypeMeaningExample
Always freeNever expiresLambda 1M requests per month, DynamoDB 25 GB
12 months freeStarts at sign-upEC2 t-family hours, S3 5 GB (offers evolve)
TrialsShort-term from first useSome analytics or ML services

Always check the current Free Tier page; offers and credit-based plans change over time.

Data transfer costs in practice

DirectionCost
Internet to AWS (inbound)Free
AWS to internet (outbound)Charged, with some monthly free allowance
Same AZ, private IPFree
Between AZs in a RegionSmall charge per GB each way
Between RegionsCharged
S3 to CloudFrontFree; CloudFront to internet charged at its own rates

A design tip: put chatty components in the same AZ when high availability is not required, and use CloudFront to reduce outbound transfer.

Cost-aware CLI example

bash
# Find running instances you might be able to stop or right-size
aws ec2 describe-instances --filters Name=instance-state-name,Values=running \
  --query "Reservations[].Instances[].[InstanceId,InstanceType,LaunchTime]" --output table

Stopped versus terminated

A stopped EC2 instance stops compute charges, but attached EBS volumes and Elastic IPs still cost money. A terminated instance releases compute and (by default) its root volume.

Principle summary

json
{
  "payAsYouGo": "Use it, pay for it",
  "payLessWhenYouReserve": "Commit 1 or 3 years for discounts",
  "payLessAsYouUseMore": "Tiered volume pricing",
  "freeInbound": "Data in is free, data out is charged"
}

Real World Example

A software company runs a steady baseline of web servers all year and buys a Compute Savings Plan for that baseline, cutting that spend by more than a third. Traffic bursts above the baseline run on On-Demand, while the nightly video-processing jobs run on Spot Instances at a fraction of the price.

Finance notices rising outbound transfer fees and puts CloudFront in front of the downloads, reducing both latency and cost. New developers practise on a sandbox account using Free Tier services only.

Architecture Diagram

Matching workload to pricing model
Architecture
Compute demand over time
Steady baselineSavings Plan / RI
SpikesOn-Demand
Flexible batchSpot
Lower blended cost
  1. 1Measure the steady baseline usage that runs all year.
  2. 2Commit to that baseline with Savings Plans or Reserved Instances.
  3. 3Cover unpredictable peaks with On-Demand capacity.
  4. 4Run interruptible, flexible jobs on Spot for the deepest discount.

Best Practices

  • ✓Commit with Savings Plans / RIs only for steady, predictable usage.
  • ✓Use Spot for fault-tolerant and flexible workloads.
  • ✓Delete idle resources - stopped instances still pay for EBS and Elastic IPs.
  • ✓Reduce outbound data transfer with CloudFront and Regional design.
  • ✓Check the Free Tier limits regularly and set a budget alert for sandbox accounts.

Common Interview Questions

Exam Tips

CLF-C02 focus

  • "Interruptible, cheapest" = Spot; "steady 1-3 year usage" = RI / Savings Plans.
  • "Predictable workload, flexible instance types" = Compute Savings Plans.
  • Data in = free; data out = charged.
  • Services like IAM, VPC, Auto Scaling and CloudFormation have no extra charge.

Finished this lesson?

0 of 43 lessons done · 0% of the course