This page describes how to onboard an Azure CSP and/or an AWS organization account and its customers into the multicloud platform as part of a reseller hierarchy.
Abiquo reseller hierarchy
This diagram shows a reseller hiearchy to manage Azure CSP or AWS organization accounts and their customers. The documentation below describes how to create this hierarchy.
Prepare a reseller
To prepare a reseller in Abiquo:
Create public cloud regions for your public cloud providers. See Create a public cloud region
Go to Users → Scopes and Create a reseller scope:
Make the Name descriptive, for example,
ResellerNameScope
For the Parent scope select the
Global scope
(recommended) or no scopeFor Entities, select your public cloud regions.
Go to Users and Create a reseller enterprise:
For the Default scope select
ResellerNameScope
Select the Reseller checkbox
If the reseller will use its own mail server, enter the details of the Mail server
For Datacenters, select the datacenters and public cloud regions that the reseller and its customers will use, as in the scope.
Onboard an Azure CSP account
To an onboard Azure CSP account:
Do the steps to Obtain Azure ARM pricing credentials for CSP
To add the Azure credentials in Abiquo, edit the reseller enterprise
Go to Credentials → Pricing, and add the Azure CSP pricing credentials as follows
API key:
csp#tenantId#clientId#accessToken#refreshToken
API secret key: the password for the application
Go to Properties, and to use Azure billing, enter the https://abiquo.atlassian.net/wiki/spaces/doc/pages/311372059/Display+Azure+billing+data#Enterprise-properties-for-the-Azure-reseller . 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.
Onboard an AWS organization account
To onboard an AWS organization account:
Log in to the AWS management account.
Create a user with the security policy for AWS organization pricing
Edit the Abiquo reseller enterprise:
Go to Credentials → Pricing and add the user credentials
Go to Properties and https://abiquo.atlassian.net/wiki/spaces/doc/pages/311372049/Display+Amazon+billing+data#Configure-resellers-in-Abiquo
For Abiquo 6.1 and above, go to Pricing → Price factors and create a price factor for the reseller enterprise. See Manage price factors.
Prepare to onboard a customer
To prepare Abiquo to onboard a customer:
Create a customer scope:
Go to Users → Scopes and click the + add button (or edit an existing customer scope)
For the Name, we recommend that you include the customer name, for example,
CustomerScope
For the Parent scope, select the reseller scope, for example,
ResellerScope
.
For the Entities, select the datacenters and public cloud region/s.
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,
CustomerScope
Select the Key node checkbox to support Office365 customers, Multiple Azure subscriptions (Plans), and AWS organization accounts, and so on
For Properties, add tenant metadata as required
For each subscription in an Azure plan or AWS organization, create a standard enterprise:
Create a standard enterprise (not a key node)
For the Default scope, select the
CustomerScope
Onboard an Azure customer for billing only
To give a customer access to billing features only for their tenant (including dashboard display):
Under the reseller, edit the customer, key node (for Azure Plans and Office 365), or standard enterprise
Go to Credentials → Public
For the Access key ID, enter the customer’s
TenantID
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
Click Save
Onboard an Azure subscription for billing only
To give a customer access to billing features only for their subscription (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 subscription 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
Now you can Add the Microsoft products service to manage Customer users, office licenses and Azure plan subscriptions!
Onboard an Azure customer for compute and billing
To onboard an Azure customer, choose compute and billing features, or billing only.
To give a CSP customer access to compute and billing features:
https://abiquo.atlassian.net/wiki/spaces/doc/pages/311370762/Obtain+Azure+ARM+credentials#Create-an-ARM-application-using-Azure-portal in the customer’s Active Directory.
Edit the standard enterprise, and go to Credentials → Public
Add the credentials for customer in the format
Subscription#AppID#TenantID
Go to Properties and add
azurecompute-arm_only_bill_subscription
and set the value totrue
Now you can Add the Microsoft products service to manage Customer users, office licenses and Azure plan subscriptions!
Onboard an AWS customer
To onboard a customer of an AWS organization:
https://abiquo.atlassian.net/wiki/spaces/doc/pages/311361611/Abiquo+cloud+reseller+guide#Create-a-scope-for-a-reseller-customer under the reseller scope
https://abiquo.atlassian.net/wiki/spaces/doc/pages/311361611/Abiquo+cloud+reseller+guide#Create-a-reseller-customer in the customer scope
Create a standard enterprise in the customer scope
Log in to AWS and in the customer account, create a user
In Abiquo, edit the standard enterprise and add the credentials as public cloud credentials.
OR Add the account to the standard enterprise with public cloud credentials for billing only. See Add AWS and Azure credentials only for billing
Onboard an AWS organization into a key node
If your customer has an AWS organization account, you can onboard the organization into a key node hierarchy, by adding the pricing credential and accounts.
To onboard an AWS organization into a key node enterprise
Create a customer scope under the reseller scope
Create a key node enterprise in the customer scope
Do the steps in “Onboard an AWS Organization” section using the new organization, but add the credentials to the key node as pricing credentials (instead of adding the credentials to the reseller as pricing credentials)
To add an existing account in this organization:
Create a standard enterprise in the scope of the key node
Log in to AWS and in the customer account, and create a user.
In Abiquo, edit the standard enterprise and add the credentials as public cloud credentials.
OR Add the account to the standard enterprise as public cloud credentials for billing only. See Add AWS and Azure credentials only for billing
Run billing
You can now run billing for the reseller:
Edit the enterprise and go to Credentials → Pricing and click the right arrow button:
Or go to the Billing tab, select the provider, and click Regenerate billing.
You can try to run billing for the last 2 months to display it on the Abiquo dashboard
Or you can wait for the automatic billing process that will run every day. (You can Customize Abiquo billing dashboard processes and configure the billing run with an Abiquo property).
You can also set currency conversions for the billing dashboard. See Configure billing dashboard currency conversions .
Onboard VMs and resources
If the credentials have compute capabilities, and there are VMs for the subscription, you can capture the VMs to manage them with Abiquo by onboarding their virtual network or VPC to create a virtual datacenter in Abiquo. See Onboard from public cloud