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 nodes 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. |
Pay-as-you-go resources start billing once purchased regardless of whether they are deployed for services. We recommend that you delete unused pay-as-you-go resources to avoid unnecessary costs.
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.
NoteAll instances in a dedicated resource group share the system disk capacity. If the system disk capacity is insufficient, the instance that occupies the largest storage space is evicted. If you want an instance to read data from and write data to your on-premises disk, mount storage to the service.
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 nodes in a dedicated resource group
Purchase a node |
|
Renew a node (Applicable only to pay-as-you-go 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.
|
Delete a node from a dedicated resource group | Pay-as-you-go instance: 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. Subscription instance: For more information, see How to delete the nodes in a dedicated resource group that uses the subscription billing method? |
View the resource usage of a node | 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 node. |
Stop scheduling | If an instance is in the Running status, you can click Stop Scheduling in the Actions column to make the instance unschedulable. You can click Restart Scheduling to restore the instance to the running status. Note After you click Stop Scheduling, the services on the node still run normally. After you click Restart Scheduling, the nodes that are available in the resource group are scheduled for service deployment. |
Clear a node | After you click Clear Node, instances on the node will automatically stop and the nodes that are available in the resource group are scheduled for service redeployment. Important After you click Clear Node, the tasks running on the instance are terminated. Proceed with caution. |
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.