n2-highmem-4 on Databricks
n2-highmem-4 is a memory optimized Google Cloud worker type with 4 vCPUs and 32 GB of memory. On Databricks it uses 0.96 DBUs an hour, so 1 node on Jobs Compute in Iowa (us-central1) costs $0.406 an hour: $0.144 for the DBUs and $0.262 to Google Cloud for the machine.
Google Cloud · Memory optimized · n2-highmem
n2-highmem-4 at a glance
- vCPUs
- 4
- Memory
- 32 GB
- Own SSD
- None
- Local SSDs are added in the compute settings
- DBUs an hour
- 0.96
- Classic compute
- With Photon
- 2.4
- DBUs an hour, Jobs Compute
- 1 node an hour
- $0.406
- 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.96 | $0.15 | $0.144 | $0.262 | $0.406 |
| Jobs Compute + Photon | 2.4 | $0.15 | $0.36 | $0.262 | $0.622 |
| All-Purpose Compute | 0.96 | $0.55 | $0.528 | $0.262 | $0.79 |
| All-Purpose Compute + Photon | 1.92 | $0.55 | $1.06 | $0.262 | $1.32 |
| Lakeflow pipelines Core | 0.96 | $0.20 | $0.192 | $0.262 | $0.454 |
| Lakeflow pipelines Core + Photon | 2.4 | $0.20 | $0.48 | $0.262 | $0.742 |
| Lakeflow pipelines Pro | 0.96 | $0.25 | $0.24 | $0.262 | $0.502 |
| Lakeflow pipelines Pro + Photon | 2.4 | $0.25 | $0.60 | $0.262 | $0.862 |
| Lakeflow pipelines Advanced | 0.96 | $0.36 | $0.346 | $0.262 | $0.608 |
| Lakeflow pipelines Advanced + Photon | 2.4 | $0.36 | $0.864 | $0.262 | $1.13 |
In each region
1 node an hour on Jobs Compute, Premium, cheapest first.
| Region | Machine | An hour |
|---|---|---|
| Iowa (us-central1) | $0.262 | $0.406 |
| South Carolina (us-east1) | $0.262 | $0.406 |
| Oregon (us-west1) | $0.262 | $0.406 |
| Belgium (europe-west1) | $0.288 | $0.432 |
| Montréal (northamerica-northeast1) | $0.288 | $0.432 |
| Las Vegas (us-west4) | $0.295 | $0.439 |
| Northern Virginia (us-east4) | $0.295 | $0.439 |
| Mumbai (asia-south1) | $0.315 | $0.459 |
| Singapore (asia-southeast1) | $0.323 | $0.467 |
| Tokyo (asia-northeast1) | $0.336 | $0.48 |
| London (europe-west2) | $0.338 | $0.482 |
| Frankfurt (europe-west3) | $0.338 | $0.482 |
| Sydney (australia-southeast1) | $0.372 | $0.516 |
| São Paulo (southamerica-east1) | $0.416 | $0.56 |
| Dammam (me-central2) | $0.419 | $0.563 |
Other memory optimized sizes
- n2-highmem-44 vCPUs, 32 GB, 0.96 DBUs an hour
- n2-highmem-88 vCPUs, 64 GB, 1.92 DBUs an hour
- n2-highmem-1616 vCPUs, 128 GB, 3.84 DBUs an hour
- n2-highmem-3232 vCPUs, 256 GB, 7.68 DBUs an hour
- n2-highmem-4848 vCPUs, 384 GB, 11.52 DBUs an hour
- n2-highmem-6464 vCPUs, 512 GB, 15.36 DBUs an hour
- n2-highmem-8080 vCPUs, 640 GB, 19.2 DBUs an hour
Questions
- How many DBUs does n2-highmem-4 use on Databricks?
- n2-highmem-4 uses 0.96 DBUs an hour on Databricks classic compute without Photon. With Photon it uses 2.4 DBUs an hour on Jobs Compute and 1.92 on All-Purpose Compute, as Databricks' price list gives them.
- How much does n2-highmem-4 cost an hour on Databricks?
- In Iowa (us-central1), 1 n2-highmem-4 node on Jobs Compute costs $0.406 an hour: $0.144 to Databricks for 0.96 DBUs at $0.15 each, and $0.262 to Google Cloud for the machine. On All-Purpose Compute the same node costs $0.79 an hour, and on Lakeflow pipelines Core $0.454. A cluster pays this for every worker and for the driver.
- Does Photon cost more on n2-highmem-4?
- Yes, by the hour: with Photon, 1 n2-highmem-4 node on Jobs Compute in Iowa (us-central1) costs $0.622 an hour instead of $0.406, because it uses 2.4 DBUs an hour instead of 0.96. It saves money only when the job finishes fast enough to make up the difference.
- Which region is cheapest for n2-highmem-4 on Databricks?
- Iowa (us-central1), at $0.406 an hour for 1 node on Jobs Compute, against $0.563 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-highmem-4 on the other clouds?
- The nearest worker types of the same kind are r6id.xlarge on AWS and Standard_E4ds_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-highmem-4?
- n2-highmem-4 is the smallest size of its family listed here. One size up is n2-highmem-8, at 1.92 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-highmem sizes