logo

m4.2xlarge by Amazon Web Services

m4.2xlarge is a General purpose Gen4 2xlarge server offered by Amazon Web Services with 8 vCPUs, 32 GiB of memory and 0 GB of storage. The pricing starts at 0.1058 USD per hour.
8 vCPU
32 GiB Memory
Spare SCore
6290
(All-cores)
1264
(Single-core)

Specifications

Server Metadata

Vendor ID
aws
Name
m4.2xlarge
Description
General purpose Gen4 2xlarge
Family
m4
Hw Virt
Status
active
Observed At
2026-07-25T17:13:31.563158

Availability

REGION / IDSPOTONDEMAND
Ohio (US) / us-east-2
0.1228 USD/h 0.4 USD/h
Northern Virgina (US) / us-east-1
0.2224 USD/h 0.4 USD/h
Oregon (US) / us-west-2
0.188233 USD/h 0.4 USD/h
Mumbai (IN) / ap-south-1
0.1454 USD/h 0.42 USD/h
Quebec (CA) / ca-central-1
0.20785 USD/h 0.444 USD/h
Dublin (IE) / eu-west-1
0.2316 USD/h 0.444 USD/h
London (GB) / eu-west-2
0.2215 USD/h 0.464 USD/h
California (US) / us-west-1
0.20015 USD/h 0.468 USD/h
Frankfurt (DE) / eu-central-1
0.255933 USD/h 0.48 USD/h
Seoul (KR) / ap-northeast-2
0.1698 USD/h 0.492 USD/h
Singapore (SG) / ap-southeast-1
0.210467 USD/h 0.5 USD/h
Sydney (AU) / ap-southeast-2
0.247733 USD/h 0.5 USD/h
Osaka (JP) / ap-northeast-3
0.1669 USD/h 0.516 USD/h
Tokyo (JP) / ap-northeast-1
0.184833 USD/h 0.516 USD/h
Sao Paulo (BR) / sa-east-1
0.1716 USD/h 0.636 USD/h

Processor

vCPUs
8
Hypervisor
xen
CPU Allocation
Dedicated
CPU Cores
4
CPU Speed
2.4 GHz
CPU Architecture
x86_64
CPU Manufacturer
Intel
CPU Family
Xeon
CPU Model
E5-2686 v4
CPU L1D Cache
32 KiB
CPU L1D Cache Total
128 KiB
CPU L1I Cache
32 KiB
CPU L1I Cache Total
128 KiB
CPU L2 Cache
256 KiB
CPU L2 Cache Total
1 MiB
CPU L3 Cache
45 MiB
CPU L3 Cache Total
45 MiB
CPU Flags
fpu, vme, de, pse, tsc, msr, pae, mce, cx8, apic, sep, mtrr, pge, mca, cmov, pat, pse36, clflush, mmx, fxsr, sse, sse2, ht, syscall, nx, pdpe1gb, rdtscp, lm, constant_tsc, rep_good, nopl, xtopology, cpuid, tsc_known_freq, pni, pclmulqdq, ssse3, fma, cx16, pcid, sse4_1, sse4_2, x2apic, movbe, popcnt, tsc_deadline_timer, aes, xsave, avx, f16c, rdrand, hypervisor, lahf_lm, abm, pti, fsgsbase, bmi1, avx2, smep, bmi2, erms, invpcid, xsaveopt
Ecpus
5
Scalability
125

System Resources and Accelerators

