n2-highcpu-2 by Google Cloud Platform

n2-highcpu-2 is a 2 vCPUs 2 GB RAM server offered by Google Cloud Platform with 2 vCPUs, 2 GiB of memory and 0 GB of storage. The pricing starts at 0.0071 USD per hour.
2 vCPU
2 GiB Memory
Spare SCore
1,842
(All-cores)
1,399
(Single-core)

Specifications

Server Metadata

Vendor ID
gcp
Server ID
903002
Name
n2-highcpu-2
Description
2 vCPUs 2 GB RAM
Family
n2
Hw Virt
Average Time To Start
19
Status
active
Observed At
2026-10-29T17:49:51.224643

Availability

REGION / IDSPOTONDEMAND
Council Bluffs (US) / us-central1
0.043 USD/h 0.0717 USD/h
The Dalles (US) / us-west1
0.043 USD/h 0.0717 USD/h
Moncks Corner (US) / us-east1
0.043 USD/h 0.0717 USD/h
Columbus (US) / us-east5
0.043 USD/h 0.0717 USD/h
Toronto (CA) / northamerica-northeast2
0.0071 USD/h 0.0789 USD/h
St. Ghislain (BE) / europe-west1
0.017 USD/h 0.0789 USD/h
Eemshaven (NL) / europe-west4
0.0241 USD/h 0.0789 USD/h
Johannesburg (ZA) / africa-south1
0.0246 USD/h 0.0789 USD/h
Montréal (CA) / northamerica-northeast1
0.0398 USD/h 0.0789 USD/h
Hamina (FI) / europe-north1
0.0402 USD/h 0.0789 USD/h
Tel Aviv (IL) / me-west1
0.0473 USD/h 0.0789 USD/h
Las Vegas (US) / us-west4
0.047 USD/h 0.0807 USD/h
Ashburn (US) / us-east4
0.0222 USD/h 0.0808 USD/h
Changhua County (TW) / asia-east1
0.0316 USD/h 0.083 USD/h
Milan (IT) / europe-west8
0.009 USD/h 0.0832 USD/h
Paris (FR) / europe-west9
0.0221 USD/h 0.0832 USD/h
Dallas (US) / us-south1
0.0151 USD/h 0.0846 USD/h
Madrid (ES) / europe-southwest1
0.0229 USD/h 0.0846 USD/h
Delhi (IN) / asia-south2
0.0078 USD/h 0.0861 USD/h
Mumbai (IN) / asia-south1
0.0284 USD/h 0.0861 USD/h
Los Angeles (US) / us-west2
0.0305 USD/h 0.0861 USD/h
Salt Lake City (US) / us-west3
0.0346 USD/h 0.0861 USD/h
Melbourne (AU) / australia-southeast2
0.0382 USD/h 0.0865 USD/h
Warsaw (PL) / europe-central2
0.0298 USD/h 0.0868 USD/h
Doha (QA) / me-central1
0.0189 USD/h 0.0871 USD/h
Jurong West (SG) / asia-southeast1
0.0354 USD/h 0.0885 USD/h
Seoul (KR) / asia-northeast3
0.0254 USD/h 0.0921 USD/h
Osaka (JP) / asia-northeast2
0.0269 USD/h 0.0921 USD/h
Tokyo (JP) / asia-northeast1
0.028 USD/h 0.0921 USD/h
Berlin (DE) / europe-west10
0.0136 USD/h 0.0924 USD/h
London (GB) / europe-west2
0.0193 USD/h 0.0924 USD/h
Frankfurt (DE) / europe-west3
0.0534 USD/h 0.0924 USD/h
Turin (IT) / europe-west12
0.018 USD/h 0.0925 USD/h
Zurich (CH) / europe-west6
0.036 USD/h 0.0939 USD/h
Jakarta (ID) / asia-southeast2
0.0518 USD/h 0.0964 USD/h
Hong Kong / asia-east2
0.0269 USD/h 0.1003 USD/h
Sydney (AU) / australia-southeast1
0.0489 USD/h 0.1017 USD/h
Santiago (CL) / southamerica-west1
0.0276 USD/h 0.1025 USD/h
Osasco (BR) / southamerica-east1
0.0262 USD/h 0.1138 USD/h
Dammam (SA) / me-central2
0.0181 USD/h 0.1147 USD/h

