<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating a spot only single-node job compute cluster policy in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/creating-a-spot-only-single-node-job-compute-cluster-policy/m-p/10768#M5863</link>
    <description>&lt;P&gt;This is the policy for the job, but if you want to use spot instances first, you need to create a pool with spot instance. singleNodePoolId1 is just an example name. Just create a pool spot with 1  machine, name it how you want, and put your name in JSON.&lt;/P&gt;</description>
    <pubDate>Wed, 25 Jan 2023 08:53:16 GMT</pubDate>
    <dc:creator>Hubert-Dudek</dc:creator>
    <dc:date>2023-01-25T08:53:16Z</dc:date>
    <item>
      <title>Creating a spot only single-node job compute cluster policy</title>
      <link>https://community.databricks.com/t5/data-engineering/creating-a-spot-only-single-node-job-compute-cluster-policy/m-p/10765#M5860</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some help creating a new cluster policy that utilizes a single spot-instnace server to complete a job. I want to set this up as a job-compute to reduce costs and also utilize 1 spot instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The jobs I need to ETL are very short and complete within a few minutes and I don't think it's wise to spend 2 DBU's on something when 1DBU would suffice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K &lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 17:45:49 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/creating-a-spot-only-single-node-job-compute-cluster-policy/m-p/10765#M5860</guid>
      <dc:creator>Kash</dc:creator>
      <dc:date>2023-01-24T17:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a spot only single-node job compute cluster policy</title>
      <link>https://community.databricks.com/t5/data-engineering/creating-a-spot-only-single-node-job-compute-cluster-policy/m-p/10766#M5861</link>
      <description>&lt;P&gt;Below is the required policy. Spot instances you need to define inside the pool, that's why I included reference to pool below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;{
   "cluster_type":{
      "type":"fixed",
      "value":"job"
   },
   "spark_conf.spark.databricks.cluster.profile":{
      "type":"fixed",
      "value":"singleNode",
      "hidden":true
   },
   "instance_pool_id":{
      "type":"fixed",
      "value":"singleNodePoolId1",
      "hidden":true
   },
   "num_workers":{
      "type":"range",
      "maxValue":0
   }
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 18:20:08 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/creating-a-spot-only-single-node-job-compute-cluster-policy/m-p/10766#M5861</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2023-01-24T18:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a spot only single-node job compute cluster policy</title>
      <link>https://community.databricks.com/t5/data-engineering/creating-a-spot-only-single-node-job-compute-cluster-policy/m-p/10767#M5862</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for the quick reply. I'm looking to create a policy not for a pool but for any job in the workflow. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the current policy I am playing with. Please let me know if you see where this is off. &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;{
   "spark_conf.spark.databricks.cluster.profile":{
      "type":"fixed",
      "value":"singleNode",
      "hidden":true
  },
  "spark_version": {
    "type": "unlimited",
    "defaultValue": "auto:latest-lts"
  },
  "enable_elastic_disk": {
    "type": "fixed",
    "value": true,
    "hidden": true
  },
  "node_type_id": {
    "type": "unlimited",
    "defaultValue": "i3.xlarge",
    "isOptional": true
  },
  "num_workers" : {
    "type" : "fixed",
    "value" : 0,
    "hidden" : true
  },
  "aws_attributes.availability": {
    "type": "fixed",
    "value": "SPOT",
    "hidden": true
  },
  "aws_attributes.zone_id": {
    "type": "unlimited",
    "defaultValue": "auto",
    "hidden": true
  },
  "aws_attributes.spot_bid_price_percent": {
    "type": "fixed",
    "value": 100,
    "hidden": true
  },
  "instance_pool_id": {
    "type": "forbidden",
    "hidden": true
  },
  "driver_instance_pool_id": {
    "type": "forbidden",
    "hidden": true
  },
  "cluster_type": {
    "type": "fixed",
    "value": "job"
  }
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;P.S.  When I copy your code into the policy maker it says singleNodePoolId1 does not exist. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 18:59:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/creating-a-spot-only-single-node-job-compute-cluster-policy/m-p/10767#M5862</guid>
      <dc:creator>Kash</dc:creator>
      <dc:date>2023-01-24T18:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a spot only single-node job compute cluster policy</title>
      <link>https://community.databricks.com/t5/data-engineering/creating-a-spot-only-single-node-job-compute-cluster-policy/m-p/10768#M5863</link>
      <description>&lt;P&gt;This is the policy for the job, but if you want to use spot instances first, you need to create a pool with spot instance. singleNodePoolId1 is just an example name. Just create a pool spot with 1  machine, name it how you want, and put your name in JSON.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2023 08:53:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/creating-a-spot-only-single-node-job-compute-cluster-policy/m-p/10768#M5863</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2023-01-25T08:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a spot only single-node job compute cluster policy</title>
      <link>https://community.databricks.com/t5/data-engineering/creating-a-spot-only-single-node-job-compute-cluster-policy/m-p/10769#M5864</link>
      <description>&lt;P&gt;Hi @Avkash Kana​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just a friendly follow-up. Did any of the responses help you to resolve your question? if it did, please mark it as best. Otherwise, please let us know if you still need help.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Feb 2023 23:41:13 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/creating-a-spot-only-single-node-job-compute-cluster-policy/m-p/10769#M5864</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2023-02-24T23:41:13Z</dc:date>
    </item>
  </channel>
</rss>

