n2-highmem-32 on Databricks
n2-highmem-32 is a memory optimized Google Cloud worker type with 32 vCPUs and 256 GB of memory. On Databricks it uses 7.68 DBUs an hour, so 1 node on Jobs Compute in Iowa (us-central1) costs $3.25 an hour: $1.15 for the DBUs and $2.10 to Google Cloud for the machine.
Google Cloud · Memory optimized · n2-highmem
n2-highmem-32 at a glance
- vCPUs
- 32
- Memory
- 256 GB
- Own SSD
- None
- Local SSDs are added in the compute settings
- DBUs an hour
- 7.68
- Classic compute
- With Photon
- 19.2
- DBUs an hour, Jobs Compute
- 1 node an hour
- $3.25
- 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 | 7.68 | $0.15 | $1.15 | $2.10 | $3.25 |
| Jobs Compute + Photon | 19.2 | $0.15 | $2.88 | $2.10 | $4.98 |
| All-Purpose Compute | 7.68 | $0.55 | $4.22 | $2.10 | $6.32 |
| All-Purpose Compute + Photon | 15.36 | $0.55 | $8.45 | $2.10 | $10.54 |
| Lakeflow pipelines Core | 7.68 | $0.20 | $1.54 | $2.10 | $3.63 |
| Lakeflow pipelines Core + Photon | 19.2 | $0.20 | $3.84 | $2.10 | $5.94 |
| Lakeflow pipelines Pro | 7.68 | $0.25 | $1.92 | $2.10 | $4.02 |
| Lakeflow pipelines Pro + Photon | 19.2 | $0.25 | $4.80 | $2.10 | $6.90 |
| Lakeflow pipelines Advanced | 7.68 | $0.36 | $2.76 | $2.10 | $4.86 |
| Lakeflow pipelines Advanced + Photon | 19.2 | $0.36 | $6.91 | $2.10 | $9.01 |
In each region
1 node an hour on Jobs Compute, Premium, cheapest first.
| Region | Machine | An hour |
|---|---|---|
| Iowa (us-central1) | $2.10 | $3.25 |
| South Carolina (us-east1) | $2.10 | $3.25 |
| Oregon (us-west1) | $2.10 | $3.25 |
| Belgium (europe-west1) | $2.31 | $3.46 |
| Montréal (northamerica-northeast1) | $2.31 | $3.46 |
| Las Vegas (us-west4) | $2.36 | $3.51 |
| Northern Virginia (us-east4) | $2.36 | $3.51 |
| Mumbai (asia-south1) | $2.52 | $3.67 |
| Singapore (asia-southeast1) | $2.59 | $3.74 |
| Tokyo (asia-northeast1) | $2.69 | $3.84 |
| London (europe-west2) | $2.70 | $3.85 |
| Frankfurt (europe-west3) | $2.70 | $3.85 |
| Sydney (australia-southeast1) | $2.97 | $4.13 |
| São Paulo (southamerica-east1) | $3.33 | $4.48 |
| Dammam (me-central2) | $3.35 | $4.51 |
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-32 use on Databricks?
- n2-highmem-32 uses 7.68 DBUs an hour on Databricks classic compute without Photon. With Photon it uses 19.2 DBUs an hour on Jobs Compute and 15.36 on All-Purpose Compute, as Databricks' price list gives them.
- How much does n2-highmem-32 cost an hour on Databricks?
- In Iowa (us-central1), 1 n2-highmem-32 node on Jobs Compute costs $3.25 an hour: $1.15 to Databricks for 7.68 DBUs at $0.15 each, and $2.10 to Google Cloud for the machine. On All-Purpose Compute the same node costs $6.32 an hour, and on Lakeflow pipelines Core $3.63. A cluster pays this for every worker and for the driver.
- Does Photon cost more on n2-highmem-32?
- Yes, by the hour: with Photon, 1 n2-highmem-32 node on Jobs Compute in Iowa (us-central1) costs $4.98 an hour instead of $3.25, because it uses 19.2 DBUs an hour instead of 7.68. It saves money only when the job finishes fast enough to make up the difference.
- Which region is cheapest for n2-highmem-32 on Databricks?
- Iowa (us-central1), at $3.25 an hour for 1 node on Jobs Compute, against $4.51 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-32 on the other clouds?
- The nearest worker types of the same kind are r6id.8xlarge on AWS and Standard_E32ds_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 or down from n2-highmem-32?
- One size down is n2-highmem-16, at 3.84 DBUs an hour; one size up is n2-highmem-48, at 11.52. Within a family, DBUs and the machine price grow with the vCPUs, so 2 nodes of a size cost about what 1 node of twice the size costs.
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