m4.2xlarge

Amazon EC2 · M4 family

The m4.2xlarge is a general purpose Amazon EC2 instance type with 8 vCPUs and 32 GiB of memory, running on Intel Xeon E5-2676 v3 (Haswell) with high networking, starting at $0.40 per hour on demand.

general purposex86-64intel
vCPUs
8

dedicated

memory
32 GiB

4 GiB per vCPU

processor
Intel

2.4 GHz

on-demand
$0.40

$292/mo · us-east-1

spot
$0.1785

−55% vs on-demand

1-yr reserved
$0.2478

−38% vs on-demand

m4.2xlarge 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.40$0.1785$0.2478$0.1728
US East (Ohio)us-east-2cheapestNorth America$0.40$0.1575$0.2478$0.1728
US West (Oregon)us-west-2cheapestNorth America$0.40$0.1702$0.2478$0.1728
Asia Pacific (Mumbai)ap-south-1Asia$0.42$0.1804$0.2617$0.177
Canada (Central)ca-central-1North America$0.444$0.152$0.273$0.1901
EU (Ireland)eu-west-1Europe$0.444$0.2123$0.3024$0.216
EU (London)eu-west-2Europe$0.464$0.1907$0.315$0.229
US West (N. California)us-west-1North America$0.468$0.1666$0.3402$0.2333
EU (Frankfurt)eu-central-1Europe$0.48$0.1956$0.3276$0.2419
Asia Pacific (Seoul)ap-northeast-2Asia$0.492$0.1546$0.294$0.216
Asia Pacific (Singapore)ap-southeast-1Asia$0.50$0.1855$0.3108$0.2117
Asia Pacific (Sydney)ap-southeast-2Oceania$0.50$0.2227$0.336$0.2419
AWS GovCloud (US)us-gov-west-1North America$0.504–$0.336$0.2246
Asia Pacific (Osaka)ap-northeast-3Asia$0.516$0.0792$0.3486$0.2549
Asia Pacific (Tokyo)ap-northeast-1Asia$0.516$0.1779$0.3486$0.2549
South America (Sao Paulo)sa-east-1South America$0.636$0.1708$0.3612$0.2765

Specifications

compute

vCPUs
8
Memory
32 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.2xlarge
Family
M4
Category
General purpose
Generation
Current
Regions
16 (Asia, Europe, North America, Oceania, South America)
Cheapest region
US East (N. Virginia) · $0.40/hr
Dedicated EBS throughput
1000 Mbps
ECU
26
Enhanced networking
Yes
Normalization size factor
16
Processor features
Intel AVX; Intel AVX2; Intel Turbo
Spot interruption rate (us-east-1)
15-20%
Spot savings vs on-demand (us-east-1)
52%

m4.2xlarge equivalents on other clouds

closest match by vCPU, memory, CPU architecture, accelerator and class · Linux on-demand in each provider's reference region

compare side by side→
ProviderInstancevCPUMemoryProcessorOn-demandvs m4.2xlarge
AWSm4.2xlarge832 GiBIntel Xeon E5-2676 v3 (Haswell)$0.40–
AzureD8as v5832 GiBAMD EPYC 7763v (Milan)$0.344-14%
DC8as v5832 GiBAMD EPYC 7763v (Milan)$0.344-14%
Google Cloude2-standard-8832 GiBAMD Rome, Intel Broadwell, Intel Haswell, Intel Skylake$0.268-33%
n2d-standard-8832 GiBAMD Milan, AMD Rome$0.338-16%
AkamaiG8 Dedicated 32x8832 GiBAMD EPYC$0.42+5%
Linode 32GBburstable CPU832 GiBAMD EPYC$0.288-28%
Vultrvbm-4c-32gb832 GiBIntel Xeon E3-1270$0.164-59%
vx1-g-8c-32g832 GiBAMD EPYC$0.24-40%

M4 family sizes

all about M4→
SizevCPUMemoryLocal storageOn-demandMonthlySpot1-yr
m4.large28 GiB–$0.10$73.00$0.05$0.062
m4.xlarge416 GiB–$0.20$146$0.0934$0.1239
m4.2xlarge832 GiB–$0.40$292$0.1785$0.2478
m4.4xlarge1664 GiB–$0.80$584$0.3553$0.4956
m4.10xlarge40160 GiB–$2.00$1,460$0.9391$1.239
m4.16xlarge64256 GiB–$3.20$2,336$1.403$1.982

Similar instance types on AWS

other AWS families with a similar shape, cheapest first

m4.2xlarge FAQ

How much does m4.2xlarge cost?

m4.2xlarge costs $0.40 per hour on demand with Linux in US East (N. Virginia) (us-east-1), about $292 per month. Across 16 regions the Linux on-demand price ranges from $0.40 in US East (N. Virginia) to $0.636 in South America (Sao Paulo). Spot capacity costs $0.1785 per hour (55% less), but can be reclaimed. A 1-yr Reserved commitment brings it to $0.2478 per hour. With Windows it costs $0.768 per hour.

How many vCPUs and how much memory does m4.2xlarge have?

m4.2xlarge has 8 vCPUs and 32 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.2xlarge on other clouds?

The closest matches by vCPU, memory, CPU architecture and instance class are on Azure, D8as v5 (8 vCPU, 32 GiB, $0.344/hour in East US); on Google Cloud, e2-standard-8 (8 vCPU, 32 GiB, $0.268/hour in Iowa); on Akamai, G8 Dedicated 32x8 (8 vCPU, 32 GiB, $0.42/hour in Newark, NJ); on Vultr, vbm-4c-32gb (8 vCPU, 32 GiB, $0.164/hour in New Jersey).