Back to course

EC2 Instance Types and Pricing Models

AWS Cloud Practitioner to Architect: 0 to Hero

EC2 Instance Types and Pricing

Instance Types Categories:

  • General Purpose: Balanced (T2, T3, M5).
  • Compute Optimized: High performance (C5, C6g).
  • Memory Optimized: Fast processing of large datasets (R5, X1).
  • Storage Optimized: High local storage IOPS (I3, D2).

Pricing Models:

  1. On-Demand: Pay by the second. No commitment. Best for short-term.
  2. Reserved Instances (RI): Commit to 1-3 years for up to 75% discount.
  3. Spot Instances: Use spare AWS capacity. Up to 90% discount, but can be reclaimed by AWS with 2-min warning. Best for stateless apps.
  4. Savings Plans: Commit to usage (e.g., $10/hr) for discounts.