Resource groups provide you the ability to combine and filter resources in your cloud environment. Using resource groups, you can more precisely identify the sources of increases or decreases in cloud spend and align cost data to your larger business context.
Virtana Platform provides pre-created but undefined resource groups for Applications, Business Units, and Environments. You can define these resource groups by selecting which CSP accounts to include, as well as which tagged resources you want included in the group.
Tip
Tags used in GCP and AWS are discovered and pulled Into Virtana Platform. If you want to modify the tag list, you must do so in your CSP.
When you edit a resource group in Virtana Platform, you first select the scope. The scope reflects the specific accounts in any of your CSP environments that you want to be part of the group. You then choose from the tags that are available for the accounts you selected. Tags allow you to more precisely organize your data by various categories.
The scope for resource groups is based on accounts associated with billing data, not on the data sources configured in the cloud integrations. Accounts for each cloud provider are based on the following:
-
AWS: Master Payer Account and Linked Accounts. Linked Accounts include all linked accounts from the billing data, not just linked accounts configured in the cloud integration in Virtana.
-
GCP: Master Payer Account and Projects. Projects are discovered from the billing data.
Example 3. Example
Let's assume you want to assign some subset of your GCP and AWS resources to resource groups. You want one resource group that includes resources associated with applications in your GCP and AWS environments.
In your GCP and AWS accounts, tag names are used inconsistently. Applications might be tagged "App", "app", or "APP". The tag for business units might be "Business Unit", "BU", or "bu".
On the Create Resource Group page, you select the initial resources from your AWS and GCP accounts that you want included in the resource group. In this example, you select GCP Project A-1, Project A-2, and Project A-3. This is the initial scope of the group.
You then select the tags you want. Only tags assigned to resources in the accounts you selected will display in the list. You want to more precisely limit the resources in this resource group to any entity tagged as an application. So you select the primary label "App".
However, you know that some applications have been mislabeled using an "APP" tag. You want to be sure to capture those resources as well. So you click Add Rule and select the same accounts you selected for the previous scope. Then select the tag "APP". If data is not labeled "App", but is labeled "APP", it will still be included in the resource group.
Next, you add the AWS resources. You would select Add Rule and follow the same procedure as you did for GCP.
When you are finished selecting your GCP and AWS resources and tags, you can access the Results Preview tab to see a list of entities to be included in the resource group.
Edit a Pre-established Resource Group
On the Resource Groups page, under Policies>Resource Groups, is a list of pre-existing groups These groups are empty and need to be configured before data can display under Cost Details on the Overview page. You can access the policy configuration for these groups by selecting the name of the resource group.
Tip
You must initially configure the pre-existing resource groups for Application and Business Unit before cost data can display in these widgets on the Overview page. All other cost data should display automatically, without additional configuration.
The resource group list displays the following:
-
The name of the group
-
The number of entities associated with the group
-
The tags assigned to the group
You can use the Quick Filter to search for specific resource groups. Any part of a term will provide results and search is not case sensitive. So, for example, "app" and "ion" will both display the "Application" resource group. Search is applies to the content of all columns, so you can search by group name, entity count, or tag.
Configure Resource Group Page
You can open the Configure Resource Group flyout by clicking the name of any resource group. The configuration page has a tab for assigning rules and a tab for previewing the configuration results.
Entity Assignment Rules Tab
From this tab you can select the accounts to be included in the resource group. You can also assign tags to further limit the resources in the group. Only resources that are assigned the tags you select will be included in the group.
You can select one CSP and one tag for each rule, but you can include multiple accounts for each CSP. To include multiple CSPs or multiple tags, you can add additional rules.
Results Preview Tab
On this tab, you can preview the results of the configuration you selected. A table displays the name of each resource in the group, how many entities are included for each resource type, and which tags are associated with each resource.
Virtana Platform provides unconfigured resource groups that you can edit. To configure a group, you select the account resources to include in the group, and then select the tags related to those resources. By selecting tags, you narrow the content of the group to just the resources that associated with the tags you select. This gives you a way to more precisely identify the sources of increases or decreases in your cloud spend reports.
About This Task
After the groups are configured, the data associated with the groups will display on the Overview dashboard, under Cost Details.
Steps
-
Navigate to Settings>Policies>Resource Groups.
-
Click any resource group name in the list.
The Configure Resource Group page opens.
-
On the Entity Assignment Rules tab, select the scope for the resource group.
From the dropdown, select all of the CSP accounts you want included in the resource group.
Only one CSP can be included per "scope" field. To include additional CSP accounts, you can add another rule.
-
Select the tag that identifies the entities to be included as part of the resource group.
-
(Optional) Click Add Rule and select additional set(s) of accounts (scope) and desired tag.
-
Open the Results Preview tab to view the list of entities associated with the new resource group.
-
Verify that the correct resources and entity counts display as expected.
Related Topics
Comments
0 comments
Article is closed for comments.