On-demand, Linux
$0.0907/ hr
$66.21/mo · lowest in Iowa (us-central1)
3-yr commitment, Linux
$0.040816/ hr
Lowest in Iowa (us-central1)
Spot, Linux
$0.011448/ hr
Lowest in Hong Kong (asia-east2)
Per unit
$0.04535/ vCPU-hr
$0.011338 / GiB-hr, at the lowest rate
Compute
2vCPUs
1 cores • x86-64
Memory
8GiB
4 GiB / vCPU
GiB per vCPU: 4
Architecture: x86-64
CPU: Intel
Physical cores: 1

On AWS

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

MachineSizeOn-demand Linuxvs n4-standard-2
n4-standard-2This page · Google Cloud, us-east42 vCPU · 8 GiB$0.0907/hr—
m5.largesame 2 vCPU and 8 GiB; Intel on both2 vCPU · 8 GiB$0.0960/hr5.8% more
m6i.largesame 2 vCPU and 8 GiB; Intel on both2 vCPU · 8 GiB$0.0960/hr5.8% more
m4.largesame 2 vCPU and 8 GiB; Intel on both2 vCPU · 8 GiB$0.1000/hr10% 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-hour8 GiB$0.02832
On-demand, Linux$0.0907

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.0907 / hrIowa (us-central1)
Highest$0.14512 / hrDammam (me-central2)
Regions41With a Linux On-demand price
RegionLinux (On-demand)Windows (On-demand)
africa-south1
Johannesburg
$0.09987$0.19187
asia-east1
Taiwan
$0.105022$0.197022
asia-east2
Hong Kong
$0.12688$0.21888
asia-northeast1
Tokyo
$0.116477$0.208477
asia-northeast2
Osaka
$0.116477$0.208477
asia-northeast3
Seoul
$0.116477$0.208477
asia-south1
Mumbai
$0.094328$0.186328
asia-south2
Delhi
$0.094328$0.186328
asia-southeast1
Singapore
$0.111897$0.203897
asia-southeast2
Jakarta
$0.121964$0.213964
asia-southeast3
Bangkok
$0.095236$0.187236
australia-southeast1
Sydney
$0.113375$0.205375
australia-southeast2
Melbourne
$0.11791$0.20991
europe-central2
Warsaw
$0.109747$0.201747
europe-north1
Finland
$0.09987$0.19187
europe-north2
Stockholm
$0.095235$0.187235
europe-southwest1
Madrid
$0.107026$0.199026
europe-west1
Belgium
$0.09987$0.19187
europe-west2
London
$0.103398$0.195398
europe-west3
Frankfurt
$0.107026$0.199026
europe-west4
Netherlands
$0.095235$0.187235
europe-west6
Zurich
$0.118817$0.210817
europe-west8
Milan
$0.105212$0.197212
europe-west9
Paris
$0.105212$0.197212
me-central1
Doha
$0.110201$0.202201
me-central2
Dammam
Highest
$0.14512$0.23712
me-west1
Tel Aviv
$0.09977$0.19177
northamerica-northeast1
Montreal
$0.09987$0.19187
northamerica-northeast2
Toronto
$0.09987$0.19187
northamerica-south1
Mexico
$0.098863$0.190863
southamerica-east1
Sao Paulo
$0.144023$0.236023
southamerica-west1
Santiago
$0.129701$0.221701
us-central1
Iowa
Lowest
$0.0907$0.1827
us-east1
South Carolina
Lowest
$0.0907$0.1827
us-east4
Northern Virginia
Lowest
$0.0907$0.1827
us-east5
Columbus
Lowest
$0.0907$0.1827
us-south1
Dallas
$0.107026$0.199026
us-west1
Oregon
Lowest
$0.0907$0.1827
us-west2
Los Angeles
$0.10903$0.20103
us-west3
Salt Lake City
$0.10903$0.20103
us-west4
Las Vegas
$0.102155$0.194155

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

What the prices include

  • Regions. n4-standard-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