How it works
EC2 Instance Types offer different virtual server resource configurations, including vCPU, memory, network performance, and, on some types, local storage. AWS groups them into families such as General Purpose, Compute Optimized, Memory Optimized, and Storage Optimized. Instance names identify the family, generation, and size, helping you select a configuration suited to the workload.
When to use it
Match the family to the resource that limits the workload.
Real-world example
An analytics company operates an in-memory database that runs short of memory. The architect evaluates an R-family instance, tests it under representative load, and compares memory usage, throughput, and cost before migrating the production workload.
Key facts
- m5.2xlarge: m = class, 5 = generation, 2xlarge = size.
- t2.micro is a burstable General Purpose instance.
Common pitfall
Do not assume that increasing instance size will automatically fix a code bottleneck. Measure performance and cost, and consider optimizing the application or selecting a more suitable instance family.
Often confused with
Purchasing options, which decide how you pay, not what hardware you get.
References
Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:
Keywords you will see in SAA-C03 questions
- transcoding
- in-memory
- OLTP
- balanced
Understand it for real with 3D models and simulated labs
Connect the concept to a working architecture.