e2-medium by Google Cloud Platform

e2-medium is a Efficient Instance, 2 vCPU (1/2 shared physical core) and 4 GB RAM server offered by Google Cloud Platform with 2 vCPUs, 4 GiB of memory and 0 GB of storage. The pricing starts at 0.005 USD per hour.
2 vCPU
4 GiB Memory
Spare SCore
2,643
(All-cores)
2,642
(Single-core)

Specifications #

Server Metadata #

Vendor ID
gcp
Server ID
334004
Name
e2-medium
Description
Efficient Instance, 2 vCPU (1/2 shared physical core) and 4 GB RAM
Family
General Purpose
Series
e2
Hw Virt
Average Time To Start
22
Status
active
Observed At
2026-11-16T18:44:04.735386

Availability #

Region / IDSpotOndemand
Columbus (US) / us-east5
0.0177 USD/h
0.0335 USD/h
Council Bluffs (US) / us-central1
0.0191 USD/h
0.0335 USD/h
The Dalles (US) / us-west1
0.0191 USD/h
0.0335 USD/h
Moncks Corner (US) / us-east1
0.0191 USD/h
0.0335 USD/h
Stockholm (SE) / europe-north2
0.0094 USD/h
0.0352 USD/h
Queretaro (MX) / northamerica-south1
0.0107 USD/h
0.0365 USD/h
Toronto (CA) / northamerica-northeast2
0.008 USD/h
0.0369 USD/h
Hamina (FI) / europe-north1
0.0111 USD/h
0.0369 USD/h
Montréal (CA) / northamerica-northeast1
0.0119 USD/h
0.0369 USD/h
Johannesburg (ZA) / africa-south1
0.013 USD/h
0.0369 USD/h
St. Ghislain (BE) / europe-west1
0.0188 USD/h
0.0369 USD/h
Tel Aviv (IL) / me-west1
0.0197 USD/h
0.0369 USD/h
Eemshaven (NL) / europe-west4
0.021 USD/h
0.0369 USD/h
Las Vegas (US) / us-west4
0.005 USD/h
0.0377 USD/h
Ashburn (US) / us-east4
0.0225 USD/h
0.0377 USD/h
Changhua County (TW) / asia-east1
0.0218 USD/h
0.0388 USD/h
Paris (FR) / europe-west9
0.0208 USD/h
0.0389 USD/h
Milan (IT) / europe-west8
0.0211 USD/h
0.0389 USD/h
Dallas (US) / us-south1
0.0131 USD/h
0.0395 USD/h
Madrid (ES) / europe-southwest1
0.0231 USD/h
0.0395 USD/h
Salt Lake City (US) / us-west3
0.0126 USD/h
0.0402 USD/h
Los Angeles (US) / us-west2
0.0133 USD/h
0.0402 USD/h
Delhi (IN) / asia-south2
0.0207 USD/h
0.0402 USD/h
Mumbai (IN) / asia-south1
0.0241 USD/h
0.0402 USD/h
Melbourne (AU) / australia-southeast2
0.0219 USD/h
0.0404 USD/h
Warsaw (PL) / europe-central2
0.0196 USD/h
0.0405 USD/h
Doha (QA) / me-central1
0.0209 USD/h
0.0407 USD/h
Jurong West (SG) / asia-southeast1
0.0248 USD/h
0.0413 USD/h
Osaka (JP) / asia-northeast2
0.0122 USD/h
0.043 USD/h
Seoul (KR) / asia-northeast3
0.0223 USD/h
0.043 USD/h
Tokyo (JP) / asia-northeast1
0.0258 USD/h
0.043 USD/h
Berlin (DE) / europe-west10
0.0078 USD/h
0.0432 USD/h
Turin (IT) / europe-west12
0.0122 USD/h
0.0432 USD/h
London (GB) / europe-west2
0.0163 USD/h
0.0432 USD/h
Frankfurt (DE) / europe-west3
0.0259 USD/h
0.0432 USD/h
Zurich (CH) / europe-west6
0.0205 USD/h
0.0439 USD/h
Jakarta (ID) / asia-southeast2
0.0107 USD/h
0.0451 USD/h
Hong Kong / asia-east2
0.0134 USD/h
0.0469 USD/h
Sydney (AU) / australia-southeast1
0.0252 USD/h
0.0475 USD/h
Santiago (CL) / southamerica-west1
0.0253 USD/h
0.0479 USD/h
Osasco (BR) / southamerica-east1
0.0116 USD/h
0.0532 USD/h
Dammam (SA) / me-central2
0.0322 USD/h
0.0536 USD/h

