Azure Providers

Adding Azure Providers

Infrastructure Automation supports Microsoft Azure providers. Before Infrastructure Automation can be authenticated to Microsoft Azure, you must complete a series of prerequisite steps using the Azure portal. For more information, see Create Active Directory application and service principal account using the Azure portal.

Follow the steps to set up an Azure Active Directory (Azure AD) and assign the required permissions to it, then create an Azure Active Directory application, and obtain the Application ID (Client ID), Directory ID (Tenant ID), Subscription ID, and Key Value (Client Key) that are required to add and connect to the Azure instance as a provider in Infrastructure Automation. Currently, all of these steps can be performed using either the Azure Resource Manager or Service Manager (Classic) mode.

Note:

In the steps described in Create Active Directory application and service principal account using the Azure portal:

When the service principal account (instance of an application in a directory) is created using the Azure portal, the following four pieces of information becomes available within the Azure AD module.

You can now use these values in the procedure below to add an Azure cloud instance as a provider to Infrastructure Automation.

To capture Events or Capacity and Utilization metrics from your Azure account you need to register the Microsoft Insights resource provider.

  1. Select your subscription, and click Resource providers.
  2. Enter microsoft.insights in the search box.
  3. If the provider isn’t registered, then select the checkbox, and click Register.

Microsoft Insights Resource Provider

Add an Azure Cloud Provider:

  1. Browse to the menu and click Compute > Clouds > Providers.

  2. Click Configuration, then click 1862 (Add a New Cloud Provider).

  3. Enter a Name for the provider.

  4. From the Type list, select Azure.

  5. Select a region from the Region list. One provider will be created for the selected region.

  6. Enter Tenant ID.

  7. Enter Subscription ID.

  8. Enter Zone.

  9. In the Credentials section, enter the Client ID and Client Key; click Validate.

  10. Click Add.

Adding Azure Cloud Regions

Infrastructure Automation allows administrators to add additional Azure cloud regions on the appliance server. You can use this capability to add new regions that have been set up since Infrastructure Automation was released. Once added the region it will be available when creating a new Azure provider.

  1. Click config gear Settings > Application Settings.

  2. Click on the Settings accordion, then click Infrastructure Automation: Region at the top. Optionally, a server can be selected (within Zones) to limit the additional region to that server only.

  3. Click on the Advanced tab.

  4. Search for :ems_azure:, and enter the regions you want to add under :additional_regions:.

    Example. To add hypothetical `lunar-base-1` `lunar-base-2` regions:
    
    :ems_azure:
      :additional_regions:
        :lunar-base-1:
          :name: lunar-base-1
          :description: Lunar Base 1
        :lunar-base-2:
          :name: lunar-base-2
          :description: Lunar Base 2
    
  5. Click Save.

Disabling Azure Cloud Regions

Infrastructure Automation allows administrators to disable Azure cloud regions on the appliance server. You can use this capability to disable certain classified regions. Once disabled, the region will not be available when adding a new Azure provider.

  1. Click config gear Settings > Application Settings.

  2. Click on the Settings accordion, then click Infrastructure Automation: Region at the top. Optionally, a server can be selected (within Zones) to limit the disabled region to that server only.

  3. Click the zone where the Infrastructure Automation server is located, then click on the EVM server.

  4. Click on the Advanced tab.

  5. Search for :ems_azure:, and enter the regions you want to disable under :disabled_regions:.

    Example. To disable the `us-gov-arizona` and `us-gov-texas` regions:
    
    :ems_azure:
      :disabled_regions:
      - us-gov-arizona
      - us-gov-texas
    
  6. Click Save.