self-host →

m4 EC2 instance family

Intel Xeon E5-2686 v4 at 2.4 GHz, x86_64, 2 to 64 vCPUs, 8 to 256 GiB

Open m4 in the finder →
m4 prices per hour on Linux/UNIX, each type in its cheapest region
Type vCPU Memory Typical spot On-demand Cheapest region Per vCPU-hour
m4.large2 vCPU, 8 GiB 2 8 GiB $0.0306 $0.1000 us-east-1 of 15 $0.0153
m4.xlarge4 vCPU, 16 GiB 4 16 GiB $0.0457 $0.2000 us-east-2 of 15 $0.0114
m4.2xlarge8 vCPU, 32 GiB 8 32 GiB $0.1094 $0.4000 us-east-2 of 15 $0.0137
m4.4xlarge16 vCPU, 64 GiB 16 64 GiB $0.1517 $0.8000 us-east-1 of 15 $0.00948
m4.10xlarge40 vCPU, 160 GiB 40 160 GiB $0.3295 $3.180 sa-east-1 of 14 $0.00824
m4.16xlarge64 vCPU, 256 GiB 64 256 GiB $0.4128 $4.128 ap-northeast-3 of 15 $0.00645

Per hour on Linux/UNIX, in each type's cheapest region. Typical spot: per pricing run of the last 7 days, the cheapest zone's spot price, averaged, as the finder shows it with that region selected. On-demand: the same region's price. Per vCPU-hour: the spot price, or without spot the on-demand price, per vCPU. Every region is under Prices by region.

The M4 general purpose instance family, first announced in June 2015, features custom Intel Xeon E5-2686 v4 (Broadwell) or E5-2676 v3 (Haswell) processors. These balanced instances are EBS-optimized by default and utilize Enhanced Networking for low-latency performance, with the largest sizes offering up to 25 Gbps of network bandwidth. They are a good choice for a variety of workloads like mid-size databases and caching fleets. The instance types (m4.large to m4.16xlarge) rely exclusively on Amazon EBS for persistent storage and do not include any local instance storage.

Written by Gemini from web sources and not checked: the specs and prices on this page come from AWS.

vCPUs
2 to 64
Memory
8 to 256 GiB
Architecture
x86_64
Processor
Intel Xeon E5-2686 v4
Sustained clock
2.4 GHz
Single-thread PassMark
1582 measured on m4, 2026-09-30: the median of its types in runs-on.com benchmarks
Specs of each type
Type vCPU Memory Local storage Network EBS
m4.large 2 8 GiB EBS only up to 1.2 (0.45 baseline) 0.45
m4.xlarge 4 16 GiB EBS only up to 2.8 (0.75 baseline) 0.75
m4.2xlarge 8 32 GiB EBS only up to 10 (1 baseline) 1
m4.4xlarge 16 64 GiB EBS only up to 10 (2 baseline) 2
m4.10xlarge 40 160 GiB EBS only 10 4
m4.16xlarge 64 256 GiB EBS only 25 10

Network and EBS: peak bandwidth in Gbit/s, with the bandwidth the type sustains when it is lower. Local storage: the instance store, in decimal GB as AWS sizes it.

#1
4259
#3
3809 3806–3809
#30
3110
#31
3000 2927–3000
#35
2875 2816–2875
#40
2698 2660–2698
#42
2586 2569–2586
#48
2303 2269–2303
#64
2034 1995–2034
#67
m5d, c5, c5n
1901 1853–1901
#70
m5dn, c4, r5dn, r5n, t2, t3
1777 1757–1777
#76
m5, m5n, i3en, r5, r5b, r5d
1703 1686–1703
#82
m4, c3, i3
1625 1582–1625
#85
r3, r4
1539 1525–1539
#87
1415 1388–1415

Not benchmarked yet 47

These families have no PassMark single-thread score yet, so they are not ranked.

15 regions with a price in the last 7 days. Select up to 4 to compare them in the price history charts under Prices by region.

Each type's regions on Linux/UNIX, cheapest first, with the same figures as the Prices table, and its price history: the daily mean of every zone and pricing run, over the last 15 UTC days. Each price column is tinted from its cheapest region (green) to its most expensive (red).

