All Collections
Integrations
Azure
Connect an Azure account - get granular insights on costs
Connect an Azure account - get granular insights on costs

Add insights on costs & granular costs per resource to your Azure resources on Tailwarden

Cyril avatar
Written by Cyril
Updated over a week ago

Please be advised that you first need to connect your Azure account. Please refer to this page to learn how to do this.

In this guide, you'll learn how to enable the Azure granular costs feature to get the cost at the resource level.


Part 1: create the storage account to store the data

  1. Go to the "Storage accounts" section


  2. Click on "Create" and fill information as below. We advise it to keep everything as default except:
    - Storage account name: this will be required later in the process
    - Region: we advise you to create the storage account in your main region


  3. Click on "Review + Create" then "Create" at the bottom

Part 2: enable billing data set export on your Azure account

  1. Go to the Billing subscriptions section


  2. On the left hand column, find "Exports" in the section "Settings"


  3. Click on "Create" then fill information in the form as below

    1. Name: name of the report, up to you

    2. Metric: you can pick actual costs or armotized costs. Based on your choice, you will see either actual or armotized costs in Tailwarden

    3. Export type: keep the default value "Daily export of month-to-date costs"

    4. Start date: keep the default value set to today

    5. File partitioning: it has to be activated

    6. Storage: use existing as you already created the storage account in the previous step

    7. Subscription: the subscription you want to monitor in tailwarden

    8. Storage account: pick the storage account created previously

    9. Container: up to you - it will be required later

    10. Directory: up to you - it will be required later


  4. Validate by clicking on "Create". Congrats, your export will be soon available. There's one last step in Azure before going back to Tailwarden. You need to allow Tailwarden to get access to the content of the Storage Account created

  5. Go back to "Storage Account" and opened the storage account you created in Step 1


  6. Click on "Add" -> "Add role assignment"


  7. Look for "Storage Account Contributor" and select this role. Then click on "Next"


  8. Then click on "Select members"

Look for the "Service Principal" you created for Tailwarden and select it. You just need now to click twice on Next

We're finally done for Azure! Just one small step in Tailwarden and it's finally over :)


Part 3: enable cost insights on Tailwarden

  1. Go the cloud accounts page and access your Azure account


  2. In the "Cost insights" tab, fill information:

    1. Storage account: name of the storage account created at the very beginning

    2. Container: name of the container set during the creation of the export

    3. Directory: name of the container set during the creation of the export

Congrats, you're done! It might take up to 24h before you get your costs in Tailwarden - please be advise that this delay is due to Azure, not Tailwarden.


Ready to reclaim control of your cloud infrastructure? Connect with us to explore Tailwarden's capabilities and book a personalized demo.

Did this answer your question?