Pricing & Billing

💤0
Lv 10 XP
← 🟧 Amazon Web Services · Cloud Practitioner

Pricing & Billing

Beginner ⭐ 50 XP ⏱ 15 min #aws#pricing#billing#cost

How AWS charges, the EC2 purchase options, and the tools to control spend.

📖Theory

AWS pricing rests on three fundamentals: pay for compute, pay for storage, and pay for data transfer out (inbound is usually free; egress costs). Beyond that, EC2 purchase options trade commitment for discount:

  • On-Demand — no commitment, highest rate; for spiky/unknown workloads
  • Savings Plans / Reserved Instances — commit 1–3 years for big savings
  • Spot — spare capacity at up to ~90% off, can be reclaimed; for fault-tolerant work
  • Dedicated Hosts — physical isolation for licensing/compliance

Manage spend with Cost Explorer (analyze), Budgets (alerts), Cost and Usage Reports, and consolidated billing across an Organization.

🌍Real-World Example
Choosing an EC2 purchase option:
  Steady 24/7 web server     → Savings Plan / Reserved (big discount)
  Unpredictable dev/test     → On-Demand
  Batch render, can restart  → Spot (cheapest)
  Licensed software per core → Dedicated Host
✍️Hands-On Exercise
  1. Match a workload to each EC2 purchase option and justify it.
  2. Explain why inbound data transfer is usually free but outbound is charged.
  3. Set up (in words) a Budget alert at 80% of a monthly threshold.
  4. Name two tools for analyzing where your AWS spend goes.
🧾Cheat Sheet
OptionBest for
On-DemandSpiky/unknown workloads
Savings Plans / RISteady, 1–3yr commitment
SpotCheap, interruptible jobs
Dedicated HostLicensing/compliance
Cost ExplorerAnalyze spend
BudgetsAlerts on spend
Free TierLimited free usage
💬Common Interview Questions
What are the main EC2 pricing models?

On-Demand (no commitment), Savings Plans/Reserved Instances (commit 1–3 years for discounts), Spot (deeply discounted spare capacity that can be reclaimed), and Dedicated Hosts (physical isolation).

When would you use Spot Instances?

For fault-tolerant, interruptible workloads — batch processing, CI, rendering — where the up-to-90% discount outweighs the risk of being reclaimed.

📚Official Documentation

📝 My notes on this topic

Auto-saves as you type