edit-icon download-icon

Resource groups

Last Updated: Feb 01, 2019

Overview

Resource groups are groups of EDAS resources, which can be ECS instances, SLB instances or clusters, but not VPCs.You can use a primary account to purchase and group resources and assign appropriate permissions for the resource groups to sub-accounts for application O&M. You can assign permissions to access resource groups to your sub-accounts. Each sub-account has the right to operate on all the resources in the specified group.For more information about primary accounts and sub-accounts, see EDAS account system.

Typical scenarios

  • A company uses EDAS to create business applications.Department A is responsible for user-related applications and Department B for goods-related ones.
  • The company registers for an EDAS account (the primary account) to activate EDAS and creates two sub-accounts for Departments A and B. Department A has a several ECS instances and SLB instances for deploying user-related applications.
  • The company creates a resource group in EDAS, adds Department A’s ECS instances and SLB instances to the resource group, and grants permissions for this resource group to Department A’s sub-account.
  • Department A can use its sub-account to operate on the resources in this resource group only.The resources for Department A and Department B are not conflicted.

This is shown in the following figure:

Resource group mgmt sample

Resource group operations

Resource group operations are performed in the EDAS console. Follow the procedure discussed below to go to the Resource Groups page.

  1. Log on to the EDAS console.

  2. In the left-side navigation pane, choose Resource Management > Resource Groups.

  3. On the Resource Groups page, select a region to view the resource groups in the region and the ECS and SLB instances in each group.

View resource groups

On the Resource Groups page, you can view information about resource groups, including resource group names, descriptions, ECS instances (intranet/Internet IP addresses), and SLB instances, and clusters.

Create a resource group

  1. In the upper-right corner of the Resource Groups page, click Create Resource Group.
  2. In the Create Resource Group dialog box, enter Resource Group Name and Resource Group Description and click OK.

Add ECS instances to the resource group

  1. In the resource group list, locate the row that contains the target resource group, and click Bind ECS in the Actions column.
  2. In the Bind ECS dialog box, select the target ECS instance and click OK.

Add an SLB instance to the resource group

  1. In the resource group list, locate the row that contains the target resource group, and click Bind SLB in the Actions column.
  2. In the Bind SLB dialog box, select the target SLB instance and click OK.

Edit a resource group

  1. In the resource group list, locate the row that contains the target resource group, and click Edit in the Actions column.
  2. In the Edit Resource Group dialog box, edit the resource group name and description and click OK.

Grant resource group permissions to a sub-account

  1. Log on to the EDAS console using the primary account.
  2. In the left-side navigation pane, choose Account Management > Sub-Accounts.
  3. Locate the row that contains the target account and click the Resource Group Permission button in the Actions column.
  4. In the Resource Group Permission dialog box, select a resource group and click OK.

Delete a resource group

  1. In the resource group list, locate the row that contains the target resource group, and click Delete in the Actions column.
  2. In the Delete Resource Group dialog box, click OK to confirm the deletion.
Thank you! We've received your feedback.