Configuring the Azure provider instance

Configure the Azure provider instance to provide account information and to define templates that map your cluster's resource demands to Azure VMs.

Procedure

Follow these steps to configure the Azure configuration files, which can be found on the management host on which the HostFactory service runs at:

  • %HF_CONFDIR%\providers\azureinst\conf\ on Windows.
  • $HF_CONFDIR\providers/azureinst/conf/ on Linux®.

  1. Update the azureinstprov_config.json file to provide account information that enables your cluster to connect to Azure. For more information, see the azureprov_config.json reference.
  2. Update the azureinstprov_templates.json file to define host templates that specify, among others, the type of VM that must be provisioning and the maximum number of cloud VMs. For more information, see the azureprov_templates.json reference.

What to do next

  1. Ensure that Azure is enabled as the cloud provider for your cluster:
    1. In the hostProviderPlugins.json file, make sure that Azure is enabled in the enabled parameter. See hostProviderPlugins.json reference.
    2. In the hostProviders.json file, make sure that azureinst is enabled in the enabled parameter. See hostProviders.json reference.
    3. In the hostRequestors.json file, specify azureinst as a provider instance for the symAinst requestor instance in the providers parameter. See hostRequestors.json reference.
  2. Enable and configure the symAinst requestor instance. See Configuring the symAinst requestor instance for dynamic provisioning.