Processor #

vCPUs
2
CPU Allocation
Shared
CPU Cores
1
CPU Speed
2.2 GHz
CPU Architecture
x86_64
CPU Manufacturer
Intel
CPU Family
Xeon
CPU L1D Cache
32 KiB
CPU L1D Cache Total
32 KiB
CPU L1I Cache
32 KiB
CPU L1I Cache Total
32 KiB
CPU L2 Cache
512 KiB
CPU L2 Cache Total
512 KiB
CPU L3 Cache
16 MiB
CPU L3 Cache Total
16 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, ss, ht, syscall, nx, pdpe1gb, rdtscp, lm, constant_tsc, rep_good, nopl, xtopology, nonstop_tsc, cpuid, tsc_known_freq, pni, pclmulqdq, ssse3, fma, cx16, pcid, sse4_1, sse4_2, x2apic, movbe, popcnt, aes, xsave, avx, f16c, rdrand, hypervisor, lahf_lm, abm, 3dnowprefetch, pti, ssbd, ibrs, ibpb, stibp, fsgsbase, tsc_adjust, bmi1, hle, avx2, smep, bmi2, erms, invpcid, rtm, rdseed, adx, smap, xsaveopt, arat, md_clear, arch_capabilities
Ecpus
1
Scalability
50

System Resources and Accelerators #

