This section describes how to onboard an Azure CSP account and its customers
1. Create public cloud regions
Create public cloud regions for Azure. For more details see Create a public cloud region.
2. Create a reseller scope
To use an Azure reseller (CSP) account, create a reseller scope for your reseller enterprise.
To create a reseller scope:
For the Name, we recommend that you use the Reseller name + Scope, for example,
ResellerScope
For the Parent scope select the
Global scope
or no scopeFor Entities, select your public cloud regions.
For full details, see Create a reseller scope
3. Create a reseller enterprise
You will need a reseller enterprise to manage the reseller credentials for your customers.
Create a reseller enterprise
For the Default scope select the reseller scope, for example,
ResellerScope
Select the Reseller checkbox
If the reseller will use a different mail server to the cloud platform, enter the details of the Mail server
For Datacenters, select the datacenters and public cloud regions that the reseller will use
For full details see Create a reseller enterprise
4. Add Azure reseller credentials and properties
In Azure, you can use reseller credentials (CSP credentials).
Do the steps at: Obtain Azure ARM pricing credentials for CSP
In Abiquo, edit the reseller enterprise
For Credentials → Pricing, add the Azure CSP pricing credentials.
API key:
csp#tenantId#clientId#accessToken#refreshToken
API secret key: the password for the application
For Properties, to use Azure billing, enter the billing enterprise properties in the reseller enterprise. The default values are as follows:
azurecompute-arm_discount = 0
azurecompute-arm_currency_code = USD
billing.azure.country_code = US
azurecompute-arm_price_factor = 1 (deprecated in Abiquo 6.1)
For Abiquo 6.1 and above, go to Pricing → Price factors and create a price factor for the reseller enterprise. See Manage price factors.
5. Create a reseller customer scope
You can create a tenant hierarchy with a reseller scope at the top level and the customers below that. To create customers of your reseller, for each customer, create a customer scope and set the reseller scope as the parent scope.
To create a reseller customer scope:
Go to Users → Scopes and click the + add button or select and edit an existing scope
For the Name, we recommend that you use the customer name and
Scope
, for example,Customer1Scope
For the Parent scope, select the reseller scope, for example,
ResellerScope
.For the Entities, select the public cloud region/s.
6. Create a customer enterprise
For each customer of the CSP, create a key node enterprise with the customer scope.
To create a customer enterprise:
Go to Users view and at the bottom of the Enterprises list, click the + add button
For the Default scope, select the customer scope, for example,
Customer1Scope
Select the Key node checkbox to support
Office365 customers
Multiple Azure subscriptions (Plans)
Other sub-tenants (e.g. AWS partner accounts)
For Properties, add tenant metadata as required. This may include account IDs and discounts. You can also push this metadata to VM variables but do not use confidential data.
7. Create customer subtenants
For each customer, for each Azure Plan subscription create a standard enterprise to use the subscription for compute features or displaying billing information.
To create a subtenant enterprise:
Create a standard enterprise (not a key node)
For the Default scope, select the
Customer1Scope
To give the customer access to compute and billing features:
Create an app in the customer’s Active Directory.
Edit the standard enterprise, and go to Credentials → Public
Add the credentials for the Azure plan in the format
Subscription#AppID#TenantID
Go to Properties and add
azurecompute-arm_only_bill_subscription
and set the value totrue
OR
To give the customer access billing features only (including dashboard display, and billing of Office 365):
Edit the standard enterprise, and go to Credentials → Public
For the Access key ID, enter the customer’s Azure plan details in this format:
Subscription##TenantID
For the Secret access key, enter any value
Select Only for billing
Click Add account to save the credentials. The platform will not validate the account details until it retrieves billing data from the provider
Go to Properties and add
azurecompute-arm_only_bill_subscription
and set the value totrue
Click Save