m4.large2 vCPU, 8 GiB, 15 regions
m4.large prices per hour on Linux/UNIX, by region, cheapest first
Region Typical spot On-demand Spot saving
us-east-1 N. Virginia $0.0306 $0.1000 69%
us-east-2 Ohio $0.0336 $0.1000 66%
sa-east-1 São Paulo $0.0348 $0.1590 78%
eu-west-2 London $0.0353 $0.1160 70%
ap-south-1 Mumbai $0.0358 $0.1050 66%
ap-northeast-2 Seoul $0.0391 $0.1230 68%
ca-central-1 Canada Central $0.0400 $0.1110 64%
us-west-2 Oregon $0.0407 $0.1000 59%
ap-northeast-1 Tokyo $0.0409 $0.1290 68%
eu-west-1 Ireland $0.0455 $0.1110 59%
ap-southeast-2 Sydney $0.0472 $0.1250 62%
ap-northeast-3 Osaka $0.0481 $0.1290 63%
ap-southeast-1 Singapore $0.0486 $0.1250 61%
eu-central-1 Frankfurt $0.0499 $0.1200 58%
us-west-1 N. California $0.0507 $0.1170 57%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.
m4.xlarge4 vCPU, 16 GiB, 15 regions
m4.xlarge prices per hour on Linux/UNIX, by region, cheapest first
Region Typical spot On-demand Spot saving
us-east-2 Ohio $0.0457 $0.2000 77%
us-east-1 N. Virginia $0.0527 $0.2000 74%
us-west-2 Oregon $0.0693 $0.2000 65%
ap-south-1 Mumbai $0.0749 $0.2100 64%
ap-northeast-2 Seoul $0.0762 $0.2460 69%
sa-east-1 São Paulo $0.0777 $0.3180 76%
ca-central-1 Canada Central $0.0786 $0.2220 65%
eu-west-2 London $0.0817 $0.2320 65%
ap-northeast-1 Tokyo $0.0852 $0.2580 67%
eu-west-1 Ireland $0.0986 $0.2220 56%
eu-central-1 Frankfurt $0.1022 $0.2400 57%
ap-southeast-1 Singapore $0.1026 $0.2500 59%
us-west-1 N. California $0.1045 $0.2340 55%
ap-northeast-3 Osaka $0.1101 $0.2580 57%
ap-southeast-2 Sydney $0.1127 $0.2500 55%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.
m4.2xlarge8 vCPU, 32 GiB, 15 regions
m4.2xlarge prices per hour on Linux/UNIX, by region, cheapest first
Region Typical spot On-demand Spot saving
us-east-2 Ohio $0.1094 $0.4000 73%
sa-east-1 São Paulo $0.1345 $0.6360 79%
us-east-1 N. Virginia $0.1357 $0.4000 66%
ap-northeast-3 Osaka $0.1398 $0.5160 73%
ap-northeast-2 Seoul $0.1466 $0.4920 70%
ap-south-1 Mumbai $0.1540 $0.4200 63%
eu-west-2 London $0.1630 $0.4640 65%
ap-northeast-1 Tokyo $0.1697 $0.5160 67%
ca-central-1 Canada Central $0.1729 $0.4440 61%
us-west-2 Oregon $0.1744 $0.4000 56%
us-west-1 N. California $0.1840 $0.4680 61%
ap-southeast-1 Singapore $0.2030 $0.5000 59%
eu-west-1 Ireland $0.2170 $0.4440 51%
eu-central-1 Frankfurt $0.2288 $0.4800 52%
ap-southeast-2 Sydney $0.2406 $0.5000 52%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.
m4.4xlarge16 vCPU, 64 GiB, 15 regions
m4.4xlarge prices per hour on Linux/UNIX, by region, cheapest first
Region Typical spot On-demand Spot saving
us-east-1 N. Virginia $0.1517 $0.8000 81%
sa-east-1 São Paulo $0.1970 $1.272 85%
us-east-2 Ohio $0.2042 $0.8000 74%
eu-west-2 London $0.2322 $0.9280 75%
us-west-1 N. California $0.2557 $0.9360 73%
ap-northeast-3 Osaka $0.2572 $1.032 75%
ap-south-1 Mumbai $0.2823 $0.8400 66%
ca-central-1 Canada Central $0.2944 $0.8880 67%
us-west-2 Oregon $0.3130 $0.8000 61%
ap-northeast-2 Seoul $0.3163 $0.9840 68%
ap-northeast-1 Tokyo $0.3337 $1.032 68%
ap-southeast-2 Sydney $0.3644 $1.000 64%
eu-central-1 Frankfurt $0.4049 $0.9600 58%
ap-southeast-1 Singapore $0.4169 $1.000 58%
eu-west-1 Ireland $0.4259 $0.8880 52%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.
m4.10xlarge40 vCPU, 160 GiB, 14 regions
m4.10xlarge prices per hour on Linux/UNIX, by region, cheapest first
Region Typical spot On-demand Spot saving
sa-east-1 São Paulo $0.3295 $3.180 90%
us-east-1 N. Virginia $0.4065 $2.000 80%
us-east-2 Ohio $0.5403 $2.000 73%
ap-south-1 Mumbai $0.5632 $2.100 73%
ca-central-1 Canada Central $0.5920 $2.220 73%
eu-west-2 London $0.6009 $2.320 74%
ap-northeast-1 Tokyo $0.6381 $2.580 75%
us-west-2 Oregon $0.6543 $2.000 67%
us-west-1 N. California $0.6725 $2.340 71%
ap-northeast-2 Seoul $0.6922 $2.460 72%
eu-west-1 Ireland $0.7357 $2.220 67%
ap-southeast-2 Sydney $0.8334 $2.500 67%
eu-central-1 Frankfurt $0.8360 $2.400 65%
ap-southeast-1 Singapore $0.8436 $2.500 66%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.
m4.16xlarge64 vCPU, 256 GiB, 15 regions
m4.16xlarge prices per hour on Linux/UNIX, by region, cheapest first
Region Typical spot On-demand Spot saving
ap-northeast-3 Osaka $0.4128 $4.128 90%
us-east-2 Ohio $0.4499 $3.200 86%
sa-east-1 São Paulo $0.5088 $5.088 90%
us-west-2 Oregon $0.6737 $3.200 79%
us-east-1 N. Virginia $0.6775 $3.200 79%
ap-northeast-1 Tokyo $0.7026 $4.128 83%
eu-west-2 London $0.7237 $3.712 81%
ca-central-1 Canada Central $0.7612 $3.552 79%
ap-south-1 Mumbai $0.9671 $3.360 71%
ap-southeast-2 Sydney $0.9918 $4.000 75%
ap-northeast-2 Seoul $1.018 $3.936 74%
eu-central-1 Frankfurt $1.030 $3.840 73%
ap-southeast-1 Singapore $1.094 $4.000 73%
us-west-1 N. California $1.120 $3.744 70%
eu-west-1 Ireland $1.235 $3.552 65%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.