Processor

vCPUs
2
CPU Allocation
Dedicated
CPU Cores
1
CPU Speed
2.8 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
1 MiB
CPU L2 Cache Total
1 MiB
CPU L3 Cache
33 MiB
CPU L3 Cache Total
33 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, ssbd, ibrs, ibpb, stibp, ibrs_enhanced, fsgsbase, tsc_adjust, bmi1, hle, avx2, smep, bmi2, erms, invpcid, rtm, avx512f, avx512dq, rdseed, adx, smap, clflushopt, clwb, avx512cd, avx512bw, avx512vl, xsaveopt, xsavec, xgetbv1, xsaves, arat, avx512_vnni, md_clear, arch_capabilities
Ecpus
1.3
Scalability
65

System Resources and Accelerators

MEMORY
Memory Amount
2 GiB
Memory Amount Actual
2 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

      Server Description

      Compact x86 compute instance featuring a 1:1 memory-to-vCPU ratio for low-footprint processing tasks without dedicated local storage.

      Compute OptimizedGeneral Purpose

      Google Cloud Platform n2-highcpu-2 is an x86_64 compute-oriented virtual machine powered by a 2.8 GHz Intel Xeon processor. It offers 2 vCPUs derived from 1 physical core with hyperthreading, paired with 2.0 GB of system memory, yielding a low 1.0 GB per vCPU ratio. The architecture includes 33 MB of L3 cache alongside instruction set extensions such as AVX-512 and AES encryption acceleration. The server includes no attached local storage or GPUs. Benchmark testing places its execution capacity in lower tiers, with a single-core Geekbench score of 1111.0 and multi-core score of 1311.0, along with static web serving throughput of 2.06 GB/sec. Given its low memory footprint and dedicated compute allocation, n2-highcpu-2 provides a specialized hardware profile suited for small compute-bound tasks, simple web microservices, and lightweight batch processing where high RAM capacity is unnecessary.

      Economics

      Average Price per Region

      Prices per Zone

      Lowest Prices

      Performance

      Workload Profiles

      0.14Score
      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) 176,156 ops/sec 1,919,289 ops/sec 0.095 50.00% 50.00% -69.00%
      Redis RPS (pipeline=16, SET) 1,115,153 ops/sec 11,728,058 ops/sec 0.092 20.00% 20.00% -38.00%
      PassMark Memory Mark (composite) 920 2,416 0.38 10.00% 10.00% -9.20%
      Memory bandwidth (read, 16 MB ~ L3) 20,325 MB/sec 108,466 MB/sec 0.18 10.00% 10.00% -16.00%
      PassMark single-thread CPU 1,920 Mops/s 2,365 Mops/s 0.79 10.00% 10.00% -2.30%

      Memory Bandwidth

      Compression

      OpenSSL

      Geekbench Single-Core

      Score: 1,111

      Geekbench Multi-Core

      Score: 1,311

      Passmark CPU Scores

      BENCHMARKSCORE
      Mark
      2,160
      Compression
      27,305
      Encryption
      839
      Extended Instructions
      1,516
      Floating Point Maths
      3,302
      Integer Maths
      6,140
      Physics
      257
      Prime Numbers
      12
      Single Threaded
      1,920
      String Sorting
      3,214

      Passmark Memory Scores

      BENCHMARKSCORE
      Memory Mark
      917
      Database Operations
      688
      Memory Latency
      53
      Memory Read Cached
      23,415
      Memory Read Uncached
      9,304
      Memory Write
      9,013

      Stress-ng Stressors

      CPU integerSingleMultiScaling
      atomic
      755.38 755.68 1.00×
      bitops
      106,433 122,462 1.15×
      branch
      152,018 229,551 1.51×
      funccall
      536.34 555.46 1.04×
      funcret
      11,124 15,956 1.43×
      hash
      123,906 178,663 1.44×
      intmath
      21,982 32,713 1.49×
      nop
      188,294 163,900 0.87×
      prime
      309,995 348,056 1.12×
      rotate
      95,742 131,785 1.38×
      str
      742,597 739,387 1.00×
      wcs
      476,658 496,917 1.04×
      CryptographySingleMultiScaling
      crypt
      2,401 2,350 0.98×
      CompressionSingleMultiScaling
      jpeg
      578.26 697.87 1.21×
      zlib
      44.68 65.21 1.46×
      HypervisorSingleMultiScaling
      clock
      29,579 35,603 1.20×
      clone
      193.55 227.59 1.18×
      context
      2,532 2,937 1.16×
      cpu-sched
      68.26 127.73 1.87×
      eventfd
      35,420 111,618 3.15×
      fault
      10,393 14,255 1.37×
      fork
      3,550 6,099 1.72×
      getrandom
      44,107 53,588 1.21×
      hrtimers
      162,964 186,229 1.14×
      mprotect
      324,234 325,208 1.00×
      mtx
      6,849,814 61,085,439 8.92×
      munmap
      2,479 3,816 1.54×
      null
      284,321 293,290 1.03×
      pipe
      1,075,231 708,481 0.66×
      priv-instr
      544,487 627,780 1.15×
      resched
      213,883 157,755 0.74×
      switch
      79,140 335,093 4.23×
      timermix
      169,159 260,787 1.54×
      tlb-shootdown
      4,506 5,201 1.15×
      tsc
      986,275 1,369,011 1.39×
      usersyscall
      374,806 424,639 1.13×
      vdso
      82,112,319 115,802,742 1.41×
      vfork
      22,400 35,195 1.57×
      x86syscall
      3,211,100 3,392,523 1.06×
      yield
      1,043,134 1,295,558 1.24×
      zero
      1,961,183 2,079,925 1.06×
      CPU float/SIMDSingleMultiScaling
      eigen
      15,685 18,508 1.18×
      expmath
      2,651 4,033 1.52×
      fma
      543,184 871,117 1.60×
      fp
      128.48 148.8 1.16×
      fractal
      4.8 7.2 1.50×
      hyperbolic
      2,755 4,304 1.56×
      logmath
      4,466 6,587 1.47×
      matrix
      2,930 4,345 1.48×
      matrix-3d
      414.32 449.82 1.09×
      monte-carlo
      138.95 160.04 1.15×
      mpfr
      1,175 1,278 1.09×
      powmath
      1,567 2,389 1.52×
      trig
      1,676 2,232 1.33×
      veccmp
      15,254 16,032 1.05×
      vecfp
      1,262 1,675 1.33×
      vecmath
      2,164 3,397 1.57×
      vecshuf
      556.79 597.69 1.07×
      vecwide
      23,199 25,316 1.09×
      AlgorithmsSingleMultiScaling
      bitonicsort
      7 8.4 1.20×
      bsearch
      235.61 270.69 1.15×
      bubblesort
      0.6 0.8 1.33×
      fibsearch
      240.34 269.34 1.12×
      heapsort
      8.4 10.2 1.21×
      hsearch
      4,922 6,176 1.25×
      insertionsort
      8 8 1.00×
      malloc
      1,362,922 2,473,931 1.82×
      mcontend
      562.16 542.91 0.97×
      mergesort
      22.8 30.4 1.33×
      qsort
      14.4 16.8 1.17×
      skiplist
      4,826 6,710 1.39×
      tree
      0.8 1.2 1.50×
      MemorySingleMultiScaling
      cache
      268,748 275,695 1.03×
      cachehammer
      354,645 645,518 1.82×
      cacheline
      19.71 39.06 1.98×
      l1cache
      218.86 240.11 1.10×
      memcpy
      341.67 369.08 1.08×
      memrate
      1.17 1.54 1.32×
      memthrash
      64.66 67.75 1.05×
      ptr-chase
      10,568,337 19,764,851 1.87×
      spinmem
      174.99 0.4 0.00×
      stream
      29.63 70.81 2.39×
      vm
      54,663 58,726 1.07×

      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
      n2-standard-2 28 GiB0
      n2-highmem-2 216 GiB0
      n2-highcpu-4 44 GiB0
      n2-standard-4 416 GiB0
      n2-highmem-4 432 GiB0
      n2-highcpu-8 88 GiB0
      n2-standard-8 832 GiB0

      Similar Servers

      INSTANCEVENDORvCPUsMEMORYAccelerators

      n2-highcpu-2 FAQs