Using spot instances
In this section, we will go through a quick tutorial on leveraging spot instances while creating our Databricks cluster. Let's begin by making a new cluster in the Databricks workspace. Create the following configuration for the cluster:
- Cluster Name:
DB_cluster_with_spot
- Cluster Mode: Standard
- Databricks Runtime Version:
Runtime: 8.3 (Scala 2.12, Spark 3.1.1)
- Autoscaling: Disabled
- Automatic Termination: After
30
minutes - Worker Type:
Standard_DS3_v2
- Driver Type:
Standard_DS3_v2
- Number of workers:
1
- Spot instances: Enabled
It will take a few minutes for the cluster to start. The following screenshot shows that our cluster with spot instances has been initialized:
To confirm that we are using a cluster with spot instances, we can click on the JSON option to view the JSON structure of the cluster. We can find this option on the same...