logo

n4-standard-2 by Google Cloud Platform

n4-standard-2 is a 2 vCPUs, 8 GB RAM server offered by Google Cloud Platform with 2 vCPUs, 8 GiB of memory and 0 GB of storage. The pricing starts at 0.0147 USD per hour.
2 vCPU
8 GiB Memory
Spare SCore
1715
(All-cores)
1684
(Single-core)

Specifications

Server Metadata

Vendor ID
gcp
Server ID
1750001
Name
n4-standard-2
Description
2 vCPUs, 8 GB RAM
Family
n4
Hw Virt
Average Time To Start
20
Status
active
Observed At
2026-07-24T20:04:13.612626

Availability

REGION / IDSPOTONDEMAND
Columbus (US) / us-east5
0.0255 USD/h 0.0907 USD/h
Ashburn (US) / us-east4
0.0402 USD/h 0.0907 USD/h
Council Bluffs (US) / us-central1
0.0448 USD/h 0.0907 USD/h
The Dalles (US) / us-west1
0.0448 USD/h 0.0907 USD/h
Moncks Corner (US) / us-east1
0.0448 USD/h 0.0907 USD/h
Delhi (IN) / asia-south2
0.022 USD/h 0.0943 USD/h
Mumbai (IN) / asia-south1
0.0344 USD/h 0.0943 USD/h
Eemshaven (NL) / europe-west4
0.0214 USD/h 0.0952 USD/h
Bangkok (TH) / asia-southeast3
0.0302 USD/h 0.0952 USD/h
Stockholm (SE) / europe-north2
0.0359 USD/h 0.0952 USD/h
Queretaro (MX) / northamerica-south1
0.0544 USD/h 0.0989 USD/h
Tel Aviv (IL) / me-west1
0.0327 USD/h 0.0998 USD/h
St. Ghislain (BE) / europe-west1
0.0147 USD/h 0.0999 USD/h
Montréal (CA) / northamerica-northeast1
0.027 USD/h 0.0999 USD/h
Johannesburg (ZA) / africa-south1
0.0318 USD/h 0.0999 USD/h
Toronto (CA) / northamerica-northeast2
0.0341 USD/h 0.0999 USD/h
Hamina (FI) / europe-north1
0.0417 USD/h 0.0999 USD/h
Las Vegas (US) / us-west4
0.0559 USD/h 0.1022 USD/h
London (GB) / europe-west2
0.0365 USD/h 0.1034 USD/h
Changhua County (TW) / asia-east1
0.055 USD/h 0.105 USD/h
Milan (IT) / europe-west8
0.027 USD/h 0.1052 USD/h
Paris (FR) / europe-west9
0.0316 USD/h 0.1052 USD/h
Dallas (US) / us-south1
0.0212 USD/h 0.107 USD/h
Madrid (ES) / europe-southwest1
0.0272 USD/h 0.107 USD/h
Frankfurt (DE) / europe-west3
0.0492 USD/h 0.107 USD/h
Salt Lake City (US) / us-west3
0.0196 USD/h 0.109 USD/h
Los Angeles (US) / us-west2
0.0566 USD/h 0.109 USD/h
Warsaw (PL) / europe-central2
0.0511 USD/h 0.1097 USD/h
Doha (QA) / me-central1
0.046 USD/h 0.1102 USD/h
Jurong West (SG) / asia-southeast1
0.0509 USD/h 0.1119 USD/h
Sydney (AU) / australia-southeast1
0.0498 USD/h 0.1134 USD/h
Osaka (JP) / asia-northeast2
0.0353 USD/h 0.1165 USD/h
Seoul (KR) / asia-northeast3
0.0534 USD/h 0.1165 USD/h
Tokyo (JP) / asia-northeast1
0.061 USD/h 0.1165 USD/h
Melbourne (AU) / australia-southeast2
0.0346 USD/h 0.1179 USD/h
Zurich (CH) / europe-west6
0.0507 USD/h 0.1188 USD/h
Jakarta (ID) / asia-southeast2
0.0551 USD/h 0.122 USD/h
Hong Kong / asia-east2
0.0192 USD/h 0.1269 USD/h
Santiago (CL) / southamerica-west1
0.0426 USD/h 0.1297 USD/h
Osasco (BR) / southamerica-east1
0.0288 USD/h 0.144 USD/h
Dammam (SA) / me-central2
0.0256 USD/h 0.1451 USD/h

Processor

