...
This diagram shows a reseller hiearchy hierarchy to manage Azure CSP or AWS organization accounts and their customers. The documentation below describes how to create this hierarchy.
Mermaid | ||||||
---|---|---|---|---|---|---|
| ||||||
{"diagramDefinition":"flowchart LR\nA(Reseller<br/>enterprise)\nB(ACustomer<br/>key node<br/>enterprise)\nB-->C(AStandard<br/>enterprise 1)\nB-->D(AStandard<br/>enterprise 2)\nC-.-F(ASubscription1)\nD-.-E(ASubscription2)\nG-.-H(BSubscription2BSubscription1)\nA-.-P(Reseller<br/>Pricing<br/>credential)\nG(BCustomer<br/>key node<br/>enterprise)\nsubgraph ResellerScope\n A\n P\nend\nsubgraph BCustomerScope\n G \n H\nend\n\nsubgraph Reseller hierarchy\n direction LR\n ResellerScope-->ACustomerScope\n ResellerScope-->BCustomerScope\nend\nsubgraph GlobalScope\nend\nGlobalScope-->ResellerScope\n\nsubgraph ACustomerScope\n direction LR\n B\n C\n D\n E\n F\nend\n style GlobalScope fill:#ec9032,stroke:#666,stroke-width:2px,color:#fff\n style A fill:#ec9032,stroke:#666,stroke-width:2px,color:#fff\n style P fill:#ec9032,stroke:#666,stroke-width:2px,color:#fff,stroke-dasharray: 5 5\n style B fill:#ec9032,stroke:#666,stroke-width:2px,color:#fff\n style C fill:#ec9032,stroke:#666,stroke-width:2px,color:#fff\n style D fill:#ec9032,stroke:#666,stroke-width:2px,color:#fff\n style F fill:#ec9032,stroke:#666,stroke-width:2px,color:#fff,stroke-dasharray: 5 5\n style E fill:#ec9032,stroke:#666,stroke-width:2px,color:#fff,stroke-dasharray: 5 5"} |
...
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.
...
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
...
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
...