EAS resource groups include dedicated and virtual resource groups. You can use dedicated resource groups to purchase and manage dedicated resources and use virtual resource groups to implement service deployment by using different resource types, including public resources, dedicated resources, and Lingjun resources.
Dedicated resource group
Resource types
Dedicated resources are classified into subscription and pay-as-you-go resources. The following table compares subscription and pay-as-you-go resources.
Type | Billing method | Resource group management | Supported resource type |
Subscription resources | Subscription | You can purchase an instance, renew a subscription instance, release a pay-as-you-go instance, and delete a resource group. For more information, see Manage instances in a dedicated resource group. | You can view the supported resource types on the EAS pre-payment for dedicated machine buy page. |
Pay-as-you-go resources | Pay-as-you-go | You can view the supported resource types on the EAS post-payment for dedicated machine buy page. |
Create a dedicated resource group
Log on to the PAI console. Select a region on the top of the page. Then, select the desired workspace and click Enter Elastic Algorithm Service (EAS).
On the Elastic Algorithm Service (EAS) page, click the Resource Group tab. On the Resource Group tab, choose Create Resource Group > Create Resource Group (Subscription) or Create Resource Group (Pay-as-you-go). On the page that appears, configure the following parameters.
Parameter
Description
Billing Method
Select Subscription or Pay-as-you-go.
Region and Zone
Select the region and zone where the resource group resides.
Node Type
Select an instance type. For information about the supported GPU and CPU instance types, see EAS pre-payment for dedicated machine or EAS post-payment for dedicated machine.
NoteThe valid values of the Node Type parameter vary based on the region that you select.
System Disk
Select a system disk capacity. Valid values for each instance: 200 to 2000. Unit: GB. Each instance has a free quota of 200 GB. You are charged for the storage capacity that exceeds the free quota. For more information, see Billing of EAS.
Billing Method
Select Create Resource Group or Existing Resource Group.
If you select Existing Resource Group, you must configure the Resource Group ID parameter.
Resource Group ID
Select a resource group ID from the drop-down list.
Quantity
Specify the number of instances that you want to purchase. Valid values: 1 to 9999.
Subscription Duration
Valid values: 1 Month, 2 Months, 3 Months, 6 Months, 1 Year, 2 Years, 3 Years, and 5 Years. This parameter is supported only for subscription resource groups.
Auto-renewal
Specify whether to enable auto-renewal for the resource group. This parameter is supported only for subscription resource groups.
Click Buy Now.
After you complete the payment, the system automatically allocates resources. You can view all created resource groups and modify the names of the resource groups on the Resource Group tab.
NoteFor subscription resource groups, if the system fails to create the resource group due to insufficient resources in the selected region, the system automatically issues a full refund.
Manage instances in a dedicated resource group
Purchase instances.
On the Resource Group tab, click the name of the desired resource group.
Click
and select Subscription Node or Pay-As-You-Go Node. For more information, see the Create a dedicated resource group section of this topic.
Renew the instances.
You can extend the subscription duration of a resource group. For example, if you renew a subscription resource group for one month, the subscription duration of the resource group is extended by one month.
On the Nodes tab of the details page of the dedicated resource group, find the desired instance, click the
icon in the Actions column, and then select Renew.
On the EAS pre-payment for dedicated machine | Renew page, configure Subscription Duration, select I have read and agree EAS pre-payment for dedicated machine Terms of Service, and click Buy Now. On the page that appears, click Subscribe.
To stop the scheduling of an instance that is in the Running state, find the instance and click Stop Scheduling or Clear Node in the Actions column. To resume the scheduling of an instance, find the instance and click Restart Scheduling in the Actions column.
To view the details of an instance, click the ID of the instance to go to the details page. On the details page, you can find the service instance that you want to manage and click Restart in the Actions column to restart the service instance. You can also click Logs to view the logs of the service instance.
Delete instances from a dedicated resource group
ImportantUnexpired subscription instances cannot be released. To release an unexpired subscription instance, contact your account manager.
On the Nodes tab of the details page of the dedicated resource group, find the instance that you want to delete, click Delete in the Actions column.
View resource usage of the instances
On the Resource Group tab, click the name of the dedicated resource group. Then, on the Nodes tab, view the usage of CPU, GPU, and Memory of each instance.
Virtual resource group
An EAS virtual resource group is a logical resource group consisting of multiple types of resources, including public resources, resource quotas, and EAS dedicated resources. This facilitates unified deployment and scheduling of services, enabling one service to be deployed by using different types of resources.
Create a virtual resource group
Log on to the PAI console. Select a region on the top of the page. Then, select the desired workspace and click Enter Elastic Algorithm Service (EAS).
On the Elastic Algorithm Service (EAS) page, click the Resource Group tab. On the Resource Group tab, click the Virtual Resource Group tab. On the Virtual Resource Group tab, click Create Virtual Resource Group. On the Create Virtual Resource Group page, configure the parameters. If you set the Resource Type parameter to Public Resource Group, you can select instance types that support the bidding feature. You can configure multiple resource types based on your business requirements. Take note that you must configure the priority for different resource types. The priority ranges from 1 to 9. A greater value indicates a higher priority.
Use a virtual resource group
During service deployment, select EAS Resource Group for Resource Type and select a virtual resource group from the Resource Group drop-down list in the Resource Information section.
References
For more information about model service deployment, see Parameters for custom deployment in the console.
You can enable virtual private cloud (VPC) direct connect for services deployed in a dedicated resource group. For more information, see Configure network connectivity.
You can configure log collection for a resource group. After the configuration is complete, the system collects the logs generated by EAS services that are deployed in the resource group and stores the logs in your Simple Log Service. For more information, see Configure log collection for a resource group.