On-demand, Linux
$0.194236/ hr
$141.79/mo · lowest in Iowa (us-central1)
3-yr commitment, Linux
$0.087412/ hr
Lowest in Iowa (us-central1)
Spot, Linux
$0.01924/ hr
Lowest in Toronto (northamerica-northeast2)
Per unit
$0.048559/ vCPU-hr
$0.01214 / GiB-hr, at the lowest rate
Compute
4vCPUs
2 cores • x86-64
Memory
16GiB
4 GiB / vCPU
GiB per vCPU: 4
Architecture: x86-64
CPU: Intel
Physical cores: 2

On AWS

The nearest AWS machines to n2-standard-4 by vCPU and memory, at On-demand Linux rates in Northern Virginia (us-east4 ↔ us-east-1).

MachineSizeOn-demand Linuxvs n2-standard-4
n2-standard-4This page · Google Cloud, us-east44 vCPU · 16 GiB$0.218756/hr—
m5.xlargesame 4 vCPU and 16 GiB; Intel on both4 vCPU · 16 GiB$0.1920/hr12% less
m6i.xlargesame 4 vCPU and 16 GiB; Intel on both4 vCPU · 16 GiB$0.1920/hr12% less
m4.xlargesame 4 vCPU and 16 GiB; Intel on both4 vCPU · 16 GiB$0.2000/hr8.6% less

Matched on vCPU and memory, then CPU vendor, then rate; a larger size is offered only when nothing is the same size. On-demand Linux only: Spot and commitments work differently on the two clouds, so they aren't compared here.

How this price is built

Google bills a VM by its parts, each with its own SKU. These are the parts of the On-demand Linux rate in Iowa (us-central1). The total is the published price; the parts add up to it.

PartSKUGoogle's rateQuantityPer hour
vCPUN2 Instance Core running in Americas
BB77-5FDA-69D9
$0.031611 per hour4 vCPU$0.126444
MemoryN2 Instance Ram running in Americas
5B01-D157-A097
$0.004237 per GiB-hour16 GiB$0.067792
On-demand, Linux$0.194236

Windows adds the Windows Server licence: 4 vCPU × $0.046 per hour (SKU 92D2-8A8F-DF54) = $0.1840/hr, the same in every region and on every basis.

Rates by region

On-demand: Pay-as-you-go rate, composed from Google's per-vCPU and per-GiB SKUs

Lowest$0.194236 / hrIowa (us-central1)
Highest$0.310778 / hrDammam (me-central2)
Regions40With a Linux On-demand price
RegionLinux (On-demand)Windows (On-demand)
africa-south1
Johannesburg
$0.213668$0.397668
asia-east1
Taiwan
$0.224904$0.408904
asia-east2
Hong Kong
$0.271772$0.455772
asia-northeast1
Tokyo
$0.249176$0.433176
asia-northeast2
Osaka
$0.249436$0.433436
asia-northeast3
Seoul
$0.249436$0.433436
asia-south1
Mumbai
$0.233288$0.417288
asia-south2
Delhi
$0.233288$0.417288
asia-southeast1
Singapore
$0.239612$0.423612
asia-southeast2
Jakarta
$0.261177$0.445177
australia-southeast1
Sydney
$0.2756$0.4596
australia-southeast2
Melbourne
$0.234256$0.418256
europe-central2
Warsaw
$0.235032$0.419032
europe-north1
Finland
$0.213848$0.397848
europe-southwest1
Madrid
$0.229198$0.413198
europe-west1
Belgium
$0.213668$0.397668
europe-west10
Berlin
$0.250256$0.434256
europe-west12
Turin
$0.250564$0.434564
europe-west2
London
$0.250248$0.434248
europe-west3
Frankfurt
$0.250248$0.434248
europe-west4
Netherlands
$0.213832$0.397832
europe-west6
Zurich
$0.254452$0.438452
europe-west8
Milan
$0.225314$0.409314
europe-west9
Paris
$0.225314$0.409314
me-central1
Doha
$0.235997$0.419997
me-central2
Dammam
Highest
$0.310778$0.494778
me-west1
Tel Aviv
$0.21366$0.39766
northamerica-northeast1
Montreal
$0.213832$0.397832
northamerica-northeast2
Toronto
$0.213832$0.397832
southamerica-east1
Sao Paulo
$0.30832$0.49232
southamerica-west1
Santiago
$0.277757$0.461757
us-central1
Iowa
Lowest
$0.194236$0.378236
us-east1
South Carolina
Lowest
$0.194236$0.378236
us-east4
Northern Virginia
$0.218756$0.402756
us-east5
Columbus
Lowest
$0.194236$0.378236
us-south1
Dallas
$0.229198$0.413198
us-west1
Oregon
Lowest
$0.194236$0.378236
us-west2
Los Angeles
$0.233304$0.417304
us-west3
Salt Lake City
$0.233304$0.417304
us-west4
Las Vegas
$0.218748$0.402748

Monthly is 730 hours and annual is 8,760. Windows prices include the Windows Server licence.

What the prices include

  • Regions. n2-standard-4 is priced in the 40 regions where Compute Engine runs it in at least one zone. It may run in only some of a region's zones.
  • Windows. The Windows Server licence costs $0.046 per visible vCPU per hour. Spot and commitments don't discount it, so it's added at the full rate on every basis.
  • Spot. Google can stop a Spot VM at any time and changes Spot prices up to once every 30 days.
  • Commitments. The 1-yr and 3-yr rates are resource-based committed use discounts: you commit to an amount of N2 vCPU and memory in one region and pay for it whether you use it or not. Flexible (spend-based) commitments discount less and aren't shown.
  • Sustained use. N2 earns a sustained-use discount of up to 20% off the On-demand rate when a VM runs the whole month. It starts once the VM runs more than a quarter of the month, arrives as a monthly credit, doesn't apply to usage a commitment covers, and only self-serve billing accounts get it. The prices here don't include it.

Other N2 machine types

Machine typevCPUMemory (GiB)Lowest On-demand, Linux
n2-highcpu-222$0.071696/hr
n2-standard-228$0.097118/hr
n2-highmem-2216$0.131014/hr
n2-highcpu-444$0.143392/hr
n2-standard-4416$0.194236/hr
n2-highmem-4432$0.262028/hr
n2-highcpu-888$0.286784/hr
n2-standard-8832$0.388472/hr
n2-highmem-8864$0.524056/hr
n2-highcpu-161616$0.573568/hr
n2-standard-161664$0.776944/hr
n2-highmem-1616128$1.048112/hr
n2-highcpu-323232$1.147136/hr
n2-standard-3232128$1.553888/hr
n2-highmem-3232256$2.096224/hr
n2-highcpu-484848$1.720704/hr
n2-standard-4848192$2.330832/hr
n2-highmem-4848384$3.144336/hr
n2-highcpu-646464$2.294272/hr
n2-standard-6464256$3.107776/hr
n2-highmem-6464512$4.192448/hr
n2-highcpu-808080$2.86784/hr
n2-standard-8080320$3.88472/hr
n2-highmem-8080640$5.24056/hr
n2-highcpu-969696$3.441408/hr
n2-standard-9696384$4.661664/hr
n2-highmem-9696768$6.288672/hr
n2-standard-128128512$6.215552/hr
n2-highmem-128128864$7.706976/hr