Skip to main content

5 posts tagged with "cost management"

View All Tags

Controlling Databricks Costs on Azure

· 9 min read
Shpend Kelmendi
Software Engineer & Architect

No one likes surprises on the bill. Whether it is at a restaurant with your date or in a company setting, an unexpectedly high invoice can quickly put us in unnecessary trouble. Explaining to leadership why costs suddenly went up can be okay when it was a conscious decision, but not when something was simply overlooked. That is exactly one of the biggest challenges for our Data Platform Engineering team: cloud and Databricks offer huge opportunities, but costs can rise sharply if you do not pay close attention. What is often missing is the clarity and early steering mechanisms needed to identify the main cost drivers and react in time. Our goal is to enable data teams to unlock the full potential of the platform without unpleasant end-of-month surprises. For us, success means no unexpected costs and cost awareness across all users. After evaluating multiple options, we chose a solution that gives us this freedom without giving up control.

TL;DR

There’s no silver bullet. We combined following components to achieve transparency, responsiveness, and control:

  • Databricks dashboards for visibility into cost drivers → what costs
  • Databricks SQL alerts for proactive notifications when spend deviates → when to act
  • Budget Control for per-user and per-user-group governance → enforce limits

Quick Azure Cost Management - Budget and Notifications with Bicep and alternatives

· 3 min read
Shpend Kelmendi
Software Engineer & Architect

Managing costs in the cloud is crucial to avoid unexpected expenses.
How many times have I read "Azure just charged me 1k dollars because of a misconfiguration".
Did it happen to you as well? Me too. And I know how stupid you feel after that. Sometimes it is not even our fault. (cough* strange defaults from Azure *cough)

So to avoid that, we can setup budgets and get notified when we reach certain thresholds.
It's important to know which scope you want to set the budget on. It can be at management group level, subscription level or resource group level. Choose the scope you are responsible for and want to monitor costs for.

What are the options? Let's explore them.