Different Types of AWS Instances

Different Types of AWS Instances

Amazon EC2 provides a total of 8 family of instance types which are classified according to their use cases. Instance types comprise varying combinations of CPU, memory, storage and networking capacity to give the client a flexibility to choose the appropriate mix of resources for your applications. Each instance type includes one or more instance sizes, allowing clients to scale resources to the requirements of the target workload.

General Purpose Instance Types:

General Purpose Instances are the most sort after Instances that is preferred by many companies. There are two types of instances in this family: Fixed Performance (e.g. M4 and M3) and Burstable Performance (e.g. T2). Some of the sectors where its prominently being preferred are Development environments, build servers, code repositories, low-traffic websites and web applications, micro services, early product experiments and small databases to name a few. Some of its prominent features include:

  • High Frequency Intel Xeon Processors with Turbo up to 3.3GHz.
  • Burstable CPU, governed by CPU Credits, and consistent baseline performance.
  • Lowest-cost general purpose instance type, and Free Tier eligible (t2.micro only)
  • Balance of compute, memory, and network resources.

General Purpose Instances have been further classified into T2, M4 and M3 instance types.
T2 instances accrue CPU Credits when they are idle, and use CPU credits when they are active.  T2 instances are a good choice for workloads that don’t use the full CPU often or consistently, but occasionally need to burst (e.g. web servers, developer environments and small databases).

Model vCPU CPU Credits/Hour Mem (GiB) Storage
T2.nano 1 3 0.5 EBS-Only
T2.micro 1 6 1 EBS-Only
T2.small 1 12 2 EBS-Only
T2.medium 2 24 4 EBS-Only
T2.large 2 36 8 EBS-Only


M4 instances are the latest generation of General Purpose Instances. This provides a balance of compute, memory and network resources and it’s a good choice for applications where the demand of applications and micro servers are high.

Model vCPU Mem (GiB) SSD Storage (GB) EBS Throughput (Mbps)
M4.large 2 8 EBS-only 450
M4.xlarge 4 16 EBS-only 750
M4.2xlarge 8 32 EBS-only 1000
M4.4xlarge 16 64 EBS-only 2000
M4.10xlarge 40 160 EBS-only 4000


M3 Instance types is the prior version of M4 and is prime features include SSD- based instance storage for fast I/O performance, High frequency Intel Xeon E5-2670 v2 (Ivy Bridge) Processors. It’s mainly used in Data processing tasks that require additional memory, caching fleets, running backend servers for SAP and other enterprise applications.

Model vCPU Mem (GiB) SSD Storage (GB)
M3.medium 1 3.75 1 x 4
M3.large 2 7.5 1 x 32
M3.xlarge 4 15 2 x 40
M3.2xlarge 8 30 2 x 80
Compute Optimized Instance Types:

Compute Optimized Instances mainly include two families of instance types, namely C4 and C3. C3 Instances are used where applications require very high CPU usage, but balanced memory usage because C3 instances have optimized compute capacity. They are recommended for applications that require more compute power because they offer high performing processors. C3 instances are great for applications that require on-demand batch processing, and distributed analytics. They are also ideal for high performance science and engineering applications.

Model vCPU Mem (GiB) SSD Storage (GB)
c3.large 2 3.75 2 x 16
c3.xlarge 4 7.5 2 x 40
c3.2xlarge 8 15 2 x 80
c3.4xlarge 16 30 2 x 160
c3.8xlarge 32 60 2 x 320

C4 Instances are more advanced version of C3 instances where the client requires a stronger compute power. These instances are based on the Intel Xeon E5-2666 v3 processor and use Hardware virtualization (HVM). As per AWS specifications, C4 instances run at a base speed of 2.9 GHz, and can go up to a clock speed of 3.5 GHz with Intel Turbo Boost.

Model vCPU Mem (GiB) Storage (GB) EBS Throughput (Mbps)
c4.large 2 3.75 EBS-Only 500
c4.xlarge 4 7.5 EBS-Only 750
c4.2xlarge 8 15 EBS-Only 1,000
c4.4xlarge 16 30 EBS-Only 2,000
c4.8xlarge 36 60 EBS-Only 4,000
GPU Instances:

GPU optimized instances include the G2 instances family which are ideal for gaming applications that require heavy graphics and 3D application data streaming. This instance family is backed by a high-performance NVIDIA GPU, and is suitable for audio, video, 3D imaging, and graphic streaming kinds of applications. In order to run the GPU instances, NVIDIA drivers need to be installed and can be launched from HVM AMIs.

Model GPUs vCPU Mem (GiB) SSD Storage (GB)
g2.2xlarge 1 8 15 1 x 60
g2.8xlarge 4 32 60 2 x 120

 

Memory Optimized Instances:

Memory Optimized Instances basically includes only the R3 Instances family which are specifically designed for memory-intensive applications. R3 instances have the latest Intel Xeon Ivy Bridge processor and offer one of the best prices per GB of RAM. According to AWS, R3 instances can sustain a memory bandwidth of 63,000 MB/sec. R3 instances are great for high performance databases, in memory analytics, and distributed memory caches.

Model vCPU Mem (GiB) SSD Storage (GB)
r3.large 2 15.25 1 x 32
r3.xlarge 4 30.5 1 x 80
r3.2xlarge 8 61 1 x 160
r3.4xlarge 16 122 1 x 320
r3.8xlarge 32 244 2 x 320
Storage Optimized Instances:

Storage Optimized Instances include the I2 and a more recent D2 instances families. I2 instances provides heavy SSDs for random I/Os that are required for databases, data warehouses and distributed systems such as Hadoop. They are suitable for NoSQL databases like HBase, Cassandra, MongoDB and OLTP.

Model vCPU Mem (GiB) Storage (GB)
i2.xlarge 4 30.5 1 x 800 SSD
i2.2xlarge 8 61 2 x 800 SSD
i2.4xlarge 16 122 4 x 800 SSD
i2.8xlarge 32 244 8 x 800 SSD


D2 Instance family is a Dense Storage Instance which have a High-frequency Intel Xeon E5-2676v3 (Haswell) processors, HDD storage, High disk throughput and support for Amazon EC2 Enhanced Networking. D2 Instances can be majorly used in Massively Parallel Processing (MPP) data warehousing, MapReduce and Hadoop distributed computing, distributed file systems, network file systems, log or data-processing applications.

Model vCPU Mem (GiB) Storage (GB)
d2.xlarge 4 30.5 3 x 2000 HDD
d2.2xlarge 8 61 6 x 2000 HDD
d2.4xlarge 16 122 12 x 2000 HDD
d2.8xlarge 36 244 24 x 2000 HDD


Amazon Web Services keeps on adding new features or enhancements periodically. You can check out the complete matrix of the updated tables and even can customize it according to your own requirements from EC2 Instance Types and pricing.