Skip to content

badlydressedboy/azure-data-costs-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

azure-data-costs-ui

Support this project with a ⭐ -report an issue, or even better, place a pull request 📫 😊. Grab the latest release if you just want to cut your Azure spending.

See Azure data related costs side by side with their usage over time to identify where you are over-spending.

The UI is WPF so currently Windows only. I like the simplicity of not having to worry about a server and data access if governed by your login to azure, not a servers.

The layout for costs in the Azure portal is OK but I wanted a custom view so I can order lists of similar types (SQL Databases etc) and be able to drill down and see the properties appropriate for that resource type.

This could be extended to more resource types then just data but I care more about data so it's where I am starting.

Data access is via REST API and models are custom as Azure official helper classes had a bug at time of writing.

You need to be logged into azure either via CLI or Visual Studio in order to access REST API. No login or credential functionality is needed/offered in the app.

SQL Database Summary image

SQL DB Cost Savings Analysis az-costs-analyze

Spend analysis gives saving and reason for all databases image

SQL DB Live Status (sessions etc) az-db-status

Storage costs drilled into: image

How to run

Either download the exe from the latest release on the right of the main repo page (requires .net 7 or above) or checkout the code to compile/change it youself by following these steps:

  1. Download/install .Net (version 7 or above)
  2. Create a local git folder where you want to put the folder containing the code. I use C:⧵git
  3. Start a powershell or command prompt then navigate to folder you just created
  4. Run: git clone https://github.com/badlydressedboy/azure-data-costs-ui.git
  5. Change folder to C:\git\azure-data-costs-ui\src\azure-data-costs-ui-wpf
  6. Run: dotnet build .\Azure.Costs.Ui.Wpf.csproj
  7. Run: dotnet run .\Azure.Costs.Ui.Wpf.csproj
  8. Make sure you have logged into azure through AZ CLI using: AZ LOGIN command