All Products
Search
Document Center

API Gateway:Resource groups

Last Updated:Jan 25, 2025

Resource groups are used to group your resources by usage, permission, and region. You can use resource groups to organize your resources in a hierarchical manner, and group resources based on users and projects. Each cloud resource can belong to a single resource group. The correlation among resources does not change after they are added to resource groups. This topic describes how to manage and configure resource groups and how to filter gateways by resource group.

Usage notes

  • A resource group can contain cloud resources from different regions. For example, Resource Group A can contain instances from the China (Beijing) and China (Hangzhou) regions.

  • Resource groups inherit the global permissions of their associated Resource Access Management (RAM) users. If you authorize a RAM user to manage all Alibaba Cloud resources, all resource groups of the Alibaba Cloud account to which the RAM user belongs also appear in the resource group information of the RAM user.

Manage a resource group

For more information about how to add, delete, modify, and view resource groups, see Manage resource groups.

Configure a resource group

Configure when you create the resource group

  1. Log on to the Cloud-native API Gateway console.

  2. In the left-side navigation pane, click Instance. In the top navigation bar, select a region.

  3. On the Instance page, click Create Instance.

  4. On the buy page, configure the parameters and select a destination resource group based on your business requirements. Confirm the information and click Buy Now.

    Note

    If you do not select a resource group, the instance belongs to the default resource group.

    image

Configure when you create a domain name

  1. Log on to the Cloud-native API Gateway console.

  2. In the left-side navigation pane, click Domain Name. In the top navigation bar, select a region.

  3. Click Add Domain Name. In the Add Domain Name panel, set the parameters, select a resource group in the Advanced Configurations section, and then click Create.

    image

Configure when you create an API

  1. Log on to the Cloud-native API Gateway console.

  2. In the left-side navigation pane, click API. In the top navigation bar, select a region.

  3. Click Create API. In the Create API dialog box, click Create in the card of the desired API type. In the panel that appears, set the parameters, select a resource group in the Advanced Configurations section, and then click OK.

    HTTP API

    image

    REST API

    image

    WebSocket API

    image

Filter gateway instances by resource group

  1. Log on to the Cloud-native API Gateway console.

  2. In the left-side navigation pane, click Instance. In the top navigation bar, select a region.

  3. In the top navigation bar, select All Resources from the drop-down list next to the region drop-down list to view the gateway instances that belong to the resource group.