Versions Compared

Key

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

Table of Contents

...

  1. Remove the cron jobs to run the billing scripts.

    Code Block
    # rm /etc/cron.d/abiquo-billing-ec2
    # rm /etc/cron.d/abiquo-billing-arm



Remove last bills

Delete the last bills from the previous version of the billing dashboards (from the billing_consolidation and billing_register tables).

...

  1. The upgrade will automatically rename this enterprise property and you must change it for resellers

    ProviderProperty nameNoteDescription
    AWS

    amazon_bucket

    (warning) Replaces billing_bucket
    (minus) Changed value for resellers

    Name of the S3 bucket where Amazon stores billing data.
    After the upgrade, for resellers, add the AWS billing bucket name.
    Note that you can copy this from the old configuration files.




  2. The upgrade will rename the following enterprise properties as described in the Note column.
    And you MUST now add them for all Azure subscriptions (they previously may have only been for standard or reseller accounts)   

    ProviderProperty nameNoteDescription
    Azureazurecompute-arm_currency_code(warning) Replaces Currency
    • Required for all Azure accounts
    • Three character currency code of the bill. Default is USD
    • WARNING! Different from currency_code used for conversion factor
    Azurebilling.azure.country_code(warning) Replaces RegionInfo
    • Two character country code of the bill.
    • Use to override the default set with abiquo.properties
    • Add to reseller accounts
    Azure

    azurecompute-arm_discount

    No change

    • Required for all Azure accounts
    • Provider discount value
    • Add to standard accounts
    • Can be set to 0 for standard accounts





  3. The upgrade will automatically rename the following enterprise properties and you shouldn't need to make any changes to them.

    ProviderProperty nameNoteDescription
    AWSamazon_report_name

    (warning) Replaces report_name

    Part of the path: amazon_bucket/amazon_bucket_prefix/amazon_report_name/file.csv

    AWSamazon_bucket_prefix(warning) Replaces report_prefix

    Part of the path: amazon_bucket/amazon_bucket_prefix/amazon_report_name/file.csv




     

  4. Add the following NEW enterprise properties as part of the upgrade process.

    ProviderProperty nameDescription
    AWS

    amazon_billing_compress_format

    For all Amazon accounts.
    Compression format for the billing reports.
    Values can be "ZIP" or "GZIP"
    Azureazurecompute-arm_only_bill_subscriptionOnly for enterprises with Azure plans under CSP subscriptions; NOT for resellers.
    Use it for enterprises that belong to a tenant with multiple subscriptions, to compute the cost of the usage of the subscription only.
    If the enterprise doesn’t have the property, it will compute usage + product cost
    Google

    dataset_id

    For all account types. The ID of the big query dataset where Google will store the billing data


     

  5. Remove the following enterprise properties that are deprecated as part of the upgrade

    ProviderProperty nameDescription
    AzureOfferDurableIDPreviously for CSP accounts, this was the ID of the customer in the configuration file
     




  6. To enable the platform to access the billing data in the provider.
    1. For each provider obtain pricing credentials. See Obtain public cloud credentials
    2. Edit the Enterprise and go to CredentialsPricing
    3. Add Pricing credentials.
    4. Note: When you add Pricing credentials to an enterprise with a pricing model, this will also activate price list synchronization to onboard hardware profile prices from Amazon and Azure.
      See See Import hardware profile prices.
       
  7. Remove the old billing dashboard modules and their configuration files. See /wiki/spaces/doc/pages/311371999
     

...