vCPUs
2
CPU Allocation
Dedicated
CPU Cores
1
CPU Architecture
x86_64
CPU Manufacturer
Intel
CPU L1D Cache
48 KiB
CPU L1D Cache Total
48 KiB
CPU L1I Cache
32 KiB
CPU L1I Cache Total
32 KiB
CPU L2 Cache
2 MiB
CPU L2 Cache Total
2 MiB
CPU L3 Cache
260 MiB
CPU L3 Cache Total
260 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, smx, est, ssse3, sdbg, fma, cx16, xtpr, pdcm, pcid, dca, sse4_1, sse4_2, x2apic, movbe, popcnt, aes, xsave, avx, f16c, rdrand, hypervisor, lahf_lm, abm, 3dnowprefetch, cat_l3, cat_l2, cdp_l3, cdp_l2, ssbd, mba, ibrs, ibpb, stibp, ibrs_enhanced, fsgsbase, tsc_adjust, bmi1, hle, avx2, smep, bmi2, erms, invpcid, rtm, avx512f, avx512dq, rdseed, adx, smap, avx512ifma, clflushopt, clwb, avx512cd, sha_ni, avx512bw, avx512vl, xsaveopt, xsavec, xgetbv1, xsaves, cqm_llc, cqm_occup_llc, cqm_mbm_total, cqm_mbm_local, avx_vnni, avx512_bf16, wbnoinvd, arat, avx512vbmi, umip, avx512_vbmi2, gfni, vaes, vpclmulqdq, avx512_vnni, avx512_bitalg, avx512_vpopcntdq, la57, rdpid, cldemote, movdiri, movdir64b, fsrm, md_clear, serialize, tsxldtrk, amx_bf16, avx512_fp16, amx_tile, amx_int8, arch_capabilities
Ecpus
1
Scalability
100

System Resources and Accelerators

MEMORY
Memory Amount
8 GiB
Memory Amount Actual
8 GiB
GPU
GPU Count
0
GPU Memory Min
0 MiB
GPU Memory Total
0 MiB
GPUs
    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 balanced, entry-level virtual machine with dedicated Intel cores and advanced matrix extensions for lightweight general-purpose workloads.

      General Purpose

      Google Cloud Platform n4-standard-2 is a general-purpose virtual machine configured with 2 vCPUs and 8 GB of RAM. Powered by an Intel x86_64 processor with 1 physical core and 2 threads, it features a dedicated CPU allocation and a 260 MB L3 cache. The architecture supports AVX-512 and Intel Advanced Matrix Extensions (AMX) for specialized vector and matrix operations. Benchmark data shows average single-core CPU performance, with a Geekbench single-core score of 1834.0, but multi-core and memory bandwidth metrics are relatively weak. The instance does not include local storage or GPUs. It is qualitatively positioned as a cost-effective entry-level tier for lightweight workloads, such as basic web serving, single-threaded background jobs, and small development environments, where high-throughput multi-core processing and massive memory bandwidth are not required.

      Economics

      Average Price per Region

      Prices per Zone

      Lowest Prices

      Performance

      Workload Profiles

      0.22Score
      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) 319,763 ops/sec 1,896,415 ops/sec 0.169 50.00% 50.00% -58.90%
      Redis RPS (pipeline=16, SET) 1,659,595 ops/sec 11,539,523 ops/sec 0.144 20.00% 20.00% -32.10%
      PassMark Memory Mark (composite) 838.1 2,411 0.348 10.00% 10.00% -10.00%
      Memory bandwidth (read, 16 MB ~ L3) 29,498 MB/sec 107,368 MB/sec 0.275 10.00% 10.00% -12.10%
      PassMark single-thread CPU 2,359 Mops/s 2,363 Mops/s 0.998 10.00% 10.00% -0.02%

      Memory Bandwidth

      Compression

      OpenSSL

      Geekbench Single-Core

      Score: 1,834

      Geekbench Multi-Core

      Score: 2,251

      Passmark CPU Scores

      BENCHMARKSCORE
      Mark
      2985
      Compression
      29513
      Encryption
      1695
      Extended Instructions
      1993
      Floating Point Maths
      5410
      Integer Maths
      7530
      Physics
      383
      Prime Numbers
      16
      Single Threaded
      2359
      String Sorting
      3876

      Passmark Memory Scores

      BENCHMARKSCORE
      Memory Mark
      838
      Database Operations
      1259
      Memory Latency
      66
      Memory Read Cached
      21234
      Memory Read Uncached
      7575
      Memory Write
      7367

      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

      INSTANCEvCPUsMEMORYGPUs
      n4-highcpu-2 24 GiB0
      n4-highmem-2 216 GiB0
      n4-highcpu-4 48 GiB0
      n4-standard-4 416 GiB0
      n4-highmem-4 432 GiB0
      n4-highcpu-8 816 GiB0
      n4-standard-8 832 GiB0

      Similar Servers

      INSTANCEVENDORvCPUsMEMORYGPUs

      n4-standard-2 FAQs