Azure Cost Integration
Summary – InsightFinder can stream Azure cost data and generate anomalies to automatically alert the team of any unwanted or unidentified activities in the account from hackers or over-utilization and help reduce your cost bills.
Project Creation:
- Go to “Settings” → “System settings”. Click on “Add New Project”.
- Select “Azure Cost” from the list and click on “Create Project” on the next page.
- This is where you will configure the project.
- Tenant ID, Client ID, Client Secret – Use your Azure app credentials (see below if you do not have an app yet)
- Billing Account ID – Find your billing account ID. In the Azure portal, go to Cost Management (in the left menu), and click “Properties” on the left.
- Click on “Verify” and you will be taken to the next page if the test API call is successful.
- Choose the sampling interval and collection frequency (how often the Azure cost data is fetched). You may also choose to load historical data if you wish.
- On the next page, you can type in the project name and system name and click on Register.
- Once the project is successfully created, you should see a message like the following:
After some time, you should be able to see data in the metric chart like below.
Creating an Azure App for Cost Management
If you do not already have an Azure app to use for cost management, go to Azure Active Directory (in the left menu) within the Azure portal and click “App registrations” on the left. Click “New registration”.
Give your app a name and click “Register”. Single tenant is fine, and you will not need any redirect URIs.
Go to Cost Management → Access control (IAM) and add your app as a billing-account reader. You may have to start typing the name of your app for it to show up in the dropdown menu.