Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. To onboard with Yotascale, you need to have an Azure Portal user that has Reader and Data Access (or superior role) to the Subscription where the Billing Export files are stored.

  2. Yotascale only needs to read Export Files that are created by Azure daily. No user credentials are stored. We only persist the containers keep that allow to read reading the Export files.

  3. The Export files need to be two: one for Actual cost and one for Amortized cost. These need to be schedule scheduled for “daily export of month-to-date costs”.

...

Resource

Role (any of these will work)

Subscription where the Export files are stored

  • Reader and Data Access

  • Storage Account Contributor

  • Contributor

  • Owner

Billing Account

Enterprise Administrator

Please note that for the Subscription Reader is not enough because that Role does not give access to the Cost Export Files.
To access the Export files the roles in the table are the only option. This is information is clarified in this Azure document, which shows the roles needed to access the keys to the Storage Blob Data.

To create Export files for an EA account, you need to have an EA admin role. These are the steps to give a user an Enterprise Administrator role.

Setup Permissions to access the Azure Subscription where the Export files are stored

...

For the Subscription where the Export Files are storesstored:

  1. Open the Subscriptions page from Search or Menu:

  2. Click on the Subscription you want to add

  3. Click on Access Control (IAM)

  4. Click on “+ Add” to add a Role

  5. Add the “Reader and Data Access” Role or a Superior Role. Select the user you want to add

  6. Save it and you’re done with Subscription Permissions

Register the Resource Provider for the Azure Subscription where you want to store Cost Export files to allow for CostExport

It may happen (because of security company policy) that the Azure Subscription where you will create Export files is not registered to allow the Export service to run.

If that is the case, you will see an error stating that the Resource is not Registered.

you need to then Register the export service.

From Subscription - Resource Providers, go and “Register” the “Microsoft.CostManagementExports” and “Microsoft.CostManagement” as in this screenshot:

...

Setup Daily Usage and Purchase Export Files for Actual and Amortized Billing

...

You can also follow this Azure video or the instructions from this Azure tutorial page.

You do need to have an Enterprise Administrator role to be able to create these cost Exports. This is how that role is assigned.

  1. Go to your Cost Management and Billing in your Azure account that you want to onboard with Yotascale

    Click in the Billing Account you want to onboard with Yotascale
  2. Click on “Cost Management”

  3. Image Added

    Next click on “Configuration”

  4. Image Added

    Click on “Exports”

  5. Image Added
  6. Click on Exports on the left menu at the bottom:

  7. Image Removed
  8. Click on “+ Add” to create a new Export

  9. Give it a name, e.g. “yotascale-daily-actual”

  10. Image RemovedImage AddedImage Added

     

  11. Make sure you select “Daily export of month-to-date costs”

  12. Click on “Next”

  13. Fill out the Storage. First, select the Subscription where the Exports will be stored to daily.

  14. Make sure you fill out all information. These are some examples

  15. Image RemovedImage Added
  16. Or you may see this screen, depending on your EA version:

    Image Added
  17. Then click on “Next”. You will see a summary, and then click in “Create”

  18. Repeat these steps to create the “Amortized Amortized Costs

Yotascale Side Steps to Onboard Your Azure Subscriptions

  1. Login to your Yotascale account as an “Admin”

  2. Go to Settings - Manage Connections

  3. Click on “Add Account” and select Azure EA:

  4.  

  5. Click on:

  6. Sign in with the same user mentioned above in the Azure-Side Prerequisites section

  7. You may get a popup to confirm your Azure Active Directory:

  8. It is possible that you get a “Token Renewal Failed”. In that case, you need to click on Get Token:

  9. Select the account which you want to onboard to Yotascale (once we have a token, we will fetch your the list of Subscriptions and respective storage accounts)

  10. Next, you need to enter the details as highlighted here:

  11. Select the correct Subscription ID from the respective drop-down  - this is the Subscription where the Export are is being stored.

  12. Some of the fields are discovered:

    1. Subscription ID

    2. Storage Account Name

    3. Container Name

    4. Resource ID

  13. Some field fields you need to copy/paste them from your Azure Portal. They must match. We cannot discover them because Azure does not provide a public API for it

    1. Cost Export Name

    2. Directory Name

  14. Hit save and you are done.