Memory
Memory Amount
4 GiB
Memory Amount Actual
4 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
      30014, 30017, 30001, 30007, 30002
      Network
      Inbound Traffic
      0 GB/month
      Outbound Traffic
      0 GB/month
      IPv4
      0

      CPU and System Topology #

      Server Description #

      A shared-core entry-level instance with balanced memory for basic background services, light web hosting, and development environments.

      Google Cloud Platform e2-medium is an entry-level shared-core instance in the E2 family. It is equipped with 2 vCPUs based on half of an Intel Xeon physical core running at 2.2 GHz on the x86_64 architecture, alongside 4.0 GB of RAM. It features 16 MB of L3 cache and standard hardware extensions such as AVX, AES, and FMA, while omitting local storage and GPU hardware. Benchmark results highlight an average single-core stress-ng score of 2642.19, but multi-core and memory throughput metrics are limited due to the shared core model, evidenced by a Geekbench multi-core score of 682.0 and uncached memory read bandwidth of 6.36 GB/sec. The instance delivers cost efficiency for low-intensity computing by sharing physical hardware. It is suitable for microservices, lightweight web servers, dev environments, and low-concurrency background processing tasks.

      Economics #

      Average Price per Region #

      Prices per Zone #

      Lowest Prices #

      Performance #

      Workload Profiles #

      0.094Score
      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) 124,504 ops/sec 1,933,252 ops/sec 0.063 50.00% 50.00% -75.00%
      Redis RPS (pipeline=16, SET) 662,531 ops/sec 11,814,424 ops/sec 0.055 20.00% 20.00% -44.00%
      PassMark Memory Mark (composite) 820 2,408 0.34 10.00% 10.00% -10.00%
      Memory bandwidth (read, 16 MB ~ L3) 6,247 MB/sec 108,674 MB/sec 0.056 10.00% 10.00% -25.00%
      PassMark single-thread CPU 2,305 Mops/s 2,365 Mops/s 0.96 10.00% 10.00% -0.41%

      Memory Bandwidth#

      Compression #

      OpenSSL #

      Geekbench Single-Core #

      Score: 661

      Geekbench Multi-Core #

      Score: 682

      Passmark CPU Scores #

      BENCHMARKSCORE
      Mark
      3,106
      Compression
      32,270
      Encryption
      2,131
      Extended Instructions
      1,741
      Floating Point Maths
      4,553
      Integer Maths
      8,220
      Physics
      387
      Prime Numbers
      19
      Single Threaded
      2,305
      String Sorting
      4,502

      Passmark Memory Scores #

      BENCHMARKSCORE
      Memory Mark
      817
      Database Operations
      884
      Memory Latency
      100
      Memory Read Cached
      23,810
      Memory Read Uncached
      12,508
      Memory Write
      8,182

      Stress-ng Stressors #

      CPU integerSingleMultiScaling
      atomic
      530.29 535.57 1.01×
      bitops
      136,806 156,594 1.14×
      branch
      160,835 291,167 1.81×
      funccall
      252 333.82 1.32×
      funcret
      8,043 10,572 1.31×
      hash
      64,011 98,143 1.53×
      intmath
      28,360 37,197 1.31×
      nop
      137,252 138,947 1.01×
      prime
      198,069 245,100 1.24×
      rotate
      37,479 37,787 1.01×
      str
      406,230 463,078 1.14×
      wcs
      264,676 302,338 1.14×
      CryptographySingleMultiScaling
      crypt
      1,606 1,530 0.95×
      CompressionSingleMultiScaling
      jpeg
      330.94 424.72 1.28×
      zlib
      21.17 49.96 2.36×
      HypervisorSingleMultiScaling
      clock
      19,180 31,159 1.62×
      clone
      142.59 163.65 1.15×
      context
      3,471 5,091 1.47×
      cpu-sched
      71.65 116.77 1.63×
      eventfd
      14,272 52,226 3.66×
      fault
      3,420 5,677 1.66×
      fork
      1,443 2,593 1.80×
      getrandom
      21,203 26,918 1.27×
      hrtimers
      55,792 69,760 1.25×
      mprotect
      166,190 169,845 1.02×
      mtx
      10,497,513 59,925,481 5.71×
      munmap
      978.74 1,769 1.81×
      null
      217,786 341,456 1.57×
      pipe
      742,738 341,055 0.46×
      priv-instr
      184,477 293,627 1.59×
      resched
      113,374 107,762 0.95×
      switch
      39,132 129,785 3.32×
      timermix
      76,495 115,308 1.51×
      tlb-shootdown
      2,599 2,557 0.98×
      tsc
      325,158 606,614 1.87×
      usersyscall
      147,727 230,307 1.56×
      vdso
      37,480,902 61,922,430 1.65×
      vfork
      7,690 13,437 1.75×
      x86syscall
      2,774,921 4,266,162 1.54×
      yield
      965,409 988,622 1.02×
      zero
      1,379,534 1,930,849 1.40×
      CPU float/SIMDSingleMultiScaling
      eigen
      6,691 7,210 1.08×
      expmath
      1,262 1,962 1.56×
      fma
      380,838 585,242 1.54×
      fp
      112.1 162.69 1.45×
      fractal
      3.4 5.4 1.59×
      hyperbolic
      1,591 2,390 1.50×
      logmath
      1,856 2,654 1.43×
      matrix
      1,301 1,953 1.50×
      matrix-3d
      192.18 212.62 1.11×
      monte-carlo
      107.09 161.28 1.51×
      mpfr
      667.97 823.1 1.23×
      powmath
      581.47 923.37 1.59×
      trig
      722.26 1,095 1.52×
      veccmp
      7,553 10,139 1.34×
      vecfp
      719.53 1,027 1.43×
      vecmath
      1,663 2,643 1.59×
      vecshuf
      257.57 299.57 1.16×
      vecwide
      11,474 14,597 1.27×
      AlgorithmsSingleMultiScaling
      bitonicsort
      8.4 8.8 1.05×
      bsearch
      258.07 324.24 1.26×
      bubblesort
      0.8 1 1.25×
      fibsearch
      151.12 168.11 1.11×
      heapsort
      4.2 5.2 1.24×
      hsearch
      3,584 4,121 1.15×
      insertionsort
      5.4 5.2 0.96×
      malloc
      123,967 590,286 4.76×
      mcontend
      102.72 218.82 2.13×
      mergesort
      12.8 18.8 1.47×
      qsort
      8.8 12.4 1.41×
      skiplist
      2,975 4,436 1.49×
      tree
      0.2 - -
      MemorySingleMultiScaling
      cache
      290,709 289,569 1.00×
      cachehammer
      113,907 217,612 1.91×
      cacheline
      21.36 44.49 2.08×
      l1cache
      56.52 69.13 1.22×
      memcpy
      169.14 162.7 0.96×
      memrate
      0.57 0.74 1.30×
      memthrash
      19.73 35.69 1.81×
      ptr-chase
      2,173,304 3,905,688 1.80×
      spinmem
      79.79 - -
      stream
      39.92 94.21 2.36×
      vm
      15,264 17,165 1.12×

      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#

      PostgreSQL heavy read-only throughput #

      Alternatives #

      Servers of the Same Family #

      INSTANCEvCPUsMEMORYAccelerators
      e2-micro 21 GiB0
      e2-small 22 GiB0
      e2-highcpu-2 22 GiB0
      e2-standard-2 28 GiB0
      e2-highmem-2 216 GiB0
      e2-highcpu-4 44 GiB0
      e2-standard-4 416 GiB0

      Similar Servers #

      INSTANCEVENDORvCPUsMEMORYAccelerators

      e2-medium FAQs #