On-demand, Linux
$0.262028/ hr
$191.28/mo · lowest in Iowa (us-central1)
3-yr commitment, Linux
$0.117924/ hr
Lowest in Iowa (us-central1)
Spot, Linux
$0.02596/ hr
Lowest in Toronto (northamerica-northeast2)
Per unit
$0.065507/ vCPU-hr
$0.008188 / GiB-hr, at the lowest rate
Compute
4vCPUs
2 cores • x86-64
Memory
32GiB
8 GiB / vCPU
GiB per vCPU: 8
Architecture: x86-64
CPU: Intel
Physical cores: 2

On AWS

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

MachineSizeOn-demand Linuxvs n2-highmem-4
n2-highmem-4This page · Google Cloud, us-east44 vCPU · 32 GiB$0.295092/hr—
r5.xlargesame 4 vCPU and 32 GiB; Intel on both4 vCPU · 32 GiB$0.2520/hr15% less
r6i.xlargesame 4 vCPU and 32 GiB; Intel on both4 vCPU · 32 GiB$0.2520/hr15% less
r7i.xlargesame 4 vCPU and 32 GiB; Intel on both4 vCPU · 32 GiB$0.2646/hr10% 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-hour32 GiB$0.135584
On-demand, Linux$0.262028

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.262028 / hrIowa (us-central1)
Highest$0.419245 / hrDammam (me-central2)
Regions40With a Linux On-demand price
RegionLinux (On-demand)Windows (On-demand)
africa-south1
Johannesburg
$0.288244$0.472244
asia-east1
Taiwan
$0.3034$0.4874
asia-east2
Hong Kong
$0.36662$0.55062
asia-northeast1
Tokyo
$0.33588$0.51988
asia-northeast2
Osaka
$0.336492$0.520492
asia-northeast3
Seoul
$0.336492$0.520492
asia-south1
Mumbai
$0.314696$0.498696
asia-south2
Delhi
$0.314696$0.498696
asia-southeast1
Singapore
$0.323228$0.507228
asia-southeast2
Jakarta
$0.352319$0.536319
australia-southeast1
Sydney
$0.371776$0.555776
australia-southeast2
Melbourne
$0.3160$0.5000
europe-central2
Warsaw
$0.317064$0.501064
europe-north1
Finland
$0.288472$0.472472
europe-southwest1
Madrid
$0.309193$0.493193
europe-west1
Belgium
$0.288244$0.472244
europe-west10
Berlin
$0.337586$0.521586
europe-west12
Turin
$0.338016$0.522016
europe-west2
London
$0.337576$0.521576
europe-west3
Frankfurt
$0.337576$0.521576
europe-west4
Netherlands
$0.288456$0.472456
europe-west6
Zurich
$0.343268$0.527268
europe-west8
Milan
$0.303952$0.487952
europe-west9
Paris
$0.303952$0.487952
me-central1
Doha
$0.318364$0.502364
me-central2
Dammam
Highest
$0.419245$0.603245
me-west1
Tel Aviv
$0.288231$0.472231
northamerica-northeast1
Montreal
$0.288456$0.472456
northamerica-northeast2
Toronto
$0.288456$0.472456
southamerica-east1
Sao Paulo
$0.41592$0.59992
southamerica-west1
Santiago
$0.3747$0.5587
us-central1
Iowa
Lowest
$0.262028$0.446028
us-east1
South Carolina
Lowest
$0.262028$0.446028
us-east4
Northern Virginia
$0.295092$0.479092
us-east5
Columbus
Lowest
$0.262028$0.446028
us-south1
Dallas
$0.309193$0.493193
us-west1
Oregon
Lowest
$0.262028$0.446028
us-west2
Los Angeles
$0.314728$0.498728
us-west3
Salt Lake City
$0.314728$0.498728
us-west4
Las Vegas
$0.295084$0.479084

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

What the prices include

  • Regions. n2-highmem-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