Microsoft Azure cloud connector


Use the Microsoft Azure cloud connector to collect the cost and usage data of the virtual machines that are provisioned in the Azure cloud. BMC Helix Cloud Cost uses this resource usage and cost data to provide forecasting, cost estimations, and to optimize your cloud costs by using recommendations. 

You can configure the connector to collect data from the following types of Azure subscriptions:

  • Pay-As-You-Go (Web Direct)
  • Azure Government 
  • Enterprise Agreement

Collecting data by using the Microsoft Azure cloud connector

To collect data by using the Microsoft Azure cloud connector, do the following tasks:

I. Complete the preconfiguration tasks.

II. Configure the connector.

Step I. Complete the preconfiguration tasks

For the Pay-As-You-Go Azure subscription

To collect the billing details of your Azure resources, the connector needs to make the REST API calls to Azure services. To authenticate with these APIs, you must specify the following details during the connector configuration:

  • Azure subscription ID
  • Azure Active Directory (AAD) tenant ID
  • Application ID
  • Authentication key

To fetch these details, complete the following preconfiguration tasks.

For the Enterprise Agreement Azure subscription

To collect the billing details of your Azure resources, the connector needs to access the billing API. To authenticate with the billing API, you must specify the Service Principal details or the Enrollment details during the connector configuration.

Service Principal details

Perform step 2 to 7 in the preconfiguration tasks section and obtain the following details.

  • Azure Tenant ID
  • Azure Client Secret
  • Client ID

Enrollment details

  • Enrollment number
  • API access key

To fetch enrollment details, complete the following preconfiguration tasks:

Step II. Configure the connector

You must configure the connector to connect to Microsoft Azure for collecting the cost and usage data of Azure entities.

To configure the connector:

  1. In the BMC Helix Cloud Cost dashboard, navigate to Connectors Add a Connector > and select Azure Cloud Connector from the cloud based connectors.
  2. On the Configure Connector page, configure the following properties:

    Property

    Description

    Connector name

    A unique name for the connector.

    Azure environment

    Specify whether you want to import data from the Global Azure, Azure Government, or Azure Enterprise account. The default selection is a Global Azure account.

    Select the type of data that you want to collect

    Depending on your Azure subscription, select the type of data that you want to collect:

    • Security & Compliance: Collect resource usage data to evaluate it for compliance and security. This option is available only if you are licensed to use 

      BMC Helix Cloud Security

      .

    • Billing & Usage: Collect billing information to manage and optimize cost
    • Utilization: Collect resource usage data to monitor performance and generate recommendations
  3. Depending on your Azure environment, select one of the following tabs for configuring the connector properties:

  4. Collection mode: By default, the data collection cycle is set to On Demand collection. You can select an appropriate unit of time (days, minutes, hours) to schedule the data collection frequency.
  5. On the Select Policies page, select the policies that you want to import from the policy library. This option is available only if you are licensed to use 

    BMC Helix Cloud Security

    and choose to collect Security & Compliance data. For more information, see Managing policies.

  6. Click Continue. A confirmation message about the request for data collection processing is displayed.
    The Manage Connectors page shows the details of the newly configured Azure Cloud Connector.

Step III. Verify data collection

Verify that the connector ran successfully and check whether the Azure data is refreshed on the Dashboard.

To verify whether the connector ran successfully:

  1. On the Manage Connectors page, the state of the newly configured connector is updated to Running.
    When you run the connector for the first time, the connector recovers data for the past 6 months, and the data collection completes in approximately an hour.
  2. On the BMC Helix Cloud Cost dashboard, the Azure tab is displayed.
  3. Select the Azure tab from the Dashboard.
  4. In the Summary tab, verify that the total cost, historical cost, and total resources are displayed. Also, Recommendations are displayed only when you have configured the connector to collect Utilization data and you have efficiency issues in your infrastructure. Recommendations are not generated if all the resources are utilized efficiently.
  5. Resource pool information is not available by default. You must create a resource pool to view the resource pool details like name, resource count, budget, actual cost, and the projected cost. To create a resource pool, click Resource Pools.
  6. In the Accounts tab, verify that the account details like name, actual cost, change in cost (in US dollars and percent), percent total cost, and number of resources are displayed for the accounts you own.
  7. In the Services tab, verify that the service details like name, actual cost, change in cost (in US dollars and percent), percent total cost, and number of resources are displayed.
  8. In the Explore Bill tab, verify that the resource name, actual cost, resource type, region, account name, and the service name are displayed.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*