m4.2xlarge

m4.2xlarge is an AWS EC2 instance with 8 vCPUs, 32 GiB memory (Intel Xeon E5-2676 v3 (Haswell)). In US East (N. Virginia) it costs $0.4 per hour on demand ($292.00 per month) for Linux; a 1-year reserved instance with no upfront costs $0.2478 per hour, 38% less. Spot capacity is about $0.1561 per hour. It is sold in 16 regions.

Prices by region

USD per hour, Linux. Reserved prices are no upfront, standard. Cheapest on-demand first.

RegionOn-demandSpot1-yr reserved3-yr reserved1-yr savings plan3-yr savings plan
US East (N. Virginia) us-east-1$0.4$0.1561$0.2478$0.1728$0.285$0.1987
US East (Ohio) us-east-2$0.4$0.1181$0.2478$0.1728$0.285$0.1987
US West (Oregon) us-west-2$0.4$0.1751$0.2478$0.1728$0.285$0.1987
Asia Pacific (Mumbai) ap-south-1$0.42$0.1488$0.2617$0.177$0.301$0.2036
Canada (Central) ca-central-1$0.444$0.1698$0.273$0.1901$0.314$0.2186
EU (Ireland) eu-west-1$0.444$0.2221$0.3024$0.216$0.3478$0.2484
EU (London) eu-west-2$0.464$0.171$0.315$0.229$0.3622$0.2633
US West (N. California) us-west-1$0.468$0.1845$0.3402$0.2333$0.3912$0.2683
EU (Frankfurt) eu-central-1$0.48$0.2335$0.3276$0.2419$0.3767$0.2782
Asia Pacific (Seoul) ap-northeast-2$0.492$0.1528$0.294$0.216$0.3381$0.2484
Asia Pacific (Singapore) ap-southeast-1$0.5$0.212$0.3108$0.2117$0.3574$0.2434
Asia Pacific (Sydney) ap-southeast-2$0.5$0.2363$0.336$0.2419$0.3864$0.2782
AWS GovCloud (US-West) us-gov-west-1$0.504–$0.336$0.2246$0.3864$0.2583
Asia Pacific (Tokyo) ap-northeast-1$0.516$0.1763$0.3486$0.2549$0.4009$0.2931
Asia Pacific (Osaka) ap-northeast-3$0.516$0.1485$0.3486$0.2549$0.4009$0.2931
South America (Sao Paulo) sa-east-1$0.636$0.1213$0.3612$0.2765$0.4154$0.3179

Prices by operating system in US East (N. Virginia)

Operating systemOn-demand /hr1-yr reserved /hr3-yr reserved /hr
Linux$0.4$0.2478$0.1728
Ubuntu Pro$0.414––
SUSE$0.5$0.2808$0.2058
RHEL$0.5152$0.363$0.288
Linux SQL Web$0.5352$0.383$0.308
RHEL SQL Web$0.6504––
RHEL HA$0.6552$0.503$0.428
Windows$0.768$0.6158$0.5408
Windows SQL Web$0.9$0.689$0.4935
Linux SQL Std$1.36$1.208$1.133
RHEL SQL Std$1.475––
RHEL HA SQL Std$1.615––
Windows SQL Std$1.728$1.576$1.501
Linux SQL Ent$3.40$3.248$3.173
RHEL SQL Ent$3.515––
RHEL HA SQL Ent$3.655––
Windows SQL Ent$3.768$3.616$3.541

Specs

ComputeValue
vCPUs8
Physical cores4
Threads per core2
Architecturex86_64
ProcessorIntel Xeon E5-2676 v3 (Haswell)
CPU makerIntel
Clock speed2.4 GHz
Sustained clock2.4 GHz
Processor featuresIntel AVX; Intel AVX2; Intel Turbo
BurstableNo
ECU26
MemoryValue
Memory (GiB)32
NetworkingValue
NetworkHigh
Network baseline1 Gbps
Network peak10 Gbps
Enhanced networkingNo
EFANo
IPv6Yes
Max network interfaces4
IPv4 addresses per interface15
StorageValue
StorageEBS only
EBS optimizedYes
EBS over NVMeNo
EBS throughput1000 Mbps
EBS baseline bandwidth1,000 Mbps
EBS max bandwidth1,000 Mbps
EBS baseline throughput125 MB/s
EBS max throughput125 MB/s
EBS baseline IOPS8,000
EBS max IOPS8,000
Max EBS volumes40
Instance detailsValue
Instance typem4.2xlarge
Familym4
CategoryGeneral purpose
Current generationYes
Normalization factor16
Bare metalNo
HypervisorXen
Placement groupsCluster, Partition, Spread
HibernationYes
Nitro EnclavesNo
Boot modesLegacy BIOS

Compare m4.2xlarge

Burstable

Compute and memory optimized

Other generations

Other m4 sizes

SizevCPUsMemory (GiB)On-demand /hr
m4.large28$0.1
m4.xlarge416$0.2
m4.2xlarge832$0.4
m4.4xlarge1664$0.8
m4.10xlarge40160$2.00
m4.16xlarge64256$3.20

Prices updated 2026-11-12 from AWS public price lists. Compare all AWS EC2 instances.