Google Cloud Compute Engine
n4-standard-2
A Google Cloud Compute Engine machine type in the N4 machine series.
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).
| Machine | Size | On-demand Linux | vs n4-standard-2 |
|---|---|---|---|
| n4-standard-2This page · Google Cloud, us-east4 | 2 vCPU · 8 GiB | $0.0907/hr | — |
| m5.largesame 2 vCPU and 8 GiB; Intel on both | 2 vCPU · 8 GiB | $0.0960/hr | 5.8% more |
| m6i.largesame 2 vCPU and 8 GiB; Intel on both | 2 vCPU · 8 GiB | $0.0960/hr | 5.8% more |
| m4.largesame 2 vCPU and 8 GiB; Intel on both | 2 vCPU · 8 GiB | $0.1000/hr | 10% 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.
| Part | SKU | Google's rate | Quantity | Per hour |
|---|---|---|---|---|
| vCPU | N4 Instance Core running in Americas 1C3C-9EBD-240F | $0.03119 per hour | 2 vCPU | $0.06238 |
| Memory | N4 Instance Ram running in Americas 36D5-78B0-A4D9 | $0.00354 per GiB-hour | 8 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
| Region | Linux (On-demand) | vs On-demand | Windows (On-demand) | vs 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 HighestDammam | $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 LowestIowa | $0.0907 | $0.1827 | ||
us-east1 LowestSouth Carolina | $0.0907 | $0.1827 | ||
us-east4 LowestNorthern Virginia | $0.0907 | $0.1827 | ||
us-east5 LowestColumbus | $0.0907 | $0.1827 | ||
us-south1 Dallas | $0.107026 | $0.199026 | ||
us-west1 LowestOregon | $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 |
No regions match the filter.
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 type | vCPU | Memory (GiB) | Lowest On-demand, Linux |
|---|---|---|---|
| n4-highcpu-2 | 2 | 4 | $0.07654/hr |
| n4-standard-2 | 2 | 8 | $0.0907/hr |
| n4-highmem-2 | 2 | 16 | $0.11902/hr |
| n4-highcpu-4 | 4 | 8 | $0.15308/hr |
| n4-standard-4 | 4 | 16 | $0.1814/hr |
| n4-highmem-4 | 4 | 32 | $0.23804/hr |
| n4-highcpu-8 | 8 | 16 | $0.30616/hr |
| n4-standard-8 | 8 | 32 | $0.3628/hr |
| n4-highmem-8 | 8 | 64 | $0.47608/hr |
| n4-highcpu-16 | 16 | 32 | $0.61232/hr |
| n4-standard-16 | 16 | 64 | $0.7256/hr |
| n4-highmem-16 | 16 | 128 | $0.95216/hr |
| n4-highcpu-32 | 32 | 64 | $1.22464/hr |
| n4-standard-32 | 32 | 128 | $1.4512/hr |
| n4-highmem-32 | 32 | 256 | $1.90432/hr |
| n4-highcpu-48 | 48 | 96 | $1.83696/hr |
| n4-standard-48 | 48 | 192 | $2.1768/hr |
| n4-highmem-48 | 48 | 384 | $2.85648/hr |
| n4-highcpu-64 | 64 | 128 | $2.44928/hr |
| n4-standard-64 | 64 | 256 | $2.9024/hr |
| n4-highmem-64 | 64 | 512 | $3.80864/hr |
| n4-highcpu-80 | 80 | 160 | $3.0616/hr |
| n4-standard-80 | 80 | 320 | $3.6280/hr |
| n4-highmem-80 | 80 | 640 | $4.7608/hr |