n2-standard-4 on Databricks
n2-standard-4 is a general purpose Google Cloud worker type with 4 vCPUs and 16 GB of memory. On Databricks it uses 0.72 DBUs an hour, so 1 node on Jobs Compute in Iowa (us-central1) costs $0.302 an hour: $0.108 for the DBUs and $0.194 to Google Cloud for the machine.
Google Cloud · General purpose · n2-standard
n2-standard-4 at a glance
- vCPUs
- 4
- Memory
- 16 GB
- Own SSD
- None
- Local SSDs are added in the compute settings
- DBUs an hour
- 0.72
- Classic compute
- With Photon
- 1.8
- DBUs an hour, Jobs Compute
- 1 node an hour
- $0.302
- Jobs Compute, Iowa (us-central1)
1 node an hour on each kind of compute
In Iowa (us-central1) on the Premium plan. Databricks charges the DBUs, Google Cloud the machine. A cluster pays this for every worker and for the driver.
| Compute | DBUs an hour | A DBU | Databricks | Machine | An hour |
|---|---|---|---|---|---|
| Jobs Compute | 0.72 | $0.15 | $0.108 | $0.194 | $0.302 |
| Jobs Compute + Photon | 1.8 | $0.15 | $0.27 | $0.194 | $0.464 |
| All-Purpose Compute | 0.72 | $0.55 | $0.396 | $0.194 | $0.59 |
| All-Purpose Compute + Photon | 1.44 | $0.55 | $0.792 | $0.194 | $0.986 |
| Lakeflow pipelines Core | 0.72 | $0.20 | $0.144 | $0.194 | $0.338 |
| Lakeflow pipelines Core + Photon | 1.8 | $0.20 | $0.36 | $0.194 | $0.554 |
| Lakeflow pipelines Pro | 0.72 | $0.25 | $0.18 | $0.194 | $0.374 |
| Lakeflow pipelines Pro + Photon | 1.8 | $0.25 | $0.45 | $0.194 | $0.644 |
| Lakeflow pipelines Advanced | 0.72 | $0.36 | $0.259 | $0.194 | $0.453 |
| Lakeflow pipelines Advanced + Photon | 1.8 | $0.36 | $0.648 | $0.194 | $0.842 |
In each region
1 node an hour on Jobs Compute, Premium, cheapest first.
| Region | Machine | An hour |
|---|---|---|
| Iowa (us-central1) | $0.194 | $0.302 |
| South Carolina (us-east1) | $0.194 | $0.302 |
| Oregon (us-west1) | $0.194 | $0.302 |
| Belgium (europe-west1) | $0.214 | $0.322 |
| Montréal (northamerica-northeast1) | $0.214 | $0.322 |
| Las Vegas (us-west4) | $0.219 | $0.327 |
| Northern Virginia (us-east4) | $0.219 | $0.327 |
| Mumbai (asia-south1) | $0.233 | $0.341 |
| Singapore (asia-southeast1) | $0.24 | $0.348 |
| Tokyo (asia-northeast1) | $0.249 | $0.357 |
| London (europe-west2) | $0.25 | $0.358 |
| Frankfurt (europe-west3) | $0.25 | $0.358 |
| Sydney (australia-southeast1) | $0.276 | $0.384 |
| São Paulo (southamerica-east1) | $0.308 | $0.416 |
| Dammam (me-central2) | $0.311 | $0.419 |
Other general purpose sizes
- n2-standard-44 vCPUs, 16 GB, 0.72 DBUs an hour
- n2-standard-88 vCPUs, 32 GB, 1.44 DBUs an hour
- n2-standard-1616 vCPUs, 64 GB, 2.88 DBUs an hour
- n2-standard-3232 vCPUs, 128 GB, 5.76 DBUs an hour
- n2-standard-4848 vCPUs, 192 GB, 8.64 DBUs an hour
- n2-standard-6464 vCPUs, 256 GB, 11.52 DBUs an hour
- n2-standard-8080 vCPUs, 320 GB, 14.4 DBUs an hour
Questions
- How many DBUs does n2-standard-4 use on Databricks?
- n2-standard-4 uses 0.72 DBUs an hour on Databricks classic compute without Photon. With Photon it uses 1.8 DBUs an hour on Jobs Compute and 1.44 on All-Purpose Compute, as Databricks' price list gives them.
- How much does n2-standard-4 cost an hour on Databricks?
- In Iowa (us-central1), 1 n2-standard-4 node on Jobs Compute costs $0.302 an hour: $0.108 to Databricks for 0.72 DBUs at $0.15 each, and $0.194 to Google Cloud for the machine. On All-Purpose Compute the same node costs $0.59 an hour, and on Lakeflow pipelines Core $0.338. A cluster pays this for every worker and for the driver.
- Does Photon cost more on n2-standard-4?
- Yes, by the hour: with Photon, 1 n2-standard-4 node on Jobs Compute in Iowa (us-central1) costs $0.464 an hour instead of $0.302, because it uses 1.8 DBUs an hour instead of 0.72. It saves money only when the job finishes fast enough to make up the difference.
- Which region is cheapest for n2-standard-4 on Databricks?
- Iowa (us-central1), at $0.302 an hour for 1 node on Jobs Compute, against $0.419 in Dammam (me-central2), the dearest of the 15 regions listed here that offer it. Databricks charges the same for a DBU of Jobs Compute in every Google Cloud region listed, so the gap is the machine.
- What is the same size as n2-standard-4 on the other clouds?
- The nearest worker types of the same kind are m6id.xlarge on AWS and Standard_D4ds_v5 on Azure. Each cloud gives its own DBUs an hour for its types, so compare what a cluster costs in the calculator, not the DBUs alone.
- What is the next size up from n2-standard-4?
- n2-standard-4 is the smallest size of its family listed here. One size up is n2-standard-8, at 1.44 DBUs an hour.
Sources
Where each fact comes from
- 1Databricks: pricing calculator and instance types (the DBUs an hour of each worker type, with and without Photon)
- 2Databricks: pricing on Google Cloud
- 3Google Cloud: general-purpose machine pricing
- 4Databricks: compute configuration reference (the driver is the workers' type by default)
- 5Databricks: Photon
- 6Google Cloud: n2-standard sizes