Skip to main content

Home

Discounted pricing (Databricks)

You can configure discounted prices for VMs and DBUs in Databricks using Unravel properties. Add the properties to set the discount as a percentage value.

  1. Stop Unravel.

    <Unravel installation directory>/unravel/manager stop
    
  2. Set the discounted prices:

    • For VMs

      You can set the following property to configure discounted prices for VMs:

      <Unravel installation directory>/unravel/manager config properties set com.unraveldata.databricks.vm.discount.percentage <discount-percentage>
      

      For example: /opt/unravel/manager config properties set com.unraveldata.databricks.vm.discount.percentage 20

      Note

      If you want to revert the prices to the original value, that is, without discount, run the following command:

      <Unravel installation directory>/unravel/manager config properties unset com.unraveldata.databricks.vm.discount.percentage then config apply --restart
    • For DBUs

      You can edit the following configuration files and set discounted prices for DBUs based on workload and tier combination. The configuration files are stored in <unravel installation directory>/unravel/data/conf/cost directory.

      • For Databricks Azure platform, go to <unravel installation directory>/unravel/data/conf/cost directory and edit prices_workload_tier_azure.tsv For example:

        allpurpose	standard	0.4
        allpurpose	premium	        0.55
        jobscompute	standard	0.15
        jobscompute	premium	        0.3
        lightcompute	standard	0.07
        lightcompute	premium	        0.22
      • For Databricks AWS platform, go to <unravel installation directory>/unravel/data/conf/cost directory and edit prices_workload_tier_aws.tsv For example:

        allpurpose	standard	0.4
        allpurpose	premium	        0.55
        allpurpose	enterprise	0.65
        jobscompute	standard	0.1
        jobscompute	premium	        0.15
        jobscompute	enterprise	0.2
        lightcompute	standard	0.07
        lightcompute	premium	        0.1
        lightcompute	enterprise	0.13
  3. Apply the changes.

    <Unravel installation directory>/unravel/manager config apply
    
  4. Start Unravel

    <Unravel installation directory>/unravel/manager start

See also Billing Service.