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.0290 $0.1000 us-east-2 of 15 $0.0145
m4.xlarge4 vCPU, 16 GiB 4 16 GiB $0.0482 $0.2000 us-east-2 of 15 $0.0120
m4.2xlarge8 vCPU, 32 GiB 8 32 GiB $0.1116 $0.6360 sa-east-1 of 15 $0.0139
m4.4xlarge16 vCPU, 64 GiB 16 64 GiB $0.1764 $1.272 sa-east-1 of 15 $0.0110
m4.10xlarge40 vCPU, 160 GiB 40 160 GiB $0.3180 $3.180 sa-east-1 of 14 $0.00795
m4.16xlarge64 vCPU, 256 GiB 64 256 GiB $0.3696 $3.200 us-east-2 of 15 $0.00577

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
4261
#3
3818 3799–3818
#30
3112
#31
c7i, i7i, r7i
2978 2899–2978
#34
2878 2868–2878
#38
2771 2699–2771
#41
2604 2559–2604
#48
2298 2269–2298
#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 1403–1415
#91
t3a
1333

Not benchmarked yet 46

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-2 Ohio $0.0290 $0.1000 71%
sa-east-1 São Paulo $0.0309 $0.1590 81%
ap-south-1 Mumbai $0.0341 $0.1050 67%
ap-northeast-2 Seoul $0.0345 $0.1230 72%
us-east-1 N. Virginia $0.0366 $0.1000 63%
eu-west-2 London $0.0395 $0.1160 66%
us-west-2 Oregon $0.0414 $0.1000 59%
us-west-1 N. California $0.0429 $0.1170 63%
ap-southeast-1 Singapore $0.0435 $0.1250 65%
ap-northeast-3 Osaka $0.0436 $0.1290 66%
ca-central-1 Canada Central $0.0449 $0.1110 60%
ap-northeast-1 Tokyo $0.0451 $0.1290 65%
ap-southeast-2 Sydney $0.0466 $0.1250 63%
eu-west-1 Ireland $0.0474 $0.1110 57%
eu-central-1 Frankfurt $0.0488 $0.1200 59%
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.0482 $0.2000 76%
us-east-1 N. Virginia $0.0532 $0.2000 73%
ap-south-1 Mumbai $0.0723 $0.2100 66%
us-west-2 Oregon $0.0734 $0.2000 63%
ap-northeast-2 Seoul $0.0736 $0.2460 70%
sa-east-1 São Paulo $0.0746 $0.3180 77%
eu-west-2 London $0.0790 $0.2320 66%
ap-northeast-1 Tokyo $0.0947 $0.2580 63%
ca-central-1 Canada Central $0.0962 $0.2220 57%
us-west-1 N. California $0.1002 $0.2340 57%
eu-west-1 Ireland $0.1022 $0.2220 54%
ap-southeast-1 Singapore $0.1034 $0.2500 59%
eu-central-1 Frankfurt $0.1047 $0.2400 56%
ap-southeast-2 Sydney $0.1087 $0.2500 57%
ap-northeast-3 Osaka $0.1136 $0.2580 56%
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
sa-east-1 São Paulo $0.1116 $0.6360 82%
us-east-2 Ohio $0.1255 $0.4000 69%
ap-northeast-3 Osaka $0.1388 $0.5160 73%
ap-northeast-2 Seoul $0.1406 $0.4920 71%
ap-south-1 Mumbai $0.1443 $0.4200 66%
us-east-1 N. Virginia $0.1608 $0.4000 60%
eu-west-2 London $0.1805 $0.4640 61%
us-west-1 N. California $0.1807 $0.4680 61%
us-west-2 Oregon $0.1850 $0.4000 54%
ap-northeast-1 Tokyo $0.1859 $0.5160 64%
ca-central-1 Canada Central $0.1915 $0.4440 57%
ap-southeast-1 Singapore $0.1938 $0.5000 61%
eu-central-1 Frankfurt $0.2175 $0.4800 55%
eu-west-1 Ireland $0.2208 $0.4440 50%
ap-southeast-2 Sydney $0.2388 $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
sa-east-1 São Paulo $0.1764 $1.272 86%
us-east-1 N. Virginia $0.1894 $0.8000 76%
us-east-2 Ohio $0.2125 $0.8000 73%
us-west-1 N. California $0.2280 $0.9360 76%
eu-west-2 London $0.2783 $0.9280 70%
ap-northeast-3 Osaka $0.2835 $1.032 73%
ap-south-1 Mumbai $0.2914 $0.8400 65%
us-west-2 Oregon $0.3282 $0.8000 59%
ap-northeast-2 Seoul $0.3290 $0.9840 67%
ca-central-1 Canada Central $0.3381 $0.8880 62%
ap-northeast-1 Tokyo $0.3659 $1.032 65%
ap-southeast-2 Sydney $0.3802 $1.000 62%
eu-central-1 Frankfurt $0.3991 $0.9600 58%
ap-southeast-1 Singapore $0.3991 $1.000 60%
eu-west-1 Ireland $0.4486 $0.8880 49%
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.3180 $3.180 90%
us-east-1 N. Virginia $0.5344 $2.000 73%
ca-central-1 Canada Central $0.5461 $2.220 75%
us-east-2 Ohio $0.5566 $2.000 72%
ap-south-1 Mumbai $0.6127 $2.100 71%
ap-northeast-2 Seoul $0.6302 $2.460 74%
eu-west-2 London $0.6460 $2.320 72%
us-west-1 N. California $0.6809 $2.340 71%
us-west-2 Oregon $0.6942 $2.000 65%
eu-west-1 Ireland $0.7275 $2.220 67%
ap-southeast-1 Singapore $0.7597 $2.500 70%
ap-northeast-1 Tokyo $0.7675 $2.580 70%
eu-central-1 Frankfurt $0.8347 $2.400 65%
ap-southeast-2 Sydney $0.8532 $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
us-east-2 Ohio $0.3696 $3.200 88%
ap-south-1 Mumbai $0.4452 $3.360 87%
ap-northeast-3 Osaka $0.4644 $4.128 89%
sa-east-1 São Paulo $0.5088 $5.088 90%
eu-west-2 London $0.6110 $3.712 84%
us-east-1 N. Virginia $0.6680 $3.200 79%
ap-southeast-1 Singapore $0.7317 $4.000 82%
ap-northeast-1 Tokyo $0.7812 $4.128 81%
ca-central-1 Canada Central $0.8015 $3.552 77%
us-west-2 Oregon $0.8355 $3.200 74%
ap-northeast-2 Seoul $0.9265 $3.936 76%
eu-central-1 Frankfurt $0.9886 $3.840 74%
ap-southeast-2 Sydney $1.206 $4.000 70%
us-west-1 N. California $1.346 $3.744 64%
eu-west-1 Ireland $1.450 $3.552 59%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.