edit-icon download-icon

Resource groups

Last Updated: Nov 16, 2018

Overview

Resource groups are groups of EDAS resources, which can be ECS instances and SLB instances, but not VPCs.You can assign permissions to access resource groups to your sub-accounts, and each sub-account has the right to operate on all the resources in the specified group. You can assign permissions to access resource groups to your sub-accounts, and each sub-account has the right to operate on all the resources in the specified group.For more information on primary accounts and subaccounts, see EDAS account system.

Typical use cases

  • 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 subaccounts respectively for Departments A and B. Department A has a couple of ECS instances and Server Load Balancer instances for deploying user-related applications.
  • The company creates a resource group in EDAS, adds Department A’s ECS instances and Server Load Balancer instances to the resource group, and grants permissions for this resource group to Department A’s subaccount.
  • Department A can use its subaccount to operate on the resources in this resource group only.The resources for Department A and Department B do not conflict.

as shown below.

Resource group mgmt sample

Resource group operations

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

  1. Log on to the EDAS console.

  2. On the left-side navigation bar, choose Resources > Resource Groups.

  3. Select a region to view resource groups in the region as well as ECS instances and SLB instances in each group.

View resource groups

In the Instance List, you can view information about the resource groups, including resource group names, descriptions, ECS instances (intranet/Internet IP addresses), and Server Load Balancer instances.

Create a resource group

  1. Click Create Resource Group in the upper right corner on the Instances page.
  2. Enter the resource group name and description, and click OK.

Add an ECS instance to the resource group

  1. In the Instance List, click Bind ECS in the Actions field of the resource group you want to add an ECS instance to.
  2. In the Bind ECS dialog box, select the ECS instance to bind and click OK.

Add an SLB instance to the resource group

  1. In the Instance List, click Bind Server Load Balancer in the Actions field of the resource group you want to add a Server Load Balancer instance to.
  2. In the Bind Server Load Balancer dialog box, select the Server Load Balancer instance to bind and click OK.

Edit a resource group

  1. On the Instances page, click Edit in the Action column for the resource group you want to edit.
  2. In the Edit Resource Group dialog box, edit the resource group name and description, and then click OK.

Grant resource group permissions to a sub-account

  1. Log on to the EDAS console using the primary account.
  2. On the left-side menu bar of the console, choose Account Management > Sub-Accounts.
  3. Click Resource Group Permission in the Action column for the account to which you want to grant permissions.
  4. In the Resource Group Permission dialog box, select a resource group and click OK.

Delete a resource group

  1. On the left-side menu bar of the EDAS console, choose Resource Management > Resource Group.
  2. Click Delete in the Action column for the resource group you want to delete.
  3. Click OK in the confirmation dialog box.
Thank you! We've received your feedback.