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.0251 $0.1230 ap-northeast-2 of 15 $0.0126
m4.xlarge4 vCPU, 16 GiB 4 16 GiB $0.0525 $0.2460 ap-northeast-2 of 15 $0.0131
m4.2xlarge8 vCPU, 32 GiB 8 32 GiB $0.1177 $0.4920 ap-northeast-2 of 15 $0.0147
m4.4xlarge16 vCPU, 64 GiB 16 64 GiB $0.1863 $1.272 sa-east-1 of 15 $0.0116
m4.10xlarge40 vCPU, 160 GiB 40 160 GiB $0.3666 $3.180 sa-east-1 of 14 $0.00916
m4.16xlarge64 vCPU, 256 GiB 64 256 GiB $0.4488 $3.712 eu-west-2 of 15 $0.00701

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
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 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
ap-northeast-2 Seoul $0.0251 $0.1230 80%
us-east-2 Ohio $0.0338 $0.1000 66%
sa-east-1 São Paulo $0.0341 $0.1590 79%
ap-south-1 Mumbai $0.0374 $0.1050 64%
us-east-1 N. Virginia $0.0388 $0.1000 61%
eu-west-2 London $0.0400 $0.1160 66%
us-west-2 Oregon $0.0434 $0.1000 57%
ap-northeast-1 Tokyo $0.0456 $0.1290 65%
ap-northeast-3 Osaka $0.0471 $0.1290 63%
ca-central-1 Canada Central $0.0479 $0.1110 57%
eu-west-1 Ireland $0.0481 $0.1110 57%
ap-southeast-2 Sydney $0.0487 $0.1250 61%
eu-central-1 Frankfurt $0.0493 $0.1200 59%
us-west-1 N. California $0.0507 $0.1170 57%
ap-southeast-1 Singapore $0.0521 $0.1250 58%
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
ap-northeast-2 Seoul $0.0525 $0.2460 79%
us-east-2 Ohio $0.0570 $0.2000 72%
us-east-1 N. Virginia $0.0644 $0.2000 68%
sa-east-1 São Paulo $0.0791 $0.3180 75%
ap-south-1 Mumbai $0.0796 $0.2100 62%
eu-west-2 London $0.0806 $0.2320 65%
us-west-2 Oregon $0.0823 $0.2000 59%
ca-central-1 Canada Central $0.0923 $0.2220 58%
ap-northeast-1 Tokyo $0.0935 $0.2580 64%
eu-west-1 Ireland $0.1028 $0.2220 54%
ap-southeast-1 Singapore $0.1072 $0.2500 57%
ap-southeast-2 Sydney $0.1074 $0.2500 57%
eu-central-1 Frankfurt $0.1098 $0.2400 54%
us-west-1 N. California $0.1107 $0.2340 53%
ap-northeast-3 Osaka $0.1118 $0.2580 57%
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
ap-northeast-2 Seoul $0.1177 $0.4920 76%
us-east-2 Ohio $0.1187 $0.4000 70%
sa-east-1 São Paulo $0.1220 $0.6360 81%
ap-northeast-3 Osaka $0.1372 $0.5160 73%
ap-south-1 Mumbai $0.1461 $0.4200 65%
us-east-1 N. Virginia $0.1652 $0.4000 59%
ca-central-1 Canada Central $0.1824 $0.4440 59%
us-west-2 Oregon $0.1860 $0.4000 53%
eu-west-2 London $0.1887 $0.4640 59%
ap-northeast-1 Tokyo $0.1897 $0.5160 63%
us-west-1 N. California $0.1959 $0.4680 58%
ap-southeast-1 Singapore $0.2033 $0.5000 59%
eu-west-1 Ireland $0.2223 $0.4440 50%
ap-southeast-2 Sydney $0.2360 $0.5000 53%
eu-central-1 Frankfurt $0.2378 $0.4800 50%
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.1863 $1.272 85%
us-east-1 N. Virginia $0.2154 $0.8000 73%
ap-northeast-2 Seoul $0.2196 $0.9840 78%
us-east-2 Ohio $0.2356 $0.8000 71%
us-west-1 N. California $0.2587 $0.9360 72%
ap-northeast-3 Osaka $0.2775 $1.032 73%
eu-west-2 London $0.3036 $0.9280 67%
ap-south-1 Mumbai $0.3100 $0.8400 63%
ca-central-1 Canada Central $0.3194 $0.8880 64%
us-west-2 Oregon $0.3350 $0.8000 58%
ap-northeast-1 Tokyo $0.3840 $1.032 63%
ap-southeast-1 Singapore $0.3905 $1.000 61%
eu-central-1 Frankfurt $0.4003 $0.9600 58%
ap-southeast-2 Sydney $0.4345 $1.000 57%
eu-west-1 Ireland $0.4709 $0.8880 47%
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.3666 $3.180 88%
ap-northeast-2 Seoul $0.4836 $2.460 80%
us-east-2 Ohio $0.5137 $2.000 74%
ap-south-1 Mumbai $0.5169 $2.100 75%
us-east-1 N. Virginia $0.5241 $2.000 74%
ca-central-1 Canada Central $0.6142 $2.220 72%
ap-northeast-1 Tokyo $0.6250 $2.580 76%
eu-west-2 London $0.6410 $2.320 72%
us-west-2 Oregon $0.6623 $2.000 67%
us-west-1 N. California $0.6941 $2.340 70%
eu-west-1 Ireland $0.7600 $2.220 66%
ap-southeast-1 Singapore $0.8119 $2.500 68%
eu-central-1 Frankfurt $0.8697 $2.400 64%
ap-southeast-2 Sydney $0.8946 $2.500 64%
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
eu-west-2 London $0.4488 $3.712 88%
ap-south-1 Mumbai $0.4550 $3.360 86%
sa-east-1 São Paulo $0.5088 $5.088 90%
ca-central-1 Canada Central $0.5402 $3.552 85%
ap-northeast-2 Seoul $0.5598 $3.936 86%
us-east-1 N. Virginia $0.6489 $3.200 80%
us-west-2 Oregon $0.6688 $3.200 79%
eu-central-1 Frankfurt $0.6837 $3.840 82%
ap-southeast-1 Singapore $0.6929 $4.000 83%
us-east-2 Ohio $0.7225 $3.200 77%
ap-northeast-1 Tokyo $0.8284 $4.128 80%
us-west-1 N. California $0.9978 $3.744 73%
ap-northeast-3 Osaka $1.084 $4.128 74%
ap-southeast-2 Sydney $1.344 $4.000 66%
eu-west-1 Ireland $1.488 $3.552 58%
Solid: spot, the daily mean of all zones (the typical spot above takes the cheapest zone). Dashed: on-demand. UTC days.