Amazon EC2 offers instance families optimized for different workload characteristics. The exam usually tests whether you can match the workload to the family—not whether you can memorize every instance size. Start by identifying the resource bottleneck: balanced compute, CPU, memory, local storage, or hardware acceleration.

The major EC2 instance families

Family Optimization Typical workloads
General purpose (T, M) Balanced compute, memory, and networking Web servers, application servers, small databases, development
Compute optimized (C) High CPU performance Batch processing, high-performance web servers, scientific modeling, gaming servers
Memory optimized (R, X, u and related) Large memory capacity In-memory databases, real-time analytics, large caches
Storage optimized (I, D, H) High local storage throughput or IOPS Distributed file systems, data warehousing, large-scale transactional databases
Accelerated computing (P, G, Inf, Trn) GPUs or purpose-built accelerators Machine learning training/inference, graphics, video processing, HPC

General purpose: balanced resources

M instances provide a balance of compute, memory, and networking for many application workloads. T instances are burstable and can be cost-effective for workloads with variable CPU utilization and baseline performance needs. They are not the best default for sustained, consistently high CPU demand without considering CPU credit behavior.

Compute optimized: CPU-heavy applications

C instances are designed for compute-intensive workloads. Consider them when CPU performance is the primary constraint, such as high-performance web servers, scientific modeling, batch processing, and some gaming or media workloads.

Memory optimized: large in-memory datasets

R and X families provide high memory capacity for workloads that process large datasets in memory. Examples include in-memory databases, caching, and real-time big-data analytics. Choose memory-optimized instances when memory capacity or memory bandwidth is the limiting factor.

Storage optimized: high local I/O

I, D, and H families target workloads that need high sequential throughput, high random I/O, or large local storage capacity. Examples include distributed file systems, data warehousing, and certain NoSQL or transactional databases. Understand the difference between local instance storage and durable network storage such as EBS; local instance-store data is generally ephemeral when an instance stops or terminates, depending on the instance-store behavior.

Accelerated computing: GPUs and specialized chips

P instances are commonly used for GPU-based machine learning training and high-performance computing. G instances target graphics-intensive workloads and some inference use cases. Inferentia-based Inf instances and Trainium-based Trn instances are designed for machine-learning inference and training respectively. Match the accelerator to the workload and software support.

How to select an instance

  1. Identify the workload’s bottleneck: CPU, memory, storage, or accelerator.
  2. Check the required network and EBS bandwidth, not just vCPU and RAM.
  3. Consider burstable behavior for variable workloads and sustained capacity for steady workloads.
  4. Validate architecture and software compatibility, including processor architecture and accelerator libraries.
  5. Benchmark representative traffic before committing to a family or size.

Exam traps

Test yourself

Question 1

A workload performs large-scale scientific simulations and is consistently CPU-bound. Which EC2 family should the architect evaluate first?

  1. R (memory optimized)
  2. C (compute optimized)
  3. D (storage optimized)
  4. G (graphics optimized)
Reveal answer

Correct answer: B. Compute-optimized C instances are designed for CPU-intensive workloads.

Question 2

A team trains deep-learning models using GPU acceleration. Which EC2 family should it consider?

  1. P
  2. T
  3. D
  4. M
Reveal answer

Correct answer: A. P instances provide GPU acceleration commonly used for machine-learning training and HPC.

Key takeaway

Map the bottleneck to the family: balanced workloads use general purpose, CPU-heavy workloads use compute optimized, large in-memory datasets use memory optimized, high local I/O uses storage optimized, and GPU or purpose-built ML workloads use accelerated computing.

Related topics

Amazon EC2 · EC2 Placement Groups · Amazon EBS

CloudExamPro Premium

Ready to pass your AWS exam?

Stop guessing whether you’re ready. Our full-length, exam-realistic practice exams put you through the exact question style you’ll face — with a detailed explanation behind every answer, so you learn why, not just what.

  • ✓  6 full-length practice exams
  • ✓  A detailed explanation for every single question
  • ✓  Realistic, scenario-based questions — not memory dumps
  • ✓  6 months of access to your selected certification pack

Explore the SAA-C03 Premium Practice Exams → or try 25 free SAA-C03 questions first