m2.xlarge

Amazon EC2 · M2 family

The m2.xlarge is a memory optimized Amazon EC2 instance type with 2 vCPUs and 17.1 GiB of memory, running on Intel Xeon Family with moderate networking, starting at $0.245 per hour on demand.

memory optimizedx86-64intelprevious generation
vCPUs
2

dedicated

memory
17.1 GiB

8.55 GiB per vCPU

processor
Intel

x86-64

on-demand
$0.245

$179/mo · us-east-1

spot
$0.1054

−57% vs on-demand

regions
9

across 5 areas

Previous generation. AWS still sells m2.xlarge, but newer families usually give more performance per dollar. See the similar instance types below.

m2.xlarge price by region

9 regions · hourly list prices in USD · On-demand · Spot · 1-yr Reserved · 3-yr Reserved

US East (N. Virginia)us-east-1cheapestreferenceNorth America$0.245$0.1054
US West (Oregon)us-west-2cheapestNorth America$0.245$0.0593
EU (Ireland)eu-west-1Europe$0.275$0.1076
US West (N. California)us-west-1North America$0.275$0.0456
Asia Pacific (Tokyo)ap-northeast-1Asia$0.287$0.052
AWS GovCloud (US)us-gov-west-1North America$0.293–
Asia Pacific (Singapore)ap-southeast-1Asia$0.296$0.0495
Asia Pacific (Sydney)ap-southeast-2Oceania$0.296$0.0808
South America (Sao Paulo)sa-east-1South America$0.323$0.0479

Specifications

compute

vCPUs
2
Memory
17.1 GiB
Memory per vCPU
8.55 GiB
Processor
Intel Xeon Family
CPU vendor
Intel
Architecture
x86-64
Burstable CPU
No

storage & network

Local storage
420 GB SSD
Storage detail
1 x 420 SSD
Network
Moderate

aws details

API name
m2.xlarge
Family
M2
Category
Memory optimized
Generation
Previous
Regions
9 (Asia, Europe, North America, Oceania, South America)
Cheapest region
US East (N. Virginia) · $0.245/hr
ECU
6.5
Enhanced networking
No
Normalization size factor
8
Spot interruption rate (us-east-1)
>20%
Spot savings vs on-demand (us-east-1)
64%

m2.xlarge equivalents on other clouds

closest match by vCPU, memory, CPU architecture, accelerator and class · Linux on-demand in each provider's reference region

compare side by side→
ProviderInstancevCPUMemoryProcessorOn-demandvs m2.xlarge
AWSm2.xlarge217.1 GiBIntel Xeon Family$0.245–
AzureE2as v416 GiB (1.1× less)216 GiBAMD EPYC 7452 (Rome)$0.126-49%
E2a v416 GiB (1.1× less)216 GiBAMD EPYC 7452 (Rome)$0.126-49%
Google Cloude2-highmem-216 GiB (1.1× less)216 GiBAMD Rome, Intel Broadwell, Intel Haswell, Intel Skylake$0.0904-63%
n4d-highmem-216 GiB (1.1× less)216 GiBAMD Turin$0.1112-55%
AkamaiLinode 24GB24 GiB (1.4×)224 GiBAMD EPYC$0.09-63%
G8 Dedicated 8x28 GiB (2.1× less)28 GiBAMD EPYC$0.11-55%
Vultrvx1-m-2c-16g-120s16 GiB (1.1× less)216 GiBAMD EPYC$0.096-61%
voc-m-2c-16gb-100s-amd16 GiB (1.1× less)216 GiBAMD EPYC$0.11-55%

M2 family sizes

all about M2→
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

Similar instance types on AWS

other AWS families with a similar shape, cheapest first

m2.xlarge FAQ

How much does m2.xlarge cost?

m2.xlarge costs $0.245 per hour on demand with Linux in US East (N. Virginia) (us-east-1), about $179 per month. Across 9 regions the Linux on-demand price ranges from $0.245 in US East (N. Virginia) to $0.323 in South America (Sao Paulo). Spot capacity costs $0.1054 per hour (57% less), but can be reclaimed. With Windows it costs $0.345 per hour.

How many vCPUs and how much memory does m2.xlarge have?

m2.xlarge has 2 vCPUs and 17.1 GiB of memory (8.55 GiB per vCPU), running on Intel Xeon Family. It is a memory optimized instance type in the M2 family.

What are the equivalents of m2.xlarge on other clouds?

The closest matches by vCPU, memory, CPU architecture and instance class are on Azure, E2as v4 (2 vCPU, 16 GiB, $0.126/hour in East US); on Google Cloud, e2-highmem-2 (2 vCPU, 16 GiB, $0.0904/hour in Iowa); on Akamai, Linode 24GB (2 vCPU, 24 GiB, $0.09/hour in Newark, NJ); on Vultr, vx1-m-2c-16g-120s (2 vCPU, 16 GiB, $0.096/hour in New Jersey).