On-demand, Linux
$0.07654/ hr
$55.87/mo · lowest in Iowa (us-central1)
3-yr commitment, Linux
$0.034444/ hr
Lowest in Iowa (us-central1)
Spot, Linux
$0.009664/ hr
Lowest in Hong Kong (asia-east2)
Per unit
$0.03827/ vCPU-hr
$0.019135 / GiB-hr, at the lowest rate
Compute
2vCPUs
1 cores • x86-64
Memory
4GiB
2 GiB / vCPU
GiB per vCPU: 2
Architecture: x86-64
CPU: Intel
Physical cores: 1

On AWS

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

MachineSizeOn-demand Linuxvs n4-highcpu-2
n4-highcpu-2This page · Google Cloud, us-east42 vCPU · 4 GiB$0.07654/hr—
c5.largesame 2 vCPU and 4 GiB; Intel on both2 vCPU · 4 GiB$0.0850/hr11% more
c6i.largesame 2 vCPU and 4 GiB; Intel on both2 vCPU · 4 GiB$0.0850/hr11% more
c7i.largesame 2 vCPU and 4 GiB; Intel on both2 vCPU · 4 GiB$0.08925/hr17% more

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
vCPUN4 Instance Core running in Americas
1C3C-9EBD-240F
$0.03119 per hour2 vCPU$0.06238
MemoryN4 Instance Ram running in Americas
36D5-78B0-A4D9
$0.00354 per GiB-hour4 GiB$0.01416
On-demand, Linux$0.07654

Windows adds the Windows Server licence: 2 vCPU × $0.046 per hour (SKU 92D2-8A8F-DF54) = $0.0920/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.07654 / hrIowa (us-central1)
Highest$0.122464 / hrDammam (me-central2)
Regions41With a Linux On-demand price
RegionLinux (On-demand)Windows (On-demand)
africa-south1
Johannesburg
$0.084278$0.176278
asia-east1
Taiwan
$0.088626$0.180626
asia-east2
Hong Kong
$0.107072$0.199072
asia-northeast1
Tokyo
$0.098293$0.190293
asia-northeast2
Osaka
$0.098293$0.190293
asia-northeast3
Seoul
$0.098293$0.190293
asia-south1
Mumbai
$0.079602$0.171602
asia-south2
Delhi
$0.079602$0.171602
asia-southeast1
Singapore
$0.094427$0.186427
asia-southeast2
Jakarta
$0.102923$0.194923
asia-southeast3
Bangkok
$0.080368$0.172368
australia-southeast1
Sydney
$0.095675$0.187675
australia-southeast2
Melbourne
$0.099502$0.191502
europe-central2
Warsaw
$0.092613$0.184613
europe-north1
Finland
$0.084278$0.176278
europe-north2
Stockholm
$0.080367$0.172367
europe-southwest1
Madrid
$0.090317$0.182317
europe-west1
Belgium
$0.084278$0.176278
europe-west2
London
$0.087256$0.179256
europe-west3
Frankfurt
$0.090317$0.182317
europe-west4
Netherlands
$0.080367$0.172367
europe-west6
Zurich
$0.100267$0.192267
europe-west8
Milan
$0.088786$0.180786
europe-west9
Paris
$0.088786$0.180786
me-central1
Doha
$0.092996$0.184996
me-central2
Dammam
Highest
$0.122464$0.214464
me-west1
Tel Aviv
$0.084194$0.176194
northamerica-northeast1
Montreal
$0.084278$0.176278
northamerica-northeast2
Toronto
$0.084278$0.176278
northamerica-south1
Mexico
$0.083429$0.175429
southamerica-east1
Sao Paulo
$0.121538$0.213538
southamerica-west1
Santiago
$0.109452$0.201452
us-central1
Iowa
Lowest
$0.07654$0.16854
us-east1
South Carolina
Lowest
$0.07654$0.16854
us-east4
Northern Virginia
Lowest
$0.07654$0.16854
us-east5
Columbus
Lowest
$0.07654$0.16854
us-south1
Dallas
$0.090317$0.182317
us-west1
Oregon
Lowest
$0.07654$0.16854
us-west2
Los Angeles
$0.092009$0.184009
us-west3
Salt Lake City
$0.092009$0.184009
us-west4
Las Vegas
$0.086207$0.178207

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

What the prices include

  • Regions. n4-highcpu-2 is priced in the 41 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 N4 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. N4 gets no sustained-use discount.

Other N4 machine types

Machine typevCPUMemory (GiB)Lowest On-demand, Linux
n4-highcpu-224$0.07654/hr
n4-standard-228$0.0907/hr
n4-highmem-2216$0.11902/hr
n4-highcpu-448$0.15308/hr
n4-standard-4416$0.1814/hr
n4-highmem-4432$0.23804/hr
n4-highcpu-8816$0.30616/hr
n4-standard-8832$0.3628/hr
n4-highmem-8864$0.47608/hr
n4-highcpu-161632$0.61232/hr
n4-standard-161664$0.7256/hr
n4-highmem-1616128$0.95216/hr
n4-highcpu-323264$1.22464/hr
n4-standard-3232128$1.4512/hr
n4-highmem-3232256$1.90432/hr
n4-highcpu-484896$1.83696/hr
n4-standard-4848192$2.1768/hr
n4-highmem-4848384$2.85648/hr
n4-highcpu-6464128$2.44928/hr
n4-standard-6464256$2.9024/hr
n4-highmem-6464512$3.80864/hr
n4-highcpu-8080160$3.0616/hr
n4-standard-8080320$3.6280/hr
n4-highmem-8080640$4.7608/hr