The CloudStack Billing service module allows you to bill for CloudStack usage. Configure the details for your CloudStack installation, as well as the individual prices for the resources, in order for Ubersmith to bill your clients. It is assumed that you are already using or have installed CloudStack.
In order to begin billing for this service, you need to configure Ubersmith. Once all the necessary pieces have been configured, any current or new service based on the service plan will be ready. The configuration steps are as follows:
In the Cloud API URL field, type your CloudStack API URL.
In the API Key field, type your CloudStack API key.
In the Secret Key field, type your CloudStack secret key.
In theRequest Timeoutfield, type your desired timeout in seconds. Using zero results in no timeout and is not recommended, because it can result in daily invoice runs being blocked if your host is unreachable.
In the Root disk pricing method field, select either Per fixed disk size or Per GB.
In the remaining pricing fields, enter your prices for each CloudStack service.
Click Save or Save & New.
Configuring the Service Plan
When you add a CloudStack billing service, it automatically pulls the billing and usage data.
In the Billing section, click Edit. The Edit Service page appears.
In the Post Renew field, select Yes.
Click Save.
In the Custom Fields section, click Edit. The Edit Service page appears.
In the CloudStack Billing section, enter the following: In the CloudStack Account ID field, enter your client’s CloudStack account ID. In the CloudStack Project ID field, enter your client’s CloudStack project ID.