MLOps on Azure: API vs SDK vs Databricks CLI?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2024 11:11 AM
Hello fellow community members,
In our organization, we have developed, deployed and utilized an API-based MLOps pipeline using Azure DevOps.
The CI/CD pipeline has been developed and refined for about 18 months or so, and I have to say that it is pretty stable and we don't have any issues. Everything is seamless and works like charm!
We have MLOps Engineers within the team that want us to redo the CI/CD pipeline using either Databricks SDK or new Databricks standalone CLI. We discussed this within the team and still want to hear more arguments around if this is a good decision or not? Here are some argument bullet points:
Databricks API:
- We already have a working version using APIs. Why should we even switch? takes a lot of effort for no apparent gain
- Potentially most stable and up to date
- Better community support
- Language agnostic
- Gives us the most utility/flexibility
- Most integrability
- Con: Can potentially take longer to setup if updates are out. For example jobs API2.0. This argument is not really concerns me though. Took us only two days to develop, test and integrate with CI/CD pipeline. But an argument from the team.
Databricks SDK for Python:
- Simplicity!?
- Con: Limitation, we can always end up going back and utilizing APIs if we need something that is not supported.
- Con: community support. Not sure how good it is
- Con: Now team has to understand and maintain another fork of the CI/CD pipeline. Adds to tech debt.
- What else? pros or cons?
Databricks CLI (new):
- Not sure about this to be honest?
- Any arguments here?
Any suggestions and/or insights are helpful here.
Thank you
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-27-2024 03:12 PM
Hello @ManiMar,
In my opinion it's up to you to choose, and you're in the right path by comparing the pros/cons of each approach.
I'd like to highlight that one of the advantages of the Databricks CLI is being able to use Databricks Asset Bundles. I'd say it's a very straightforward approach for CI/CD and new deployments.
Best regards,
Raphael Balogo
Sr. Technical Solutions Engineer
Databricks
Raphael Balogo
Sr. Technical Solutions Engineer
Databricks