MEMORY
Memory Amount
32 GiB
Memory Amount Actual
32 GiB
GPU
GPU Count
0
GPU Memory Min
0 MiB
GPU Memory Total
0 MiB
GPUs
    STORAGE
    Storage Size
    0 GB
    Storages
      NETWORK
      Network Speed Baseline
      1 Gbps
      Network Speed Max
      10 Gbps
      Network Storage Speed Baseline
      1 Gbps
      Network Storage Speed Max
      1 Gbps
      Inbound Traffic
      0 GB/month
      Outbound Traffic
      0 GB/month
      IPv4
      0

      Server Description

      A general-purpose instance offering balanced memory and dedicated vCPUs for legacy workloads requiring moderate multi-core processing without local storage.

      General Purpose

      Amazon Web Services m4.2xlarge is an older-generation general-purpose instance featuring an Intel Xeon E5-2686 v4 processor with 8 vCPUs, 4 physical cores, and 32.0 GB of RAM. Running on the Xen hypervisor, it lacks local storage and provides a baseline network bandwidth of 1 Gbps. Performance benchmarks place this instance in the average tier for multi-core processing and memory bandwidth, while single-core metrics and database operations fall into the bottom 25%. The lack of local storage and modest network speeds represent key tradeoffs. Qualitatively, this instance offers a stable, balanced resource allocation for legacy workloads, basic web serving, and moderate multi-threaded applications that do not demand high single-core performance or rapid storage I/O.

      Economics

      Average Price per Region

      Prices per Zone

      Lowest Prices

      Performance

      Workload Profiles

      0.33Score
      Precomputed compound score for Cache Intensive workloads. A weighted average (geometric mean) of benchmark scores compared to their medians: score = ∏ (x_i / m_i)^(w_i / Σw). The score of 1.0 represents a synthetic baseline server with the median performance of each component benchmark; 0.5 means roughly half the performance; and 2.0 means twice the performance of that reference profile. Component weights: 50% Redis RPS (pipeline=1, SET), 20% Redis RPS (pipeline=16, SET), 10% PassMark Memory Mark (composite), 10% Memory bandwidth (read, 16 MB ~ L3), 10% PassMark single-thread CPU. Rationale for component selection: In-memory key-value store workload, mixing direct Redis performance metrics with memory speed and latency benchmarks, and single-core CPU performance profiles.
      Component Score Weight Impact
      Raw Reference Normalized Target Actual
      Redis RPS (pipeline=1, SET) 510,377 ops/sec 1,896,415 ops/sec 0.269 50.00% 50.00% -48.10%
      Redis RPS (pipeline=16, SET) 2,194,847 ops/sec 11,539,523 ops/sec 0.19 20.00% 20.00% -28.30%
      PassMark Memory Mark (composite) 2,143 2,411 0.889 10.00% 10.00% -1.17%
      Memory bandwidth (read, 16 MB ~ L3) 50,926 MB/sec 107,368 MB/sec 0.474 10.00% 10.00% -7.19%
      PassMark single-thread CPU 1,670 Mops/s 2,363 Mops/s 0.707 10.00% 10.00% -3.41%

      Memory Bandwidth

      Compression

      OpenSSL

      Geekbench Single-Core

      Score: 973

      Geekbench Multi-Core

      Score: 3,756

      Passmark CPU Scores

      BENCHMARKSCORE
      Mark
      7008
      Compression
      95074
      Encryption
      2884
      Extended Instructions
      4626
      Floating Point Maths
      11655
      Integer Maths
      20678
      Physics
      833
      Prime Numbers
      41
      Single Threaded
      1670
      String Sorting
      11280

      Passmark Memory Scores

      BENCHMARKSCORE
      Memory Mark
      2143
      Database Operations
      2491
      Memory Latency
      60
      Memory Read Cached
      19936
      Memory Read Uncached
      10199
      Memory Write
      9420

      Stress-ng Raw Scores

      Stress-ng Relative Multicore Performance

      LLM Inference Speed for Prompt Processing

      LLM Inference Speed for Text Generation

      Static Web Server

      Redis

      Alternatives

      Servers of the Same Family

      INSTANCEvCPUsMEMORYGPUs
      m4.large 28 GiB0
      m4.xlarge 416 GiB0
      m4.4xlarge 1664 GiB0
      m4.10xlarge 40160 GiB0
      m4.16xlarge 64256 GiB0

      Similar Servers

      INSTANCEVENDORvCPUsMEMORYGPUs

      m4.2xlarge FAQs