cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Usage of Databricks apps or UI driven approach to create & maintain Databricks infrastructure

noorbasha534
Valued Contributor

 

Hi all,

the CI/CD based process to create & maintain Databricks infrastructure (UC securables, Metastore securables, Workspace securables) is resulting into high time to market in our case. So, we are planning to make it UI driven, as on, create a Databricks app to create and maintain the securables.

We plan to persist all the config in delta tables.

Have you seen someone doing such thing or what do you think about such an implementation pattern..

appreciate the mindshare

3 REPLIES 3

szymon_dybczak
Esteemed Contributor III

 

Hi @noorbasha534 ,

To be honest, I've never seen this approach before. In most cases, in production environments, youโ€™ll encounter CI/CD pipelines in Terraform that provision all the infrastructure for Databricks, along with Databricks Asset Bundles CI/CD pipelines responsible for deploying code, workflows, DLT, etc. But if your organization finds it more beneficial to move away from that approach, you should give it a try. Maybe in your case, this method will be completely sufficient. ๐Ÿ™‚

Pat
Esteemed Contributor

Hi, this doesn't sound good to me TBH.
I don't know why this is high in time, maybe try to look at some modules/examples to create resources via terraform, ie.:
https://github.com/databricks/terraform-databricks-examples
https://github.com/databricks/terraform-databricks-sra

I have done this few times from scratch, you setup re-usable modules then you are ready to use them basically.

When to use DABs vs Terraform: https://medium.com/@alexott_en/terraform-vs-databricks-asset-bundles-6256aa70e387

Maybe I didn't get your problem, but this shouldn't be time consuming TBH.



nayan_wylde
Honored Contributor

UI Driven approach is definetly a bad idea for deployment. I have seen most organisation using terraform or biceps for deployment.

Why UI-Driven Infrastructure is Wrong

1. No version control or audit trail

2. Configuration Drift & Inconsistency

3. No Disaster Recovery Strategy

4. Security & Compliance Issues.

The table will explain:

Scenario                                       UI Approach                                   Terraform Approach

Deploy to 3 environments2-3 hours manual work5 minutes automated
Add security policyUpdate each workspace manuallyChange 1 line, apply everywhere
Disaster recoveryDays to weeksMinutes
Audit complianceScreenshots and docsGit history + automated reports
Team onboardingTraining sessions + documentationRead the code
Change approvalEmail chains + manual verificationPull requests + automated validation

The Right Way: Infrastructure as Code

1. Terraform (Recommended)

2. Biceps (Azure-Specific)

3. Asset Bundle (Complex Logic)
4. Pulumi (Complex Logic)

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now