02Chapter 2: How a cluster is built: driver, workers, and SparkThis chapter assumes you know the Databricks workspace and notebooks, and the basic Spark vocabulary of driver, executor, job, stage, and task. You should also be comfortable reading JSON. It explains how those Spark pieces map onto the virtual machines of a Databricks cluster. Later chapters on acc6 min read
03Chapter 3: Choosing a Databricks Runtime version and PhotonThis chapter covers how to pick a Databricks Runtime (DBR) version for a cluster, and when to turn on Photon. It assumes you know what a driver and workers are, can read a JSON cluster definition, and have used a notebook attached to a cluster. The previous chapter described the cluster's structure.7 min read
04Chapter 4: Access modes and data governance with Unity CatalogThis chapter explains what a cluster's access mode is, how it decides whether Unity Catalog can enforce permissions, and how to pick one. It assumes you have read the earlier chapters on cluster anatomy and Databricks Runtime. It also assumes you know what a Unity Catalog metastore, catalog, and sch6 min read
05Chapter 5: All-purpose clusters for interactive workAn all-purpose cluster is a Databricks cluster you create and keep running so that people can attach notebooks to it, run commands, and see results right away. This chapter explains how all-purpose clusters behave, how to configure them, and the mistakes that most often cause cost or access problems7 min read
06Chapter 6: Job clusters for scheduled and automated workThis chapter assumes you know what a Databricks workspace and notebook are, that a Spark cluster has a driver and workers, and that you can read JSON. It builds on the earlier chapters on cluster anatomy, access modes, and all-purpose clusters.6 min read
07Chapter 7: Serverless compute for notebooks and jobsThis chapter assumes you know the Databricks workspace and notebooks, basic Spark concepts (driver, executors, jobs), and how pay-as-you-go cloud billing works. You should also have read the earlier chapters on all-purpose and job clusters, because serverless is easiest to understand as a contrast w7 min read
08Chapter 8: Autoscaling and auto terminationThis chapter covers the two settings that most affect idle spend on classic compute: autoscaling, which changes the number of workers while work runs, and auto termination, which shuts the cluster down when nobody is using it. It assumes you know the driver and worker structure of a cluster, the dif7 min read
09Chapter 9: Understanding cost: DBUs plus cloud infrastructureThis chapter assumes you know what a virtual machine is, how pay-as-you-go cloud billing works, and the difference between all-purpose, job, and serverless compute from earlier chapters. By the end you should be able to estimate what a workload costs on classic compute and on serverless, and explain7 min read
10Chapter 10: Controlling configuration with cluster policiesA cluster policy is a set of rules that limits how users can configure classic compute. Policies keep cluster sizes, runtime versions, and idle shutdown times inside bounds that an administrator chose. They are the main cost and governance control for all-purpose and job clusters.5 min read
11Chapter 11: Reducing start time with instance poolsThis chapter assumes you know how a cluster is built (a driver plus workers), the difference between all-purpose and job clusters, and how DBU and cloud charges combine. It covers what an instance pool is, how clusters use one, what it costs, and where pools fail.5 min read
12Chapter 12: Defining compute with the Jobs and Clusters APIsThis chapter shows how to describe compute as JSON and send it to Databricks, so that clusters and jobs can be reviewed, versioned, and reproduced. It assumes you can read JSON, know the difference between all-purpose, job, and serverless compute, and have a personal access token or other credential6 min read
13Chapter 13: Choosing the right compute for a workloadThis chapter turns the earlier material on all-purpose clusters, job clusters, serverless compute, autoscaling and cost into a decision process. It assumes you know the driver and worker structure of a cluster, the idea of access modes, and that Databricks charges for DBUs (Databricks Units, a unit 6 min read
14Chapter 14: Monitoring clusters and troubleshooting common problemsThis chapter assumes you have read the earlier chapters on cluster anatomy, access modes, autoscaling and auto termination, and the cost model. You should know what a driver and an executor are, and you should be able to read a cluster configuration in JSON. The goal is a repeatable way to find out 5 min read