Table of Contents |
---|
...
Note |
---|
Changes to enterprise properties for AWS billing Abiquo 6.0.0
Abiquo 6.1.0
|
...
By default, the platform will retrieve billing data for the last two months. To change this value, on the Abiquo Server, edit the
abiquo.properties
file and add the following property with the number of months to retrieve:Code Block abiquo.enterprise.property.billing.monthoffset=2
By default, the platform will process all items in the CSV file, so the partner discount (
SppDiscount
) value can be visible on customer dashboards. To discard items from the CSV file, on the Remote Services server, edit theabiquo.properties
file and add the following property with any items to discard. For example:Code Block abiquo.ec2billing.parser.lineItemType.ignore=SppDiscount
...
Create an S3 bucket, for example,
costandusagebillingreport
Within the bucket, create a folder where AWS will store your reports. Give it the name of your report, for example
costandusagebillingreport
Note the billing bucket name, for example,
costandusagebillingreport
Create a new user, such as
programmaticbilling
to create the reportsAssign the
AmazonS3ReadOnlyAccess
policyActivate the IAM user's access to billing information. See https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/control-access-billing.html
Optionally configure legacy billing reports
Go to Billing → Billing preferences
Open the Detailed Billing Reports [Legacy] section
Select the option to Turn on the legacy Detailed Billing Reports feature to receive ongoing reports of your AWS charges
Click Configure and enter your S3 bucket details
Select all of the available reports including
Monthly report
Detailed billing reportCost allocation report
Detailed billing report with resources and tags
Click Save preferences
Configure Cost & Usage Reports
Go to Cost & Usage Reports
Enter the Report name, which you will need to enter in Abiquo later, then click Next
Click Configure and select the S3 bucket. Click Next, then select I have confirmed that this policy is correct.
By default, Amazon will put the reports in a folder with the name format "
/report-name/date-range/
". Note this as the value for the report amazon_bucket_prefix in Abiquo. Click NextReview your configuration and check that the following parameters are set:
bucket name
path (folder/subfolder)
time detail:
Hourly
GZ or ZIP format
The AWS account with credentials to use in Abiquo should have the permissions in the AWS permissions table below.
AWS permissions table
...
Type
...
Privileges
...
these permissions
Price list
...
: Full access
...
to All resources
S3
...
: Full
...
list
...
and read
...
access to Multiple resources
...
Configure
...
dashboard display in Abiquo
To configure billing dashboards in Abiquo for resellers, do these steps in Abiquo.
The Abiquo users should have the privileges to Display hybrid dashboard tab, View bills, and optionally to Display VM cost view widget (hybrid tab)
In Abiquo, edit Assign the privilege to
View bills
to your user rolesEdit the reseller enterprise and create the following enterprise properties in the AWS enterprise properties for resellers table below
AWS enterprise properties for resellers table
...
Property
...
Description
:
amazon_bucket
...
: bucket_name
amazon_bucket_region
...
: code for the AWS region
...
of the bucket
...
, such as
us-east-1
...
amazon_report_name
...
: amazon_bucket/amazon_bucket_prefix/amazon_report_name/file.csv
amazon_bucket_prefix
...
: amazon_bucket/ amazon_bucket_prefix /amazon_report_name/file.csv
amazon_billing_compress_
...
format
...
:
ZIP
orGZ
amazon
...
_
...
Default provider markup for customer enterprises with no value
This property is deprecated in Abiquo 6.1. The upgrade process will migrate the enterprise property to an Abiquo price factor. See Manage price factors
...
amazon_mpa
...
mpa: set to
dedicated
orno
to use blended costs
...
; if not present or
...
shared
...
, use unblended costs
amazon_discount
...
: as agreed with Amazon, such as
0.03
,0.02
...
_
Configure reseller customers in Abiquo
...
In Pricing view, create price factors for the reseller.
...
You can also create and apply price factors for customers.
...