EC2 Instance Type Selection

Choosing the right EC2 instance family for compute, memory, storage, and accelerated workloads.

Overview

What is being compared

EC2 offers over 600 instance types, grouped into families tuned for different workload profiles. Choosing poorly means paying for capacity you do not use, or hitting bottlenecks you cannot escape without downtime. The table sums up the five family groups.

  • General purpose (T, M) — CPU and memory balanced — T: burstable dev and low-traffic work. M: web and application servers
  • Compute optimized (C) — Higher CPU ratio — CPU-bound batch processing and HPC
  • Memory optimized (R) — Built for in-memory data — In-memory databases and caching
  • Storage optimized (I) — High IOPS storage — High IOPS storage workloads
  • Accelerated (P, G) — GPU compute — Machine learning and GPU compute

Sign up free to read the full topic

More Comparisons topics

Start free on Cariara · Coding problems · System design studio