AWS M2 instance types

M2 is a memory optimized Amazon EC2 family with 3 instance types, from 2 – 8 vCPUs and 17.1 GiB – 68.4 GiB of memory, running on Intel Xeon Family. Linux on demand starts at $0.245 per hour.

memory optimizedx86-64previous generation
sizes
3
vCPUs
2 – 8
memory
17.1 GiB – 68.4 GiB
processor
Intel Xeon Family
on-demand from
$0.245

per hour · 9 regions

M2 sizes and prices

Linux, hourly, US East (N. Virginia) (other regions on each size's page)

SizevCPUMemoryLocal storageOn-demandMonthlySpot
m2.xlarge217.1 GiB420 GB SSD$0.245$179$0.1054
m2.2xlarge434.2 GiB850 GB SSD$0.49$358$0.1823
m2.4xlarge868.4 GiB1.7 TB SSD (2 disks)$0.98$715$0.4176

M2 equivalents on other clouds

closest match to m2.2xlarge (4 vCPU, 34.2 GiB)

AzureE4as v4Easv4 family · 4 vCPU · 32 GiB$0.252/hr · East USEasv4 family →
Google Cloudc4-highmem-4-lssdC4 family · 4 vCPU · 31 GiB$0.3429/hr · IowaC4 family →
AkamaiG8 Dedicated 16x4Dedicated CPU (G8) family · 4 vCPU · 16 GiB$0.21/hr · Newark, NJDedicated CPU (G8) family →
Vultrvx1-m-4c-32g-240sVX1: Memory Optimized family · 4 vCPU · 32 GiB$0.193/hr · New JerseyVX1: Memory Optimized family →

Other memory optimized families on AWS

M2 FAQ

What sizes does the AWS M2 family have?

M2 has 3 instance types, from m2.xlarge (2 vCPU, 17.1 GiB) to m2.4xlarge (8 vCPU, 68.4 GiB). They run on Intel Xeon Family.

What is the cheapest M2 instance type?

m2.xlarge at $0.245 per hour (Linux, on demand) in US East (N. Virginia), about $179 per month.

What is M2 best for?

M2 is a memory optimized family. Lots of RAM per vCPU (8 GiB and up) for databases, caches and in-memory analytics.