ladderlore
  • Type a service name, like S3 or IAM.

Concept

EC2 instance types

Six categories of EC2 instance types, each built for one kind of work, such as heavy CPU use, large memory or fast storage.

  • General purpose

    A balance of compute, memory and networking. For web servers, code repositories and small databases.

  • Compute optimized

    High-performance processors for CPU-heavy work, such as batch processing, media transcoding and game servers.

  • Memory optimized

    Fast performance for large data sets processed in memory, such as in-memory databases and data analytics.

  • Accelerated computing

    Hardware accelerators such as GPUs, for machine learning, graphics and heavy calculations.

  • Storage optimized

    Very fast local storage for many reads and writes on large data sets, such as high-throughput databases.

  • HPC optimized

    Built for high performance computing (HPC) at scale, such as complex simulations.

The six categories of instance types.

1 / 2

  • General purpose

    A balance of compute, memory and networking. For web servers, code repositories and small databases.

  • Compute optimized

    High-performance processors for CPU-heavy work, such as batch processing, media transcoding and game servers.

  • Memory optimized

    Fast performance for large data sets processed in memory, such as in-memory databases and data analytics.

2 / 2

  • Accelerated computing

    Hardware accelerators such as GPUs, for machine learning, graphics and heavy calculations.

  • Storage optimized

    Very fast local storage for many reads and writes on large data sets, such as high-throughput databases.

  • HPC optimized

    Built for high performance computing (HPC) at scale, such as complex simulations.

The six categories of instance types.
  • A mix of needs, such as a web server or a small database

    General purpose
  • Batch processing, media transcoding, game servers

    Compute optimized
  • In-memory databases, large data sets held in memory

    Memory optimized
  • Machine learning, graphics, GPUs

    Accelerated computing
  • Many fast reads and writes to local storage

    Storage optimized
  • Complex simulations at large scale

    HPC optimized
Clues that point to each category.

1 / 2

  • A mix of needs, such as a web server or a small database

    General purpose
  • Batch processing, media transcoding, game servers

    Compute optimized
  • In-memory databases, large data sets held in memory

    Memory optimized
  • Machine learning, graphics, GPUs

    Accelerated computing

2 / 2

  • Many fast reads and writes to local storage

    Storage optimized
  • Complex simulations at large scale

    HPC optimized
Clues that point to each category.

What it is

An instance type is a fixed mix of CPU, memory, storage and network capacity for an Amazon Elastic Compute Cloud (Amazon EC2) instance. AWS groups instance types into six categories, and each category is built for one kind of workload. Types in the same family come in sizes from small to very large, so you can start small and move up.

Exam questions describe a workload and ask which category fits. Find the resource the workload uses most: processing power, memory, fast local storage, or special hardware such as GPUs.

What it is

Choosing the right type supports the performance efficiency and cost optimization pillars of the AWS Well-Architected Framework. Changing to a type or size that fits the real usage, often a smaller one, is called rightsizing.

Remember

  • General purpose is a balanced default for everyday workloads.
  • The letter at the start of a type’s name shows what it is built for: C for compute optimized, R for memory optimized, M for general purpose.
  • Burstable types (the T family) are general purpose. They run at a baseline and can burst above it when needed.

Remember

  • The instance type is separate from how you pay, such as On-Demand or Spot.
  • AWS Compute Optimizer can recommend a better-fitting type from your usage history.

On the exam

  • “High-performance processors for batch processing, media transcoding or game servers” points to compute optimized.
  • “An in-memory database” points to memory optimized. “Many fast reads and writes to large data sets on local storage” points to storage optimized.
  • “Machine learning or graphics processing on GPUs” points to accelerated computing.