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.0086 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
e2
Hw Virt
Average Time To Start
22
Status
active
Observed At
2026-11-04T21:49:09.240912

Availability

REGION / IDSPOTONDEMAND
Columbus (US) / us-east5
0.0324 USD/h 0.0553 USD/h
Council Bluffs (US) / us-central1
0.0332 USD/h 0.0553 USD/h
The Dalles (US) / us-west1
0.0332 USD/h 0.0553 USD/h
Moncks Corner (US) / us-east1
0.0332 USD/h 0.0553 USD/h
Stockholm (SE) / europe-north2
0.0155 USD/h 0.0581 USD/h
Queretaro (MX) / northamerica-south1
0.0196 USD/h 0.0603 USD/h
Tel Aviv (IL) / me-west1
0.0326 USD/h 0.0608 USD/h
Toronto (CA) / northamerica-northeast2
0.0133 USD/h 0.0609 USD/h
Hamina (FI) / europe-north1
0.0184 USD/h 0.0609 USD/h
Montréal (CA) / northamerica-northeast1
0.0197 USD/h 0.0609 USD/h
Johannesburg (ZA) / africa-south1
0.0214 USD/h 0.0609 USD/h
St. Ghislain (BE) / europe-west1
0.0311 USD/h 0.0609 USD/h
Eemshaven (NL) / europe-west4
0.0365 USD/h 0.0609 USD/h
Las Vegas (US) / us-west4
0.0086 USD/h 0.0623 USD/h
Ashburn (US) / us-east4
0.0372 USD/h 0.0623 USD/h
Changhua County (TW) / asia-east1
0.036 USD/h 0.0641 USD/h
Paris (FR) / europe-west9
0.0344 USD/h 0.0642 USD/h
Milan (IT) / europe-west8
0.035 USD/h 0.0642 USD/h
Dallas (US) / us-south1
0.0206 USD/h 0.0653 USD/h
Madrid (ES) / europe-southwest1
0.0316 USD/h 0.0653 USD/h
Los Angeles (US) / us-west2
0.019 USD/h 0.0664 USD/h
Salt Lake City (US) / us-west3
0.0231 USD/h 0.0664 USD/h
Delhi (IN) / asia-south2
0.0342 USD/h 0.0664 USD/h
Mumbai (IN) / asia-south1
0.0399 USD/h 0.0664 USD/h
Melbourne (AU) / australia-southeast2
0.0362 USD/h 0.0667 USD/h
Warsaw (PL) / europe-central2
0.0309 USD/h 0.0669 USD/h
Doha (QA) / me-central1
0.0383 USD/h 0.0672 USD/h
Jurong West (SG) / asia-southeast1
0.041 USD/h 0.0682 USD/h
Osaka (JP) / asia-northeast2
0.0212 USD/h 0.071 USD/h
Seoul (KR) / asia-northeast3
0.037 USD/h 0.071 USD/h
Tokyo (JP) / asia-northeast1
0.0426 USD/h 0.071 USD/h
Berlin (DE) / europe-west10
0.013 USD/h 0.0713 USD/h
London (GB) / europe-west2
0.0269 USD/h 0.0713 USD/h
Frankfurt (DE) / europe-west3
0.0428 USD/h 0.0713 USD/h
Turin (IT) / europe-west12
0.0174 USD/h 0.0714 USD/h
Zurich (CH) / europe-west6
0.034 USD/h 0.0725 USD/h
Jakarta (ID) / asia-southeast2
0.0178 USD/h 0.0744 USD/h
Hong Kong / asia-east2
0.0245 USD/h 0.0774 USD/h
Sydney (AU) / australia-southeast1
0.0438 USD/h 0.0785 USD/h
Santiago (CL) / southamerica-west1
0.0418 USD/h 0.0791 USD/h
Osasco (BR) / southamerica-east1
0.0174 USD/h 0.0878 USD/h
Dammam (SA) / me-central2
0.0531 USD/h 0.0885 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
      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.

      Burstable & BudgetGeneral Purpose

      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,926,573 ops/sec 0.063 50.00% 50.00% -75.00%
      Redis RPS (pipeline=16, SET) 662,531 ops/sec 11,789,031 ops/sec 0.055 20.00% 20.00% -44.00%
      PassMark Memory Mark (composite) 820 2,410 0.34 10.00% 10.00% -10.00%
      Memory bandwidth (read, 16 MB ~ L3) 6,247 MB/sec 108,490 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