m4.xlarge by Amazon Web Services

m4.xlarge is a General purpose Gen4 xlarge server offered by Amazon Web Services with 4 vCPUs, 16 GiB of memory and 0 GB of storage. The pricing starts at 0.0467 USD per hour.
4 vCPU
16 GiB Memory
Spare SCore
3,353
(All-cores)
1,282
(Single-core)

Specifications

Server Metadata

Vendor ID
aws
Name
m4.xlarge
Description
General purpose Gen4 xlarge
Family
General Purpose
Series
m4
Hw Virt
Status
active
Observed At
2026-11-15T14:48:34.275459

Availability

Region / IDSpotOndemand
Ohio (US) / us-east-2
0.049967 USD/h
0.2 USD/h
Northern Virgina (US) / us-east-1
0.090167 USD/h
0.2 USD/h
Oregon (US) / us-west-2
0.071433 USD/h
0.2 USD/h
Mumbai (IN) / ap-south-1
0.08205 USD/h
0.21 USD/h
Quebec (CA) / ca-central-1
0.085 USD/h
0.222 USD/h
Dublin (IE) / eu-west-1
0.0997 USD/h
0.222 USD/h
London (GB) / eu-west-2
0.078233 USD/h
0.232 USD/h
California (US) / us-west-1
0.1041 USD/h
0.234 USD/h
Frankfurt (DE) / eu-central-1
0.110233 USD/h
0.24 USD/h
Seoul (KR) / ap-northeast-2
0.08135 USD/h
0.246 USD/h
Singapore (SG) / ap-southeast-1
0.113667 USD/h
0.25 USD/h
Sydney (AU) / ap-southeast-2
0.108367 USD/h
0.25 USD/h
Tokyo (JP) / ap-northeast-1
0.093367 USD/h
0.258 USD/h
Osaka (JP) / ap-northeast-3
0.1087 USD/h
0.258 USD/h
Sao Paulo (BR) / sa-east-1
0.0761 USD/h
0.318 USD/h

Processor

vCPUs
4
Hypervisor
xen
CPU Allocation
Dedicated
CPU Cores
2
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
64 KiB
CPU L1I Cache
32 KiB
CPU L1I Cache Total
64 KiB
CPU L2 Cache
256 KiB
CPU L2 Cache Total
512 KiB
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
2.6
Scalability
65

System Resources and Accelerators

Memory
Memory Amount
16 GiB
Memory Amount Actual
16 GiB
Accelerators
Accelerator Count
0
Accelerator Memory Min
0 MiB
Accelerator Memory Total
0 MiB
Accelerators
    Storage
    Storage Size
    0 GB
    Storages
      Compatible Storage IDs
      standard, gp2, gp3, st1, sc1, io1, io2
      Network
      Network Speed Baseline
      0.75 Gbps
      Network Speed Max
      2.8 Gbps
      Network Storage Speed Baseline
      0.75 Gbps
      Network Storage Speed Max
      0.75 Gbps
      Inbound Traffic
      0 GB/month
      Outbound Traffic
      0 GB/month
      IPv4
      0

      Server Description

      A balanced general-purpose virtual server with dedicated resources for moderate, non-burstable legacy workloads and basic web hosting.

      Amazon Web Services m4.xlarge is a general-purpose instance featuring 4 vCPUs and 16.0 GB of RAM, powered by an Intel Xeon E5-2686 v4 processor running at 2.4 GHz. Built on the Xen hypervisor, this x86_64 instance provides a dedicated CPU allocation with a balanced 4.0 GB of memory per core. It does not include local storage or GPU accelerators, and it operates with a baseline network bandwidth of 1 Gbps. Performance benchmarks, including stress-ng, Geekbench, and memory bandwidth tests, consistently position this instance in the bottom 25% tier, with certain workloads like Redis SET operations falling into the bottom 10%. Consequently, the m4.xlarge is best suited for legacy general-purpose workloads, basic web serving, and lightweight background tasks that require a stable, non-burstable resource profile without demanding high-performance compute or fast local storage.

      Economics

      Average Price per Region

      Prices per Zone

      Lowest Prices

      Performance

      Workload Profiles

      0.2Score
      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) 280,492 ops/sec 1,933,252 ops/sec 0.15 50.00% 50.00% -61.00%
      Redis RPS (pipeline=16, SET) 1,175,970 ops/sec 11,814,424 ops/sec 0.1 20.00% 20.00% -37.00%
      PassMark Memory Mark (composite) 1,758 2,408 0.75 10.00% 10.00% -2.80%
      Memory bandwidth (read, 16 MB ~ L3) 31,679 MB/sec 108,674 MB/sec 0.29 10.00% 10.00% -12.00%
      PassMark single-thread CPU 1,662 Mops/s 2,365 Mops/s 0.71 10.00% 10.00% -3.40%

      Memory Bandwidth

      Compression

      OpenSSL

      Geekbench Single-Core

      Score: 976

      Geekbench Multi-Core

      Score: 2,156

      Passmark CPU Scores

      BENCHMARKSCORE
      Mark
      3,623
      Compression
      47,289
      Encryption
      1,435
      Extended Instructions
      2,281
      Floating Point Maths
      5,792
      Integer Maths
      10,307
      Physics
      492
      Prime Numbers
      23
      Single Threaded
      1,662
      String Sorting
      5,621

      Passmark Memory Scores

      BENCHMARKSCORE
      Memory Mark
      1,758
      Database Operations
      1,244
      Memory Latency
      60
      Memory Read Cached
      19,831
      Memory Read Uncached
      9,096
      Memory Write
      8,650

      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
      t2.nano 10.5 GiB0
      t1.micro 10.6 GiB0
      t2.micro 11 GiB0
      m1.small 12 GiB0
      t2.small 12 GiB0
      m1.medium 14 GiB0
      m3.medium 14 GiB0

      Similar Servers

      INSTANCEVENDORvCPUsMEMORYAccelerators

      m4.xlarge FAQs