Certablo
← Knowledge Base

EC2 Instance Types & Families

How EC2 families and sizes map workload requirements to CPU, memory, storage, networking and accelerators—and why right-sizing is a measurement problem rather than a naming exercise.

CLF-C02

Visual overview

RIGHT-SIZINGChoose the resource profile that matches the workload bottleneck
01General purposeBalanced compute, memory, and networking
02Compute optimizedMore compute for CPU-bound work
03Memory optimizedMore memory for memory-bound work
04Storage optimizedHigh local storage throughput or IOPS
05AcceleratedGPU or specialized hardware acceleration
06Size within familyScale resources without changing the workload class
Instance families describe workload-oriented resource profiles. Sizes within a family provide different amounts of those resources.
AWS SERVICE MAPInstance family follows workload shape

Choose the family after identifying the resource bottleneck.

General purposeBalanced resources
Compute optimizedCPU intensive
Memory optimizedMemory intensive
EXAM-RELEVANT MECHANICS

Technical reference

Instance families encode workload intent; exact catalog memorization is less useful than matching the bottleneck.

General purposeBalanced

Balanced compute, memory, and networking.

Compute optimizedCPU weighted

For compute-bound processing.

Memory optimizedRAM weighted

For large in-memory working sets.

AcceleratedGPU / accelerator

For ML, graphics, and parallel accelerator workloads.

Family first, size second

Amazon EC2 offers many instance types because workloads stress different resources. An instance family groups types around a resource profile or purpose, while sizes within that family provide different quantities of resources. The selected instance type determines the hardware resources available to the instance, including combinations of compute, memory, storage and networking capabilities.

The important skill is not memorizing every current family name. Start with the bottleneck of the application. General-purpose families balance resources for common applications. Compute-optimized families emphasize processor performance. Memory-optimized families suit workloads that keep large working sets in RAM. Storage-optimized families are designed for workloads with demanding local-storage access patterns. Accelerated-computing families expose GPUs or other specialized accelerators for workloads that benefit from them.

What the instance type changes

Changing instance type can affect more than vCPU count and memory. Network performance, EBS bandwidth, local instance storage, processor architecture, accelerator availability and other capabilities vary across types. Some applications care about sustained network throughput, storage I/O or architecture compatibility more than raw CPU. An instance that appears oversized on processor metrics can still be correct if another resource is the real constraint.

Processor architecture matters because the AMI and application binaries must be compatible with the selected instance type. AWS offers instance families based on several processor choices, including AWS-designed Graviton processors as well as x86 options. Architecture changes can create price/performance opportunities, but they require software compatibility and should be validated with application benchmarks.

Right-sizing and flexibility

Right-sizing means matching resources to observed workload requirements instead of permanently selecting capacity for a guessed peak. AWS explicitly recommends measuring application performance under load when selecting types. CloudWatch metrics and AWS Compute Optimizer can provide evidence for existing instances, but application-specific latency, throughput and reliability requirements remain the final test.

A fleet does not always need one instance type. Auto Scaling groups can use mixed-instance policies where appropriate, which can diversify capacity and combine different purchasing options. That design can improve flexibility, but the application must genuinely tolerate the selected types. The safest mental model is that an instance type is one replaceable capacity choice inside a workload architecture, not an identity that the application should permanently depend on.

Key takeaways

  1. 01

    Instance families describe resource profiles; sizes change the amount of resources within a compatible profile.

  2. 02

    CPU, memory, networking, storage performance, architecture and accelerators can all influence instance selection.

  3. 03

    Benchmark the real application instead of selecting an instance type from specifications alone.

  4. 04

    Right-sizing is an ongoing performance-and-cost decision, not a one-time launch choice.

Official AWS sources

Use these primary AWS resources for the source material behind this article and for deeper reference.