Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page describes how to create a customer tenant under a reseller in the cloud broker.

  1. To create a scope in the API, get public cloud regions and datacenters (as required)

    Tip

    API:


  2. Create the scope for the customer
    1. Go to Users → Scopes
    2. Click the + button

      1. Enter the Name, which will be the customer name
      2. As the Parent scope, select the BU scope
      3. In the Datacenters column, select the providers or regions as required

      Tip

      API: https://wiki.abiquo.com/api/latest/ScopesResource.html#create-a-scope


  3. Create the customer enterprise

    Tip

    General how-to: Create Tenants via API

    At the top of the Enterprises list, click the + button to add an enterprise

    On the General tab

    1. Enter the customer name
    2. As the Default scope, set the customer scope
    3. For the customer headquarters, select Key node
    Tip

    API: https://wiki.abiquo.com/api/latest/EnterprisesResource.html#create-an-enterprise


  4. On the Datacenters tab, drag and drop providers. For example, Amazon. Select and edit providers (or regions) and datacenters to set the default VDC role for each provider for the enterprise.

    Tip

    This is a separate request in the API. For each region or datacenter, create a datacenter limit.
    API: https://wiki.abiquo.com/api/latest/EnterpriseLimitsByDatacentersResource.html#create-a-datacenter-limit


  5. On the Properties tab, enter the appropriate properties for the customer type as described in the following tables
    1. For each property, enter a Key and Value, and click Add
    2. When you have finished editing the tenant, click Save

      Cloud provider reseller or CSP


      Customer of CSP and reseller

      Provider

      Property

      key

      Example valueUsed byProviderNotesOfferDurableID

      Description

      Azure

      CSP_

      ID_4caba317Billing dashboard
      Azure
      Must match the CSP tenant key value in the billing script configuration fileCSP_discount0.15CurrencyUSDLocaleen-USRegionInfoUSbilling_bucketreseller_4a7a3850Billing dashboardAmazonMust match the reseller tenant key value in the billing script configuration fileazurecompute-arm_discount0.2Price list synchronizationAzureThe value returned by the provider already has the discount appliedamazon_discount0Price list synchronizationAmazon

      Customer of reseller or CSP

      Property keyExample valueUsed byProviderNotesCSP_PriceFactor1Billing dashboardAzureAWS_PriceFactor1Billing dashboardAmazonAccount_idX123456789ABCResellerazurecompute-arm_price_factor1.25Price list synchronizationAzure

      amazon_price_factor

      1.17Price list synchronizationAmazon

      Standard customer

      Property keyExample valueUsed byProviderNotesOfferDurableIDMS-AZR-0003PBilling dashboardAzureCurrencyUSDLocaleen-USRegionInfoUSbilling_bucketprogrammaticbillingBilling dashboardAmazon

      PriceFactor

      For customer of CSP, used to calculate the user invoice

      Azure

      Azurecomputer-arm_price_factor

      For customer of CSP, used to calculate the user pricing. For retrieving hardware profile prices from the provider

      AWS

      AWS_PriceFactor

      Used to calculate the user invoice, for customer of reseller

      AWS

      amazon_price_factor

      For customer of reseller, used to calculate the user pricing. For retrieving hardware profile prices from the provider

      ALL

      Account_id

      Internal customer identifier


      Standard customer

      Provider

      Property

      Description

      Azure

      OfferDurableId

      For standard customer (not a CSP customer), use value from Azure account.

      Azure

      Currency

      For standard customer, default is USD

      Azure

      Locale

      For standard customer, default is en-US

      Azure

      RegionInfo

      For standard customer, default is “US”. Two digit ISO code representing the country where you purchased the subscription

      AWS

      billing_bucket

      Identify the bucket with the billing data files. For standard customer, use billing bucket name.

      ALL

      Account_id

      Internal customer identifier


      Tip

      This is a separate request in the API. When you update properties you will overwrite any existing properties
      API: https://wiki.abiquo.com/api/latest/EnterprisesResource.html#update-enterprise-properties


  6. Add the customer enterprise to the customer scope
    1. Go to Users → Scopes --> select the scope
    2. Click the pencil button to edit
    3. Select the customer enterprise in the Enterprises list

      Tip

      API: https://wiki.abiquo.com/api/latest/ScopesResource.html#update-a-scope
      Add a basic link to the scope with a "rel" value of "ENTERPRISE".


  7. Create a pricing template
    1. Go to Pricing → Pricing models
    2. Click + and enter details

      Tip

      API: https://wiki.abiquo.com/api/latest/PricingTemplatesResource.html#create-a-pricing-template


  8. API step Get the enterprise
  9. Assign the pricing model to the enterprise. 
    1. Go to Pricing → Enterprise associations
    2. Select the pricing model
    3. Find the enterprise in the list and select the pricing model from the pull-down list beside the enterprise name

    Tip

    API: https://wiki.abiquo.com/api/latest/EnterprisesResource.html#upate-an-enterprise
    Update the enterprise to add a link to the pricing model with a "rel" value of "pricingtemplate".


  10. Create a customer administrator user
    1. Go to Users → Select enterprise → Users
    2. Click the + button to add a user
      (Note the screenshot does not show the enterprise filter)
    3. On the General tab, select the following values
      1. Role: CUSTOMER_ADMIN
      2. Scope: Customer scope (enterprise scope)

      Tip

      API: https://wiki.abiquo.com/api/latest/UsersResource.html#create-a-user-in-an-enterprise


...