m4.xlarge
Amazon EC2 · M4 family
The m4.xlarge is a general purpose Amazon EC2 instance type with 4 vCPUs and 16 GiB of memory, running on Intel Xeon E5-2676 v3 (Haswell) with high networking, starting at $0.20 per hour on demand.
- vCPUs
- 4
- memory
- 16 GiB
- processor
- Intel
- on-demand
- $0.20
- spot
- $0.0934
- 1-yr reserved
- $0.1239
dedicated
4 GiB per vCPU
2.4 GHz
$146/mo · us-east-1
−53% vs on-demand
−38% vs on-demand
m4.xlarge price by region
16 regions · hourly list prices in USD · On-demand · Spot · 1-yr Reserved · 3-yr Reserved
| US East (N. Virginia)us-east-1cheapestreferenceNorth America | $0.20 | $0.0934 | $0.1239 | $0.0864 |
| US East (Ohio)us-east-2cheapestNorth America | $0.20 | $0.0735 | $0.1239 | $0.0864 |
| US West (Oregon)us-west-2cheapestNorth America | $0.20 | $0.0726 | $0.1239 | $0.0864 |
| Asia Pacific (Mumbai)ap-south-1Asia | $0.21 | $0.0828 | $0.1309 | $0.0885 |
| Canada (Central)ca-central-1North America | $0.222 | $0.0776 | $0.1365 | $0.095 |
| EU (Ireland)eu-west-1Europe | $0.222 | $0.0849 | $0.1512 | $0.108 |
| EU (London)eu-west-2Europe | $0.232 | $0.0874 | $0.1575 | $0.1145 |
| US West (N. California)us-west-1North America | $0.234 | $0.1009 | $0.1701 | $0.1166 |
| EU (Frankfurt)eu-central-1Europe | $0.24 | $0.0905 | $0.1638 | $0.121 |
| Asia Pacific (Seoul)ap-northeast-2Asia | $0.246 | $0.0583 | $0.147 | $0.108 |
| Asia Pacific (Singapore)ap-southeast-1Asia | $0.25 | $0.0878 | $0.1554 | $0.1058 |
| Asia Pacific (Sydney)ap-southeast-2Oceania | $0.25 | $0.1003 | $0.168 | $0.121 |
| AWS GovCloud (US)us-gov-west-1North America | $0.252 | – | $0.168 | $0.1123 |
| Asia Pacific (Osaka)ap-northeast-3Asia | $0.258 | $0.0868 | $0.1743 | $0.1274 |
| Asia Pacific (Tokyo)ap-northeast-1Asia | $0.258 | $0.1175 | $0.1743 | $0.1274 |
| South America (Sao Paulo)sa-east-1South America | $0.318 | $0.1119 | $0.1806 | $0.1382 |
Specifications
compute
- vCPUs
- 4
- Memory
- 16 GiB
- Memory per vCPU
- 4 GiB
- Processor
- Intel Xeon E5-2676 v3 (Haswell)
- CPU vendor
- Intel
- Architecture
- x86-64
- Clock speed
- 2.4 GHz
- Burstable CPU
- No
storage & network
- Local storage
- Network storage only
- Storage detail
- EBS only
- Network
- High
aws details
- API name
m4.xlarge- Family
- M4
- Category
- General purpose
- Generation
- Current
- Regions
- 16 (Asia, Europe, North America, Oceania, South America)
- Cheapest region
- US East (N. Virginia) · $0.20/hr
- Dedicated EBS throughput
- 750 Mbps
- ECU
- 13
- Enhanced networking
- Yes
- Normalization size factor
- 8
- Processor features
- Intel AVX; Intel AVX2; Intel Turbo
- Spot interruption rate (us-east-1)
- 10-15%
- Spot savings vs on-demand (us-east-1)
- 57%
m4.xlarge equivalents on other clouds
closest match by vCPU, memory, CPU architecture, accelerator and class · Linux on-demand in each provider's reference region
| Provider | Instance | vCPU | Memory | Processor | On-demand | vs m4.xlarge |
|---|---|---|---|---|---|---|
| AWS | m4.xlarge | 4 | 16 GiB | Intel Xeon E5-2676 v3 (Haswell) | $0.20 | – |
| Azure | D4as v5 | 4 | 16 GiB | AMD EPYC 7763v (Milan) | $0.172 | -14% |
| DC4as v5 | 4 | 16 GiB | AMD EPYC 7763v (Milan) | $0.172 | -14% | |
| Google Cloud | e2-standard-4 | 4 | 16 GiB | AMD Rome, Intel Broadwell, Intel Haswell, Intel Skylake | $0.134 | -33% |
| n2d-standard-4 | 4 | 16 GiB | AMD Milan, AMD Rome | $0.169 | -16% | |
| Akamai | G8 Dedicated 16x4 | 4 | 16 GiB | AMD EPYC | $0.21 | +5% |
| Dedicated 8GB8 GiB (2× less) | 4 | 8 GiB | AMD EPYC | $0.108 | -46% | |
| Vultr | vx1-g-4c-16g | 4 | 16 GiB | AMD EPYC | $0.12 | -40% |
| vx1-g-4c-16g-240s | 4 | 16 GiB | AMD EPYC | $0.153 | -24% |
M4 family sizes
| Size | vCPU | Memory | Local storage | On-demand | Monthly | Spot | 1-yr |
|---|---|---|---|---|---|---|---|
| m4.large | 2 | 8 GiB | – | $0.10 | $73.00 | $0.05 | $0.062 |
| m4.xlarge | 4 | 16 GiB | – | $0.20 | $146 | $0.0934 | $0.1239 |
| m4.2xlarge | 8 | 32 GiB | – | $0.40 | $292 | $0.1785 | $0.2478 |
| m4.4xlarge | 16 | 64 GiB | – | $0.80 | $584 | $0.3553 | $0.4956 |
| m4.10xlarge | 40 | 160 GiB | – | $2.00 | $1,460 | $0.9391 | $1.239 |
| m4.16xlarge | 64 | 256 GiB | – | $3.20 | $2,336 | $1.403 | $1.982 |
Similar instance types on AWS
other AWS families with a similar shape, cheapest first
m4.xlarge FAQ
How much does m4.xlarge cost?
m4.xlarge costs $0.20 per hour on demand with Linux in US East (N. Virginia) (us-east-1), about $146 per month. Across 16 regions the Linux on-demand price ranges from $0.20 in US East (N. Virginia) to $0.318 in South America (Sao Paulo). Spot capacity costs $0.0934 per hour (53% less), but can be reclaimed. A 1-yr Reserved commitment brings it to $0.1239 per hour. With Windows it costs $0.384 per hour.
How many vCPUs and how much memory does m4.xlarge have?
m4.xlarge has 4 vCPUs and 16 GiB of memory (4 GiB per vCPU), running on Intel Xeon E5-2676 v3 (Haswell). It is a general purpose instance type in the M4 family.
What are the equivalents of m4.xlarge on other clouds?
The closest matches by vCPU, memory, CPU architecture and instance class are on Azure, D4as v5 (4 vCPU, 16 GiB, $0.172/hour in East US); on Google Cloud, e2-standard-4 (4 vCPU, 16 GiB, $0.134/hour in Iowa); on Akamai, G8 Dedicated 16x4 (4 vCPU, 16 GiB, $0.21/hour in Newark, NJ); on Vultr, vx1-g-4c-16g (4 vCPU, 16 GiB, $0.12/hour in New Jersey).