Monitoring VM costs using cluster pools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-20-2024 12:54 PM
Hello,
With ref to docs https://learn.microsoft.com/en-us/azure/databricks/admin/account-settings/usage-detail-tags cluster tags are not propagated to VM when created within a pool.
Is there any workaround for monitoring VM costs using cluster pools (job clusters)?
Sharing Your approach and experiences most appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 12:36 AM
Thanks @Retired_mod for Your reply!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 02:09 AM
Dear @Retired_mod ,
as You mentioned, Databricks does not provide out of the box support for VM usage monitoring for job clusters created from cluster pool.
If we really want to use cluster pool, I would consider:
1) splitting the pool into separate pools on the granularity level that reflects our needs for costs reporting,
2) extrapolate the DBU costs to VM usage costs (as they are very similar) on the job level,
3) tune pools (setting min idle, autoterminate) to minimalize idle time.
An alternative approach would be to use job computes - not from the cluster pool, and then use tagging.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 02:25 AM
I am leaving pools more and more and using reusable job clusters more and more. Like that you have more control.
![](/skins/images/97567C72181EBE789E1F0FD869E4C89B/responsive_peak/images/icon_anonymous_message.png)
![](/skins/images/97567C72181EBE789E1F0FD869E4C89B/responsive_peak/images/icon_anonymous_message.png)