m4.2xlarge
General purpose · m4 series · Intel Xeon E5-2676 v3 (Haswell)
- vCPU
- 8
- Memory
- 32 GiB
- Linux / hour
- $0.4000
- Per month
- $292
- Per vCPU-hour
- $0.0500
- Per GiB-hour
- $0.0125
Analysis
The m4.2xlarge is a general purpose instance in the m4 series with 8 vCPUs and 32 GiB of memory on Intel Xeon E5-2676 v3 (Haswell) (up to 2.4 GHz), which makes it balanced at 4 GiB of memory per vCPU.
Running it in N. Virginia instead of São Paulo saves $172 a month per instance: $0.4000/hour against $0.6360/hour, a 59% spread.
Reserving it for a year with no upfront payment cuts the Linux rate to $0.2478/hour, which beats on demand once it runs more than 62% of the time; three years brings it to $0.1728/hour, 57% below on demand. Windows Server roughly doubles the bill at $0.7680/hour, because the licence is charged per vCPU.
On demand it costs $0.4000/hour in US East (N. Virginia), $292 a month if left running, which puts it mid-table for general purpose types at the 35th percentile per vCPU ($0.0500 per vCPU-hour) and the 35th percentile per GiB ($0.0125 per GiB-hour).
The newer m5.2xlarge on Intel Xeon Platinum 8175 is 4.0% cheaper at $0.3840/hour, which makes the m4.2xlarge hard to justify for new deployments.
Looking beyond its own line, 14 of 42 current types with 8 vCPUs and similar memory are cheaper. The cheapest of those is the t4g.2xlarge on AWS Graviton2 at $0.2688/hour. It is burstable, so it only suits workloads that do not run the CPU flat out.
Price by region (USD per hour)
| Region | Linux | Windows | 1-yr RI | 3-yr RI | |
|---|---|---|---|---|---|
| N. Virginia us-east-1 | $0.4000 | $0.7680 | $0.2478 | $0.1728 | |
| Ohio us-east-2 | $0.4000 | $0.7680 | $0.2478 | $0.1728 | |
| Oregon us-west-2 | $0.4000 | $0.7680 | $0.2478 | $0.1728 | |
| Canada Central ca-central-1 | $0.4440 | $0.8120 | $0.2730 | $0.1901 | |
| São Paulo sa-east-1 | $0.6360 | $1.00 | $0.3612 | $0.2765 | |
| Ireland eu-west-1 | $0.4440 | $0.8120 | $0.3024 | $0.2160 | |
| London eu-west-2 | $0.4640 | $0.8320 | $0.3150 | $0.2290 | |
| Frankfurt eu-central-1 | $0.4800 | $0.8480 | $0.3276 | $0.2419 | |
| Mumbai ap-south-1 | $0.4200 | $0.7880 | $0.2617 | $0.1770 | |
| Singapore ap-southeast-1 | $0.5000 | $0.8680 | $0.3108 | $0.2117 | |
| Sydney ap-southeast-2 | $0.5000 | $0.8680 | $0.3360 | $0.2419 | |
| Tokyo ap-northeast-1 | $0.5160 | $0.8840 | $0.3486 | $0.2549 |
Shared tenancy, no pre-installed software. Reserved rates are standard, no upfront, per hour. Prices as of 2026-11-04.
Same shape, other types
| Type | vCPU | Memory | $/hour | vs m4.2xlarge |
|---|---|---|---|---|
| t4g.2xlarge AWS Graviton2 Processor | 8 | 32 GiB | $0.2688 | -33% |
| t3a.2xlarge AMD EPYC 7571 | 8 | 32 GiB | $0.3008 | -25% |
| m6g.2xlarge AWS Graviton2 Processor | 8 | 32 GiB | $0.3080 | -23% |
| m7g.2xlarge AWS Graviton3 Processor | 8 | 32 GiB | $0.3264 | -18% |
| t3.2xlarge Intel Skylake E5 2686 v5 | 8 | 32 GiB | $0.3328 | -17% |
| m5a.2xlarge AMD EPYC 7571 | 8 | 32 GiB | $0.3440 | -14% |
Cost calculator
Specs
| vCPU | 8 |
|---|---|
| Memory | 32 GiB (4.0 per vCPU) |
| Processor | Intel Xeon E5-2676 v3 (Haswell) |
| Clock | 2.4 GHz |
| Storage | EBS only |
| Network | High |
m4 sizes
| m4.large | 2 vCPU | $0.1000 |
| m4.xlarge | 4 vCPU | $0.2000 |
| m4.2xlarge | 8 vCPU | $0.4000 |
| m4.4xlarge | 16 vCPU | $0.8000 |
| m4.10xlarge | 40 vCPU | $2.00 |
| m4.16xlarge | 64 vCPU | $3.20 |