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.
Configuring the Service Plan
Access your CloudStack Service Plan Details page.
In the Add Service Wizard, create the basics of your CloudStack service.
Access the CloudStack Service Details page.
In the Usage Plan Rate Prooperties section, click
For the service plan, make sure Post-Renew under Pricing & Period Defaults is set to Yes.
When you add the CloudStack Billing Service Module, Ubersmith will create a Custom Data field for clients called 'CloudStack Account ID'. If you want to associate an Ubersmith client with an existing CloudStack client, update the Custom Client Data Field with their CloudStack Account ID.
Now, when you add a service to the client that has the CloudStack Billing module enabled, it will automatically pull the billing and usage data for that client. You can also click the 'View Details' link to see more details for the client's usage.