m5n.xlarge
General purpose · m5n series · Intel Xeon Platinum 8259 (Cascade Lake)
- vCPU
- 4
- Memory
- 16 GiB
- Linux / hour
- $0.2380
- Per month
- $174
- Per vCPU-hour
- $0.0595
- Per GiB-hour
- $0.0149
Analysis
The m5n.xlarge is a general purpose instance in the m5n series with 4 vCPUs and 16 GiB of memory on Intel Xeon Platinum 8259 (Cascade Lake) (up to 3.1 GHz), which makes it balanced at 4 GiB of memory per vCPU.
Within the same generation and size, the m5a.xlarge on AMD EPYC 7571 costs $0.1720/hour, 28% less ($48.18 a month). The other variants are the m5.xlarge at $0.1920, the m5ad.xlarge at $0.2060 and the m5d.xlarge at $0.2260.
Running it in N. Virginia instead of Tokyo saves $49.64 a month per instance: $0.2380/hour against $0.3060/hour, a 29% spread. It is not offered in Canada Central, São Paulo, London, Mumbai and Sydney, so plan around that if you need a presence there.
On demand it costs $0.2380/hour in US East (N. Virginia), $174 a month if left running, which puts it mid-table for general purpose types at the 59th percentile per vCPU ($0.0595 per vCPU-hour) and the 59th percentile per GiB ($0.0149 per GiB-hour).
Looking beyond its own line, 24 of 42 current types with 4 vCPUs and similar memory are cheaper. The cheapest of those is the t4g.xlarge on AWS Graviton2 at $0.1344/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.2380 | $0.4220 | $0.1500 | $0.0920 | |
| Ohio us-east-2 | $0.2380 | $0.4220 | $0.1500 | $0.0920 | |
| Oregon us-west-2 | $0.2380 | $0.4220 | $0.1500 | $0.0920 | |
| Ireland eu-west-1 | $0.2660 | $0.4500 | $0.1680 | $0.1150 | |
| Frankfurt eu-central-1 | $0.2820 | $0.4660 | $0.1780 | $0.1220 | |
| Singapore ap-southeast-1 | $0.2920 | $0.4760 | $0.1840 | $0.1140 | |
| Tokyo ap-northeast-1 | $0.3060 | $0.4900 | $0.1930 | $0.1320 |
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 m5n.xlarge |
|---|---|---|---|---|
| t4g.xlarge AWS Graviton2 Processor | 4 | 16 GiB | $0.1344 | -44% |
| t3a.xlarge AMD EPYC 7571 | 4 | 16 GiB | $0.1504 | -37% |
| m6g.xlarge AWS Graviton2 Processor | 4 | 16 GiB | $0.1540 | -35% |
| m7g.xlarge AWS Graviton3 Processor | 4 | 16 GiB | $0.1632 | -31% |
| t3.xlarge Intel Skylake E5 2686 v5 | 4 | 16 GiB | $0.1664 | -30% |
| m5a.xlarge AMD EPYC 7571 | 4 | 16 GiB | $0.1720 | -28% |
Cost calculator
Specs
| vCPU | 4 |
|---|---|
| Memory | 16 GiB (4.0 per vCPU) |
| Processor | Intel Xeon Platinum 8259 (Cascade Lake) |
| Clock | 3.1 GHz |
| Storage | EBS only |
| Network | Up to 25 Gigabit |
m5n sizes
| m5n.large | 2 vCPU | $0.1190 |
| m5n.xlarge | 4 vCPU | $0.2380 |
| m5n.2xlarge | 8 vCPU | $0.4760 |
| m5n.4xlarge | 16 vCPU | $0.9520 |
| m5n.8xlarge | 32 vCPU | $1.90 |
| m5n.12xlarge | 48 vCPU | $2.86 |
| m5n.16xlarge | 64 vCPU | $3.81 |
| m5n.24xlarge | 96 vCPU | $5.71 |