Azure Data Bricks Mount point

Abhishek Shukla
1 min readJan 27, 2020

I was stuck to find out the right solution that how to create a Mount point in data bricks without using the Scope.

So here is the script which create a mount point using the Storage Account keys.

Scala —

dbutils.fs.mount(
source = “wasbs://<StorageContainerName>@<StorageAccountName>.blob.core.windows.net/”,
mountPoint = “/mnt/<MountPointName>”,
extraConfigs = Map(“fs.azure.account.key.<StorageAccounName>.blob.core.windows.net” -> “<StorageAccountKey>”))

Python –

dbutils.fs.mount(
source = “wasbs://<StorageContainerName>@<StorageAccountName>.blob.core.windows.net/”,
mount_point = “/mnt/<MountPointName>”,
extra_configs = {“fs.azure.account.key.<StorageAccountName>.blob.core.windows.net”:”<StorageAccountKey>”})

--

--

Abhishek Shukla

Having 20+ years of IT experience , Enterprise architect . Azure Solution architect expert, Microsft certified trainer, AWS cloud practioner (CLF-C01)