Adding and managing a cost pool
Adding a cost pool
- In the TrueSight console, select
> Cloud Cost Control > Cost Pools.
- Click Add Cost Pool.
The Add Cost Pool page opens. By default, all the filters (by account, by tag, and by name) for selecting resources to be assigned to the cost pool are disabled.
These filters are cumulative. When you select multiple filters, the resources are filtered based on all of them (the AND criteria is applied).
You can disable the filter that you do not want to use.
Define filter criteria to assign resources to the cost pool
- To filter resources by account:
Click the
icon next to Filter by Account.
The filter is enabled as denoted by the
icon.
- Click Select Account.
Select the accounts from which you want to include the resources.
A single account entry is available for your on-premises resources.
- Click Apply.
- To filter resources by tag:
- Click the
icon next to Filter by Tag to enable it and then click Tag.
Select the tags based on which you want to include the resources.
When you select multiple tags...
Then they are applied on the resources with the...
within the same tag category
OR condition. So if a resource has even one of the tags applied, it will be selected.
from different tag categories
AND condition.
For example, consider the criteria in the following screenshot:
Based on the criteria, resources that have the following tags are selected: (VMware-compatible) AND (VMware OR HyperV) AND (Billing OR Procurement).- Click Apply.
- Click the
To filter resources based on the expression or string used in their names:
- Click the
icon next to Filter by Name to enable the filter.
In the Name matches expression field, type the exact name of the resource or use the following wildcard symbols to filter the resources:
Wildcard symbol
Description
*
Matches any one or more characters. For example, vm* matches any resource name that begins with "vm" and has at least one character, such as vmTest, vm1234.
?
Matches any single character. For example, testvm? matches any resource name that begins with "testvm" and has only one more character, such as testvm2, testvm5.
For example, as per the filter criteria in the screenshot, resources that meet ALL the following criteria (AND condition is applied) will be assigned to the cost pool CostCenter-123:
- Provisioned in one of these accounts: Worldwide Marketing, Microsoft Azure Enterprise, or in the On-premises infrastructure
- With the following tags: (VMware-compatible) AND (VMware OR HyperV) AND (Billing OR Procurement)
- With names that start with aus-, such as aus-123, aus-test.
- Click the
- Click Apply.
The refreshed page displays a quick summary of the cost resource condition that you specified and a preview of the resources that will be assigned to the cost pool based on the defined condition.
- To filter resources by account:
Modify the existing filter criteria or add more cost resources to the cost pool
- To modify the filter criteria, click
and, then repeat step 3.
- To add resources based on another set of filter criteria, click Add Cost Resources and, then repeat step 3.
You can view the tags that are applied to the resources, in the Preview table, click the resource name.
Repeat this step if you want to define additional cost resource conditions.
- To modify the filter criteria, click
Review the cost resources condition and verify the preview
The preview might take a few minutes to generate.
The Preview table displays details of the filtered resources such as the name, provider, cloud service, resource type, region, and associated account details.
Information: The resources that meet any one of the cost resource conditions are assigned to the cost pool.
For example, as per the definition in the following screenshot, resources that meet the cost resource condition 1 or cost resource condition 2 are assigned to the cost pool.- Click Save.
The Cost Pools page refreshes and displays the newly created cost pool. The cost pool name displays the suffix: (*) because its cost and usage data is not yet computed.
The Cost Estimation backend service is automatically triggered that computes the costs (historical, forecasted, and aggregated) and usage data for the cost pool. This computation process might take a few minutes to complete. Until then, the column values for the cost pool are empty and only the cost pool name is displayed on the page. You can view the status of the Cost Estimation service from the Backend Services page. For more information, see Viewing backend services.
Editing a cost pool
- In the TrueSight console, select
> Cloud Cost Control > Cost Pools.
The page displays a list of all the cost pools. - Click
next to the name of the cost pool that you want to modify and select Edit.
The Edit Cost Pool page opens that displays the conditions in the cost pool. Modify the existing filter criteria or add more cost resources to the cost pool
- To modify the filter criteria, click
and, then repeat step 3.
- To add resources based on another set of filter criteria, click Add Cost Resources and, then repeat step 3.
You can view the tags that are applied to the resources, in the Preview table, click the resource name.
Repeat this step if you want to define additional cost resource conditions.
- To modify the filter criteria, click
- Review the cost resource conditions and verify the preview.
- Click Save.
The cost pool is updated. The Cost Pools page is displayed.
The Cost Estimation service is automatically triggered that recomputes the costs (historical, forecasted, and aggregated) and usage data for the cost pool based on the new criteria that you specified. This computation process might take a few minutes to complete. Until then, the column values for the cost pool display the original values.
You can view the status of the Cost Estimation service from the Backend Services page. For more information, see Viewing backend services.
Deleting a cost pool
- In the TrueSight console, select
> Cloud Cost Control > Cost Pools.
The page displays a list of all the cost pools. - Click
next to the name of the cost pool that you want to modify and select Delete.|
The cost pool is deleted.
You can edit or delete a cost pool from its details page (Cost Pool Details page) as well.