ā01-14-2022 06:36 AM
Hi,
I have a bunch of scripts in Databricks that perform a decent amount of data-wrangling. All of these scripts contain sensitive information and I have no intention of making them public.
I would like to provide a service to my customers - so they can use all these scripts - but they cannot see their content. My idea was to deploy Databricks in their own subscription but it looks like even with Databricks premium I cannot hide those scripts from my customers. The admin can see everything. (I wouldn't be the admin, obviously)
My second idea was to keep my databricks as is in my own sub and then create databricks clusters in their subscriptions. However, I can't see if there is such an option - if I happen to create a cluster, then it will run in my own subscription.
For obvious reasons, my clients do not want their data leave their subscription.
What's the recommended way of customer deployment, then? All of my scripts are pyspark scripts - so there is no obvious way to compile them given that python is an interpreted language. There are a few libraries out there but I don't trust them 100%.
Please advise,
Tamas
ā01-25-2022 07:36 PM
@Tamas Dā I understood your concern.
Thanks. Please let me know if you have any queries.
Thanks
ā01-24-2022 08:27 AM
Hello, @Tamas Dā - My name is Piper, and I'm a community moderator for Databricks. Please accept my apologies for not responding sooner. š
I'll pass this to the subject matter experts now and the team will go looking for the best person to answer your question.
ā01-25-2022 02:04 AM
@Piper Wilsonā Thank you.
In the meantime I found out that Databricks supports REST API calls to execute scripts in a given language but I am not convinced that that would be a great approach. With API 1.2 we need to define the language - and in almost all notebooks I keep switching between python and spark sql.
https://docs.databricks.com/dev-tools/api/1.2/index.html
Also, it not uncertain how temporary views would be handled if scripts would be sent separately. (Python, sql, python, sql etc.) Maybe it is not worth going down that road...
ā01-25-2022 07:31 AM
@Tamas Dā Thank you for the update.
ā01-25-2022 07:36 PM
@Tamas Dā I understood your concern.
Thanks. Please let me know if you have any queries.
Thanks
Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonāt want to miss the chance to attend and share knowledge.
If there isnāt a group near you, start one and help create a community that brings people together.
Request a New Group