Cloud Control: Azure Target Setup [Turbonomic 5.6+] [Complete Guide]

Document created by fadi.josef Expert on Jun 10, 2016Last modified by fadi.josef Expert on Dec 15, 2016
Version 11Show Document
  • View in full screen mode

In this guide, we are going to go over how we can setup Turbonomic to manage Microsoft Azure.

 

Requirements

  • Administrator or Co-Administrator on Azure
  • Access to Azure Management portal (manage.windowsazure.com)
  • Access to Azure Portal (portal.azure.com)
  • SSH Root access to Turbonomic

 

Generating the Certificates

For this step, we will use the Python Script to automatically generate and configure your Turbonomic instance.

  • Download the attached script at the end of this page and upload it to your Turbonomic instance.
    • SSH into Turbonomic
    • Go to tmp (cd /tmp)
    • Create an Azure folder (mkdir Azure)
    • Go to the Azure folder (cd Azure)

Running the script

After uploading the script, SSH into your Operations Manager server with root privileges. Then execute the following command: "python Turbo_Azure.pyc"

 

SSLGenerated.png
Upload the Certificate file to your Azure Portal

  • Download the generated certificate file from the Operations Manager server to your local machine.|
  • The script output shows that the script saved the certificate file to/tmp/Azure/Azure_Turbonomic.cer on your Operations Manager server.
  • From your local machine, navigate to your Azure Management Portal.
  • Use the portal user interface to upload the certificate file from your local machine

Azure.png

After you upload the certificate make sure the certificate matches the subscription ID you are going to be entering in Turbonomic later on otherwise we will not discover the locations in Azure.

Make a note of the Subscription ID because you will need to enter that in Turbonomic later on.

Uploaded.png

 

Creating Web Application

  • Under Manage click on App registrations

  • Now click on the Add button

  • Now enter the required details in the fields and then click Create
    • Name: Web Application name. This can be any name you like. In this example I used Turbonomic.
    • Application/Type: Keep that as Web app/API
    • Sign-on URL: Enter your Turbonomic URL.

Now we have created the App registration. Make a note of the Application ID.

You will need to make sure the application id is saved because you will need to enter this in Turbonomic.

  • Now click on the Settings button.

  • Click on Keys

Now you will see a new Window.

  • Fill in the required fields to generate a key and then click Save
    • Description: Turbonomic
    • Expires: Never expires

Make sure you make a note of the Key. You will need this key when you add Azure to Turbonomic.

  • Now click on Required Permissions

 

  • Click Add

  • Add the required API access and then click on Select and then Done

  • Then delegate permission.

  • At the end, you should see yours will look like the screenshot below.

  • Now click on Endpoints to get the Tenant ID

Only copy the UUID number.

The Web Application is now created and configured on Azure. Now we need to add the Web application as a user in Azure Portal.

  • Click on the subscription.
  • Click on 'Settings'.
  • Click on 'Control Access(IAM)'.

    

  • Click on 'Add' on the top

  • Select role as either 'Owner' OR 'Contributor'
  • Choose this Web Application that you have for just created for Turbonomic to access resources from your Azure's Subscription.

  • Click Select and then 'OK'.

After you assigned the role to the application you should see it as a User in your Users list as shown in the screenshot below.

UserAdded.png

You should now see the new user.

At the end, you should have the following information to enter in Turbonomic.

  • Subscription ID
  • Secret Key
  • Tenant ID
  • App ID

Screen Shot 2016-10-08 at 2.13.55 pm.png

References

TurbonomicMicrosoft Azure
Tenant IDTenant ID
Client/App IDApplication ID
Client Secret KeyKeys
3 people found this helpful

Attachments

Outcomes