All Products
Search
Document Center

Platform For AI:Overview of EAS resource groups

Last Updated:Nov 03, 2023

Elastic Algorithm Service (EAS) allows you to divide cluster resources into different resource groups for isolation. When you create a model service, you can choose to deploy the model service in the public resource group provided by the system or a dedicated resource group created by you.

Comparison of the public resource group and dedicated resource groups

Resource group type

Billing method

Feature

Public resource group

Pay-as-you-go. For more information about the billing rules, see Billing of EAS.

  • Public computing resources. You do not need to purchase computing resources separately. Public computing resources can be shared. However, resource supply is not guaranteed during peak hours.

  • Provides CPU resources.

  • Provides GPU resources, including A10, P4, P100, T4, and V100.

  • Supports Internet connections, Virtual Private Cloud (VPC) connections, and VPC direct connections.

Dedicated resource group

Subscription and pay-as-you-go. For more information about the billing rules, see Billing of EAS.

  • Dedicated computing resources that are isolated by groups to reinforce data security.

  • Provides CPU resources.

  • Provides GPU resources, including A10, P4, P100, T4, and V100.

  • Supports Internet connections, VPC connections, and VPC direct connections.

Procedures for using the public resource group and dedicated resource groups

The following table compares the procedures for using different types of resource groups. For more information about the scenarios and usage notes, see Work with the public resource group and Work with dedicated resource groups.

Resource group type

Visualized interaction: Console and Designer

Command-line interaction: CMD and Data Science Workshop (DSW)

Public resource group

  1. Prepare and configure resources

    After you activate EAS, the system automatically creates a public resource group by default. No manual configuration is required.

  2. Deploy services

    Select the public resource group when you deploy a service. For more information, see Model service deployment by using the PAI console.

  3. Configure networks

    You can use Internet connections, VPC connections, or VPC direct connections. To use VPC direct connections, you need to turn the switch in the console. For more information, see Configure network connectivity.

  4. Activate Log Service

    Go to the Log Service page and configure Log Service.

  1. Prepare and configure resources

    After you activate EAS, the system automatically creates a public resource group by default. No manual configuration is required.

  2. Deploy services

    If you do not specify the resource field in the JSON file when you deploy a service, the service uses the public resource group. You can specify Node Resource (including the instance, CPU, and memory fields below metadata) or Node Type (including the cloud.computing fields) when you configure resources for service deployment.

  3. Configure networks

    You can use Internet connections, VPC connections, or VPC direct connections. To enable the VPC direct connection feature, you need to specify the cloud.networking fields in the JSON file. For more information, see Configure network connectivity.

  4. Activate Log Service

    Go to the Log Service page and configure Log Service.

Dedicated resource group

  1. Prepare and configure resources

    On the Resource Groups tab of the EAS-Online Model Services page, create a dedicated resource group. For more information, see Work with dedicated resource groups.

  2. Deploy services

    Select the dedicated resource group that you created when you deploy a service. For more information, see Model service deployment by using the PAI console.

  3. Configure networks

    You can use Internet connections, VPC connections, or VPC direct connections. Go to the details page of the dedicated resource group and turn on VPC Direct Connection to enable the VPC direct connection feature. For more information, see Configure network connectivity.

  4. Activate Log Service

    Go to the details page of the dedicated resource group and turn on Configure SLS.

  1. Prepare and configure resources

    On the Resource Groups tab of the EAS-Online Model Services page, create a dedicated resource group. For more information, see Work with dedicated resource groups.

  2. Deploy services

    Specify the resource field in the JSON file to use the dedicated resource group when you deploy a service.

  3. Configure networks

    You can use Internet connections, VPC connections, or VPC direct connections. Go to the details page of the dedicated resource group and turn on VPC Direct Connection to enable the VPC direct connection feature. For more information, see Configure network connectivity.

  4. Activate Log Service

    Go to the details page of the dedicated resource group and turn on Configure SLS.