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 Windows, 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.1020 $0.1920 us-east-1 of 15 $0.0510
m4.xlarge4 vCPU, 16 GiB 4 16 GiB $0.2040 $0.3840 us-east-1 of 15 $0.0510
m4.2xlarge8 vCPU, 32 GiB 8 32 GiB $0.4080 $0.7680 us-east-1 of 15 $0.0510
m4.4xlarge16 vCPU, 64 GiB 16 64 GiB $0.8160 $1.536 us-east-1 of 15 $0.0510
m4.10xlarge40 vCPU, 160 GiB 40 160 GiB $2.040 $3.840 us-east-1 of 14 $0.0510
m4.16xlarge64 vCPU, 256 GiB 64 256 GiB $3.264 $6.144 us-east-1 of 15 $0.0510

Per hour on Windows, 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
4257
#3
3803 3801–3803
#30
3115 3105–3115
#32
2955 2875–2955
#37
m7i, r7i
2816 2763–2816
#39
2700
#40
2596 2549–2596
#48
2303 2269–2303
#64
2034 1995–2034
#67
m5d, c5, c5n
1901 1853–1901
#70
m5dn, c4, r5dn, r5n, t2, t3
1777 1746–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
1414 1388–1414

Not benchmarked yet 44

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 Windows, 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 Windows, by region, cheapest first
Region Typical spot On-demand Spot saving
us-east-1 N. Virginia $0.1020 $0.1920 47%
us-east-2 Ohio $0.1020 $0.1920 47%
ap-northeast-2 Seoul $0.1043 $0.2150 51%
us-west-2 Oregon $0.1061 $0.1920 45%
eu-west-2 London $0.1063 $0.2080 49%
ap-south-1 Mumbai $0.1069 $0.1970 46%
us-west-1 N. California $0.1070 $0.2090 49%
sa-east-1 São Paulo $0.1079 $0.2510 57%
ca-central-1 Canada Central $0.1096 $0.2030 46%
ap-southeast-1 Singapore $0.1131 $0.2170 48%
ap-southeast-2 Sydney $0.1140 $0.2170 47%
ap-northeast-1 Tokyo $0.1148 $0.2210 48%
eu-central-1 Frankfurt $0.1158 $0.2120 45%
eu-west-1 Ireland $0.1184 $0.2030 42%
ap-northeast-3 Osaka $0.1257 $0.2210 43%
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 Windows, by region, cheapest first
Region Typical spot On-demand Spot saving
us-east-1 N. Virginia $0.2040 $0.3840 47%
us-east-2 Ohio $0.2040 $0.3840 47%
ap-northeast-2 Seoul $0.2086 $0.4300 51%
eu-west-2 London $0.2102 $0.4160 49%
us-west-2 Oregon $0.2123 $0.3840 45%
us-west-1 N. California $0.2137 $0.4180 49%
sa-east-1 São Paulo $0.2158 $0.5020 57%
ap-south-1 Mumbai $0.2168 $0.3940 45%
ca-central-1 Canada Central $0.2172 $0.4060 47%
ap-southeast-2 Sydney $0.2222 $0.4340 49%
eu-central-1 Frankfurt $0.2267 $0.4240 47%
ap-southeast-1 Singapore $0.2267 $0.4340 48%
ap-northeast-1 Tokyo $0.2296 $0.4420 48%
eu-west-1 Ireland $0.2369 $0.4060 42%
ap-northeast-3 Osaka $0.2505 $0.4420 43%
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 Windows, by region, cheapest first
Region Typical spot On-demand Spot saving
us-east-1 N. Virginia $0.4080 $0.7680 47%
ap-northeast-2 Seoul $0.4172 $0.8600 51%
eu-west-2 London $0.4206 $0.8320 49%
us-east-2 Ohio $0.4209 $0.7680 45%
us-west-2 Oregon $0.4242 $0.7680 45%
ap-south-1 Mumbai $0.4277 $0.7880 46%
us-west-1 N. California $0.4279 $0.8360 49%
sa-east-1 São Paulo $0.4316 $1.004 57%
ca-central-1 Canada Central $0.4347 $0.8120 46%
ap-southeast-2 Sydney $0.4412 $0.8680 49%
ap-southeast-1 Singapore $0.4524 $0.8680 48%
eu-central-1 Frankfurt $0.4531 $0.8480 47%
ap-northeast-1 Tokyo $0.4592 $0.8840 48%
eu-west-1 Ireland $0.4737 $0.8120 42%
ap-northeast-3 Osaka $0.5040 $0.8840 43%
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 Windows, by region, cheapest first
Region Typical spot On-demand Spot saving
us-east-1 N. Virginia $0.8160 $1.536 47%
us-east-2 Ohio $0.8160 $1.536 47%
ap-northeast-2 Seoul $0.8344 $1.720 51%
eu-west-2 London $0.8410 $1.664 49%
us-west-2 Oregon $0.8485 $1.536 45%
us-west-1 N. California $0.8546 $1.672 49%
ap-south-1 Mumbai $0.8554 $1.576 46%
sa-east-1 São Paulo $0.8632 $2.008 57%
ca-central-1 Canada Central $0.8777 $1.624 46%
ap-southeast-2 Sydney $0.8825 $1.736 49%
ap-southeast-1 Singapore $0.9048 $1.736 48%
eu-central-1 Frankfurt $0.9062 $1.696 47%
ap-northeast-1 Tokyo $0.9191 $1.768 48%
eu-west-1 Ireland $0.9475 $1.624 42%
ap-northeast-3 Osaka $1.002 $1.768 43%
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 Windows, by region, cheapest first
Region Typical spot On-demand Spot saving
us-east-1 N. Virginia $2.040 $3.840 47%
us-east-2 Ohio $2.040 $3.840 47%
ap-northeast-2 Seoul $2.086 $4.300 51%
eu-west-2 London $2.103 $4.160 49%
us-west-2 Oregon $2.122 $3.840 45%
us-west-1 N. California $2.136 $4.180 49%
ap-south-1 Mumbai $2.138 $3.940 46%
sa-east-1 São Paulo $2.158 $5.020 57%
ca-central-1 Canada Central $2.172 $4.060 47%
ap-southeast-2 Sydney $2.206 $4.340 49%
ap-southeast-1 Singapore $2.261 $4.340 48%
eu-central-1 Frankfurt $2.265 $4.240 47%
ap-northeast-1 Tokyo $2.296 $4.420 48%
eu-west-1 Ireland $2.368 $4.060 42%
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 Windows, by region, cheapest first
Region Typical spot On-demand Spot saving
us-east-1 N. Virginia $3.264 $6.144 47%
us-west-2 Oregon $3.272 $6.144 47%
ca-central-1 Canada Central $3.299 $6.496 49%
eu-west-2 London $3.315 $6.656 50%
ap-northeast-2 Seoul $3.338 $6.880 51%
ap-south-1 Mumbai $3.413 $6.304 46%
us-west-1 N. California $3.414 $6.688 49%
sa-east-1 São Paulo $3.453 $8.032 57%
ap-southeast-2 Sydney $3.513 $6.944 49%
eu-central-1 Frankfurt $3.614 $6.784 47%
ap-southeast-1 Singapore $3.616 $6.944 48%
ap-northeast-1 Tokyo $3.674 $7.072 48%
us-east-2 Ohio $3.676 $6.144 40%
eu-west-1 Ireland $3.789 $6.496 42%
ap-northeast-3 Osaka $4.008 $7.072 43%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.