Displaying AWS Spend In Turbonomic

Document created by dallas.demarr@vmturbo.com Expert on Mar 31, 2017Last modified by praveen.vaddepally on Aug 8, 2017
Version 21Show Document
  • View in full screen mode

Turbonomic provides a complete picture of your environment. For those with AWS Targets, this includes spend amounts, which populate the Expenses -> Cost Breakdown views as seen in the "Cloud" tab. In order to display month-to-day spend, you must expose this information via placing the AWS Cost and Usage report in an S3 Bucket that Turbonomic will access.


To do this, you must do two things:

  • Create a Cost and Usage Report in AWS, saving it to an S3 bucket
  • Give Turbonomic access to the bucket in Target Configuration.

NOTE: This Guide assumes that the user performing these tasks has both the "AmazonS3FullAccess" and "Billing" permissions that will allow the user to create an S3 bucket to place a report into, and set report preferences for type of report (Daily Cost and Usage) plus location of the S3 bucket. For more details on Billing start here: Cost and Usage Report - AWS Billing and Cost Management 

Do you use Consolidated Billing (Consolidated Billing for Organizations - AWS Billing and Cost Management )?  Turbonomic will report the month-day spend summary by AWS Services, but in 5.9.0 cannot parse the different accounts and organizations.  You will need to add a AWS Target with an IAM User that is part of the Master Account Organization or outside Account which minimally has S3 Access to the bucket that is created in that organization. Also, we need to have EC2 instance ( VM either Powered OFF or ON ) on the Account that the IAM User is part of.


Create Cost and Usage Report

Creating reports for AWS budgeting

  1. Login
  2. Select a region (for instance eu-west-2), this is used in the Ops-Manager later on
  3. Click on your name in the upper left corner
  4. From the Drop down list select "My Billing Dashboard"
  5. From the left menu select "Reports"
  6. Click on "Create Report"
  7. Enter a Name for the report, select Daily
  8. Optionally select Resource IDs
  9. Click Next
  10. Next we need to ensure that there is an S3 Bucket in which to store the report.  If you have an existing bucket you may skip creation
  11. Right click on "S3 Console" and open in a new Window
  12. Click on Create Bucket.  Make NOTE of the REGION this bucket is in.
  13. Enter a name for the bucket, as well as select a region.
  14. The name must be unique within all of S3 (must be universally unique)
  15. Click Next
  16. On "Set Properties", click Next
  17. On "Set Permissions", click Next. These will be modified in a future step
  18. On "Review", Click Create.
  19. Back on the S3 page your new Bucket will be created:
  20. Click on the bucket to open it
  21. Click on Permissions
  22. Click on "Bucket Policy"
  23. Now back on the Report Page
  24. Enter the Name of the bucket just created and then click on the link "sample policy"
  25. Copy the Contents of the Pop-up
  26. Note, if you are creating the bucket and do not have billing access to generate this json permissions policy, you can use Example 9 in this AWS document: Billing and Cost Management Permissions Reference - AWS Billing and Cost Management 
  27. Return to S3, and Paste the contents to the editor
  28. Click Save
  29. You may optionally create a folder.  The goal here is to get or create a path to the report.  Next click on "Objects" --> Create Folder
  30. Add a folder called "daily" and click "Save"
  31. Back in the report Window, click on Verify
  32. Enter a path to daily, without a leading slash (if you do you will create a un-named slash).
  33. Click Next
  34. On the Review Page click "Review and Complete"
  35. The required Bucket and report are now present.

NOTE: AWS publishes the standard daily billing report twice a day, and may take up to 24 hours for the first report to be placed in the bucket.  The Cost Breakdown views in Turbonomic will start populating 1 - 2 hours after.


Specifying the Target

  1. Navigate to the Target Configuration section of the Admin tab in Turbonomic to add the target.

    If you have already added the AWS target to Turbonomic, you may modify the existing target to add the bucket and report fields.  However you will need to re-enter the Secret Access Key.  If you target does not validate after modification, make sure you re-enter all credentials. For more information about adding an AWS Target, please see the latest Target Configuration Guide at https://greencircle.vmturbo.com/community/products/pages/documentation.


    Note the IAM User (which belongs to the Access and Secret Access Key info) specified as the AWS Target needs to only have S3 access to use the report - Billing access is not required.

    The three target fields needed for to access this report are:
  • Cost and Usage Report Bucket
  • Cost and Usage Report Path
  • Cost and Usage Report Region


After target discovery is complete, Turbonomic will display spend in the UI. 

2 people found this helpful