Configuring your AWS Billing for Turbonomic

Document created by discoposse Expert on Jun 2, 2017Last modified by Ben Yemini on Jun 19, 2017
Version 2Show Document
  • View in full screen mode

With the launch of Turbonomic 5.9 came an all new set of exciting and powerful capabilities around the public cloud when using Turbonomic.  As you saw in the launch details, the Turbonomic is the only hybrid cloud management platform which provides the ability to assure performance, lower costs and ensure compliance for your on-premises, hybrid cloud and multi-cloud environments.  

 

In order to set up your AWS Target, you must first configure the AWS billing reports to go to an S3 bucket to allow your Turbonomic instance  to access the data for cloud cost analysis and budgeting capabilities.  This is a global setting for your account that will provide all the detail needed to fully leverage the power of Turbonomic to deliver the best performance for the lowest cost.

 

These are the steps you need to follow to set up your billing reports to AWS S3.

 

Configuring an IAM User for Turbonomic

 

Open up your AWS console and look for the IAM section under Security, Identity & Compliance:

 

Select the Users option and click the Add user button:

 

 

Choose the name for your user and make sure to enable Programmatic access with the checkbox:

 

 

For consistency, create a group so we can ensure the permissions are not applied directly to the user.  This is done by clicking the Create group button:

 

Name your group something meaningful and then select the AmazonEC2ReadOnlyAccess option first, followed by also selecting the AmazonS3ReadOnlyAccess as shown in the two screens below.

 

 

Once you have selected both, click the Create group button:

 

 

Click the Next:Review button:

 

 

Now we have our group and user details set up and can click the Create user button to finish:

 

Make sure to download the credentials and keep them somewhere safe!  Click the Download .csv button and you can also copy the Access key ID and Secret access key from the screen before you click Close.  

 

That is the user and group configuration.  Next up is the S3 Configuration.

 

Setting up your S3 Bucket for Billing Reports

 

Under your AWS Console, choose the S3 service and you will be able to click the Create bucket button.  Note that you may still have the old interface so some screens may appear slightly different.

 

 

We must pick a unique name for our S3 bucket.  Not just a unique name for us, but for the entire world!  Amazon S3 uses fully qualified DNS names to identify the buckets and it is a global namespace, so you may have to choose something original to make sure the name is available.  

 

Here is my example name, and you can also see that we are asked about which region to locate it in.  US East is the default region and it will be up to you to choose what region you wish to host your bucket in.  Make note of the region as you will need it later:

 

 

You can leave the defaults on the next page for Versioning, Logging, and Tags.  In my example, I have chosen to assign a couple of tags so that it is easy to search for the resource from the AWS console:

 

 

Choose Next to go to the next page:

 

 

Choose Next again to complete the deployment of your S3 bucket:

 

 

That is the initial configuration for your S3 bucket which is nearly done.  Make sure to keep your console open so that you can get back to it as we do the next steps.  We require some permissions to be set using a bucket policy which will come in a couple of steps.

 

Configuring your Billing Reports to your S3 Bucket 

 

In another window or tab, choose your My Billing Dashboard option to start configuring our billing reports:

 

 

Choose the Preferences tab on the left-hand pane and make sure to enable the Receive Billing Reports followed by typing the name of your S3 bucket name that we created in the earlier steps.  Once that is done, click the Verify button which will trigger a failure, but don't worry! Click the sample policy link that comes up once the verification errors out:

 

Selective text in the sample policy and copy it to the clipboard. 

 

 

In your S3 configuration, select the Bucket Policy button under the details for the bucket you created:

 

Paste in the contents of the sample policy that we copied to the clipboard before and click the Save button:

 

 

Go back to the billing section and click the Verify button which will come back with a Valid Bucket message.  Make sure that you check off the Detailed billing report with resources and tags option and then click the Save preferences button:

 

 

Choose the Reports tab on the left-hand pane and click the Create report button:

 

 

Choose a report name and select Daily for the time unit and then click the Next button:

 

 

Type the name of your S3 bucket and click the Verify button, then type in a Report path prefix which in most cases should be daily.  The default compression type of GZIP should remain.  Click the Next button once you are done:

 

 

Click the Review and Complete button and you are all set!

 

 

From these steps, we have created our billing user, a group for that user and permissions to access the S3 and EC2 services.  Then we created our daily reports and configured them to deliver the output to the S3 bucket.  Now we are all set to be able to add an AWS cloud target to your Turbonomic instance!

2 people found this helpful

Attachments

    Outcomes