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.1026 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-10-24T08:16:31.045328

Availability

REGION / IDSPOTONDEMAND
Ohio (US) / us-east-2
0.117767 USD/h 0.4 USD/h
Northern Virgina (US) / us-east-1
0.19515 USD/h 0.4 USD/h
Oregon (US) / us-west-2
0.1886 USD/h 0.4 USD/h
Mumbai (IN) / ap-south-1
0.15595 USD/h 0.42 USD/h
Quebec (CA) / ca-central-1
0.20045 USD/h 0.444 USD/h
Dublin (IE) / eu-west-1
0.228033 USD/h 0.444 USD/h
London (GB) / eu-west-2
0.2228 USD/h 0.464 USD/h
California (US) / us-west-1
0.1881 USD/h 0.468 USD/h
Frankfurt (DE) / eu-central-1
0.248667 USD/h 0.48 USD/h
Seoul (KR) / ap-northeast-2
0.1346 USD/h 0.492 USD/h
Singapore (SG) / ap-southeast-1
0.208733 USD/h 0.5 USD/h
Sydney (AU) / ap-southeast-2
0.2365 USD/h 0.5 USD/h
Osaka (JP) / ap-northeast-3
0.1393 USD/h 0.516 USD/h
Tokyo (JP) / ap-northeast-1
0.195967 USD/h 0.516 USD/h
Sao Paulo (BR) / sa-east-1
0.10385 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
62.5

System Resources and Accelerators

MEMORY
Memory Amount
32 GiB
Memory Amount Actual
32 GiB
ACCELERATORS
Accelerator Count
0
Accelerator Memory Min
0 MiB
Accelerator Memory Total
0 MiB
Accelerators
    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.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,919,289 ops/sec 0.27 50.00% 50.00% -48.00%
      Redis RPS (pipeline=16, SET) 2,194,847 ops/sec 11,728,058 ops/sec 0.18 20.00% 20.00% -29.00%
      PassMark Memory Mark (composite) 2,143 2,416 0.88 10.00% 10.00% -1.30%
      Memory bandwidth (read, 16 MB ~ L3) 50,926 MB/sec 108,466 MB/sec 0.46 10.00% 10.00% -7.50%
      PassMark single-thread CPU 1,670 Mops/s 2,365 Mops/s 0.71 10.00% 10.00% -3.40%

      Memory Bandwidth

      Compression

      OpenSSL

      Geekbench Single-Core

      Score: 973

      Geekbench Multi-Core

      Score: 3,756

      Passmark CPU Scores

      BENCHMARKSCORE
      Mark
      7,008
      Compression
      95,074
      Encryption
      2,884
      Extended Instructions
      4,626
      Floating Point Maths
      11,655
      Integer Maths
      20,678
      Physics
      833
      Prime Numbers
      41
      Single Threaded
      1,670
      String Sorting
      11,280

      Passmark Memory Scores

      BENCHMARKSCORE
      Memory Mark
      2,143
      Database Operations
      2,491
      Memory Latency
      60
      Memory Read Cached
      19,936
      Memory Read Uncached
      10,199
      Memory Write
      9,420

      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

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

      Similar Servers

      INSTANCEVENDORvCPUsMEMORYAccelerators

      m4.2xlarge FAQs