Setting Up Bill Data
Billing Centers use costs from Bill Data to enable an accurate view of costs across accounts and services. Supported Clouds include AWS, Azure, and GCP. To connect your Bill Data to RightScale, follow the instructions here.
Additionally, since Bill Data is utilized, any tags configured in the Billing Center Allocation Rules must be native cloud tags (not RightScale tags) and must be present in the cloud bill. When using tag-based allocation, some vendor require additional configuration:
- AWS - Configure User-Defined Allocation Tags
- Azure - No additional configuration is required. All tags exist in data sources.
- GCE - Tag-based allocation is currently not supported.
Accessing Billing Centers
Users with the billing_center_viewer role will have read-only access to View Billing Centers within the Organization for which the role has been granted.
As with all RightScale roles, the Billing Center roles can be granted to users or groups from within RightScale Governance.
Users with these roles can view Billing Centers within Cloud Analytics by selecting Billing from the left navigation pane.
Managing Billing Centers
View existing Billing Centers
All configured Billing Centers can be seen from the Billing view of Cloud Anlytics. From here, users can select an existing Billing Center to review cost data or setup alerts & reports. By default, the current month is shown starting on the 3rd of the month (on the 1st/2nd we show prior month). You can change the month using the month switcher in the filter bar.
Create a new Billing Center
Users with the appropriate access can create new billing centers by first clicking on the New Billing Center button from the home page and following the steps in the wizard. Users can create any number of Billing Centers within each organization.
Enter a Billing Center Title and optionally add a Billing Center description.
Cloud Accounts and Tags can be configured for any specific Billing Center via Allocation Rules
Edit a Billing Center
A Billing Center's name and description can be edited by navigating to the Billing Center.
Delete a Billing Center
Users with the appropriate access can click on the Delete ... button in the top-right corner of the Billing Center screen.
Users are presented with a confirmation screen before the Billing Center is deleted. Once a Billing Center has been deleted, allocated costs that are not picked up by any of the remaining Allocation Rules are reallocated to the Unallocated Billing Center.
Scheduled Reports and Budget Alerts
Allocation Rules are a prioritized list that costs are matched against, and then properly allocated to a corresponding Billing Center. Each Allocation Rule specifies a tag (key=value) or Cloud Account number(s), and a target Billing Center. Allocation Rules exist at the RightScale Organization level and are applied to all Billing Centers within the Organization. Multiple Allocation Rules can be applied to the same Billing Center.
Allocation Rules are applied in ascending numerical order. It is possible that a single cost could match multiple rules (ie. a Server that matches a Cloud Account Rule and a Cloud Tag Rule); in these cases, the first processed rule (lower numbered) will take priority.
Creating Allocation Rules
Allocation Rules can be created by selecting the Allocation Rules header in Billing Centers and clicking Create New Rule.
Cloud Tag Rules
When creating a new Cloud Tag Rule, users will be presented with a Rule Definition string textbox to provide a tag key-value pair. Any number of
* can be used as a wildcard value in either of the tag fields. For example:
env=Prod*. After defining the tag rule, supply a Billing Center from the dropdown list to which costs should be allocated.
Cloud Account Rules
When creating a new Cloud Account Rule, users will be presented with a Choose Cloud Accounts button to specify which Cloud Accounts to include in the new Allocation Rule. After selecting the Cloud Account(s), select a Billing Center from the dropdown list to which costs should be allocated.
Editing Allocation Rules
An Allocation Rule can be edited by clicking the pencil icon next to the target rule. A pop-up window will present the same fields that were set when the rule was created. Edit the Rule Definition (Cloud Tag or Cloud Accounts) and/or the associated Billing Center and click Update Rule.
When Allocation Rules are updated, ALL historical costs are re-allocated based on the new Allocation Rules. This process may take several minutes to finish and display correctly on the dashboard.
Deleting Allocation Rules
An Allocation Rule can be deleted by clicking the trash can icon next to the target rule. A pop-up window will ask for confirmation prior to deletion.