To work with Azure ARM compute in Abiquo, you'll need to add credentials to your Abiquo enterprise.
First create an Azure Subscription. Note that you may require separate credentials for some groups of regions, for example, regions in China.
Then follow this guide, which describes how to obtain the details of the subscription and create an Application.
After you follow this guide, you'll have the following Azure attributes:
For optional pricing credentials, you may also have:
Abiquo provides these instructions as a guide only and we update them occasionally.
Abiquo recommends that customers follow the instructions of the cloud provider, for example, at the time of writing for Azure:
To obtain details of your Azure subscription, do the following steps.
Click on your subscription
If the subscription does not display, check that you have selected the correct directory. Click on the directory name in the top right corner. From here you can switch directory
Save the Subscription ID to enter in the Abiquo credentials.
If you purchased the subscription directly from Azure, you can also save the Offer ID for the pricing credentials.
To create an ARM application using the Azure Portal and obtain details of the application, do these steps.
To register the application, enter a Name, select the Supported account types, and enter a URL. The value of the URL will not be used, so it could be any URL. Click Register
Save the Application (client) ID and the Directory (tenant) ID, because you will need to configure them in Abiquo. Then click Certificates & secrets
To configure the password for the application, click New client secret, which will open the Add a client secret section. Enter a Description and an Expiry duration, then click Add
The Azure portal will display the password ONCE ONLY. You must use this password in Abiquo, so make sure to save it, because Azure will not display it again.
Go to the Subscriptions menu, select the subscription you want to associate the application with, and add a new permission for it with these steps.
Select Access control (IAM)
In the dialog, select the Contributor role, and in the Select box, enter the name of the application. Then click Save
Before you begin, your administrator must configure Abiquo to use the appropriate Azure ARM regions.
To connect Abiquo to your Azure ARM account, add the Azure ARM credentials obtained in the above step to Abiquo.
To do this, edit the Enterprise credentials and enter the credentials for the Azure ARM provider in the following format:
This means you should enter the Subscription ID, Application ID and Tenant ID, as a single string and separate each element with a '#'. For example:
For Azure, the format of the pricing credentials identity for standard Azure accounts is as follows.
The text string "normal#" indicates a standard account. We recommend that you specify the "normal#" text string, even though it is the default option.
The Offer-Durable-ID is the Offer ID from the Azure portal. See Display Azure billing data for billing dashboard instructions.
For CSP accounts, the main tenant should add the pricing credentials in the following format:
The customer tenants do not need to add pricing credentials. The platform will use the CSP credentials for the customer tenants in the hierarchy.