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.1256 USD per hour.
8 vCPU
32 GiB Memory
Spare SCore
6,290
(All-cores)
1,264
(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-09-08T23:57:22.210710

Availability

REGION / IDSPOTONDEMAND
Ohio (US) / us-east-2
0.131567 USD/h 0.4 USD/h
Oregon (US) / us-west-2
0.179667 USD/h 0.4 USD/h
Northern Virgina (US) / us-east-1
0.218867 USD/h 0.4 USD/h
Mumbai (IN) / ap-south-1
0.13665 USD/h 0.42 USD/h
Quebec (CA) / ca-central-1
0.20755 USD/h 0.444 USD/h
Dublin (IE) / eu-west-1
0.2301 USD/h 0.444 USD/h
London (GB) / eu-west-2
0.242233 USD/h 0.464 USD/h
California (US) / us-west-1
0.2118 USD/h 0.468 USD/h
Frankfurt (DE) / eu-central-1
0.269767 USD/h 0.48 USD/h
Seoul (KR) / ap-northeast-2
0.14175 USD/h 0.492 USD/h
Singapore (SG) / ap-southeast-1
0.2144 USD/h 0.5 USD/h
Sydney (AU) / ap-southeast-2
0.277367 USD/h 0.5 USD/h
Osaka (JP) / ap-northeast-3
0.149 USD/h 0.516 USD/h
Tokyo (JP) / ap-northeast-1
0.191333 USD/h 0.516 USD/h
Sao Paulo (BR) / sa-east-1
0.15705 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 balanced general-purpose virtual server featuring dedicated Intel Xeon processors and a stable memory-to-vCPU ratio for non-intensive workloads.

      General Purpose

      Amazon Web Services m4.2xlarge is a general-purpose instance utilizing the Xen hypervisor and an x86_64 Intel Xeon E5-2686 v4 processor. It provides 8 dedicated vCPUs across 4 physical cores, running at 2.4 GHz, paired with 32.0 GB of system memory. The instance features no local storage and a baseline network bandwidth of 1 Gbps. Performance benchmarks indicate average multi-core CPU and memory bandwidth capabilities, though single-core execution, database operations, and web serving throughput fall into the bottom 25%. This resource profile makes the m4.2xlarge suitable for balanced, non-intensive workloads such as development environments, basic multi-threaded processing, and general-purpose application hosting where high single-thread performance and local storage are not required.

      Economics

      Average Price per Region

      Prices per Zone

      Lowest Prices

      Performance

      Workload Profiles

      0.327Score
      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,917,397 ops/sec 0.266 50.00% 50.00% -48.40%
      Redis RPS (pipeline=16, SET) 2,194,847 ops/sec 11,681,410 ops/sec 0.188 20.00% 20.00% -28.40%
      PassMark Memory Mark (composite) 2,143 2,418 0.886 10.00% 10.00% -1.20%
      Memory bandwidth (read, 16 MB ~ L3) 50,926 MB/sec 108,140 MB/sec 0.471 10.00% 10.00% -7.25%
      PassMark single-thread CPU 1,670 Mops/s 2,365 Mops/s 0.706 10.00% 10.00% -3.42%

      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