Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 35 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,40 @@
The module can deploy an Intel Optimized Azure Databricks Workspace.

**Learn more about optimizations :**
## Performance Data

[Databricks Photon using Azure Edsv5](https://www.databricks.com/blog/2022/05/17/reduce-time-to-decision-with-the-databricks-lakehouse-platform-and-latest-intel-3rd-gen-xeon-scalable-processors.html)
<center>

#### [Reduce Time to Decision With the Databricks Lakehouse Platform and Latest Intel 3rd Gen Xeon Scalable Processors](https://www.databricks.com/blog/2022/05/17/reduce-time-to-decision-with-the-databricks-lakehouse-platform-and-latest-intel-3rd-gen-xeon-scalable-processors.html)

<p align="center">
<a href="https://www.databricks.com/blog/2022/05/17/reduce-time-to-decision-with-the-databricks-lakehouse-platform-and-latest-intel-3rd-gen-xeon-scalable-processors.html">
<img src="https://github.com/intel/terraform-intel-azure-databricks-workspace/blob/main/images/azure-dbx-1.png?raw=true" alt="Link" width="600"/>
</a>
</p>

#
#### [Up to 3.0x price/performance benefits and 6.7x the speed up on Azure Edsv5](https://www.databricks.com/blog/2022/05/17/reduce-time-to-decision-with-the-databricks-lakehouse-platform-and-latest-intel-3rd-gen-xeon-scalable-processors.html)

<p align="center">
<a href="https://www.databricks.com/blog/2022/05/17/reduce-time-to-decision-with-the-databricks-lakehouse-platform-and-latest-intel-3rd-gen-xeon-scalable-processors.html">
<img src="https://github.com/intel/terraform-intel-azure-databricks-workspace/blob/main/images/azure-dbx-2.png?raw=true" alt="Link" width="600"/>
</a>
</p>

#
#### [Accelerating Azure Databricks Runtime for Machine Learning](https://techcommunity.microsoft.com/t5/ai-customer-engineering-team/accelerating-azure-databricks-runtime-for-machine-learning/ba-p/3524273)

<p align="center">
<a href="https://techcommunity.microsoft.com/t5/ai-customer-engineering-team/accelerating-azure-databricks-runtime-for-machine-learning/ba-p/3524273">
<img src="https://github.com/intel/terraform-intel-azure-databricks-workspace/blob/main/images/dbx-runtime.png?raw=true" alt="Link" width="600"/>
</a>
</p>

#

</center>

[Accelerating Databricks Runtime for Machine Learning](https://techcommunity.microsoft.com/t5/ai-customer-engineering-team/accelerating-azure-databricks-runtime-for-machine-learning/ba-p/3524273)

## Usage

Expand Down Expand Up @@ -95,8 +125,10 @@ No modules.
| <a name="input_dbx_sku"></a> [dbx\_sku](#input\_dbx\_sku) | The sku to use for the Databricks Workspace. Possible values are standard, premium, or trial. | `string` | `"premium"` | no |
| <a name="input_dbx_vnet"></a> [dbx\_vnet](#input\_dbx\_vnet) | Name of the virtual network for your Databricks worskpace. Required only if you like to use your own virtual network else it will be on a databricks network | `string` | `""` | no |
| <a name="input_dbx_workspace_name"></a> [dbx\_workspace\_name](#input\_dbx\_workspace\_name) | Name of the databricks workspace that will be created. | `string` | n/a | yes |
| <a name="input_enable_intel_tags"></a> [enable\_intel\_tags](#input\_enable\_intel\_tags) | If true adds additional Intel tags to resources | `bool` | `true` | no |
| <a name="input_intel_tags"></a> [intel\_tags](#input\_intel\_tags) | Intel Tags | `map(string)` | <pre>{<br> "intel-module": "terraform-intel-azure-databricks-workspace",<br> "intel-registry": "https://registry.terraform.io/namespaces/intel"<br>}</pre> | no |
| <a name="input_resource_group_name"></a> [resource\_group\_name](#input\_resource\_group\_name) | Existing Resource Group where databricks reosurce will be created. | `string` | n/a | yes |
| <a name="input_tags"></a> [tags](#input\_tags) | Tags to apply to the Databricks Workspace | `map(string)` | <pre>{<br> "module": "Intel-Cloud-Optimization-Module",<br> "owner": "[email protected]"<br>}</pre> | no |
| <a name="input_tags"></a> [tags](#input\_tags) | Tags to apply to the Databricks Workspace | `map(string)` | `{}` | no |

## Outputs

Expand Down
Binary file added images/azure-dbx-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/azure-dbx-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/dbx-runtime.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion main.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
locals {
#Determines wheter to use custom user-provided virtual network or databricks-managed network
use_vnet = var.dbx_vnet == "" ? false : true

#If the enable_intel_tags is true, then additional Intel tags will be added to the resources created
tags = var.enable_intel_tags ? merge(var.intel_tags, var.tags) : var.tags
}

resource "random_string" "naming" {
Expand Down Expand Up @@ -54,7 +57,7 @@ resource "azurerm_databricks_workspace" "az-databricks" {
private_subnet_network_security_group_association_id = local.use_vnet ? data.azurerm_subnet.dbx-public[0].id : null
}

tags = var.tags
tags = local.tags

}

Expand Down
20 changes: 16 additions & 4 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,20 @@ variable "dbx_network_security_group_rules_required" {
variable "tags" {
description = "Tags to apply to the Databricks Workspace"
type = map(string)
default = {
"owner" = "[email protected]"
"module" = "Intel-Cloud-Optimization-Module"
default = {}
}

variable "enable_intel_tags" {
type = bool
default = true
description = "If true adds additional Intel tags to resources"
}

variable "intel_tags" {
default = {
intel-registry = "https://registry.terraform.io/namespaces/intel"
intel-module = "terraform-intel-azure-databricks-workspace"
}
}
type = map(string)
description = "Intel Tags"
}