All Products
Search
Document Center

Platform For AI:Increase the system disk capacity

Last Updated:Oct 24, 2023

Elastic Algorithm Service (EAS) of Machine Learning Platform for AI (PAI) allows you to increase the system disk capacity for an instance. This way, the EAS instance can pull images of larger sizes and cache more data in the system disk. This topic describes how to modify the system disk capacity for an instance in the public resource group or dedicated resource group.

Public resource group

Configure additional system disks in the console

In the Resource Deployment Information section of the Deploy Service page, click System Disk to add an additional system disk to the service that is deployed in the public resource group. For more information, see Model service deployment by using the PAI console and Machine Learning Designer.

Configure additional system disks on a client

PAI provides a free system disk capacity of 30 GB for each instance in the public resource group. If you require a larger system disk capacity, you can add "features" : {"eas.aliyun.com/extra-ephemeral-storage": "XXGB"} to the deployment configurations.

{
  "name": "your_service_name",
  "features": {
    "eas.aliyun.com/extra-ephemeral-storage": "40GB"
  }
  // other parameters
}

The features.eas.aliyun.com/extra-ephemeral-storage parameter specifies the additional memory size of the system disk. Unit: GB. Valid values: 0 to 2000. In this example, the parameter is set to 40 GB. The total available system disk capacity is calculated by using the following formula:

30 GB (free) + 40 GB (purchased) = 70 GB
Important

You can purchase an additional system disk capacity of up to 2,000 GB. If you set the features.eas.aliyun.com/extra-ephemeral-storage parameter to a value greater than 2000, the model service fails to be deployed.

For more information about other parameters, see Parameters of model services.

The additional system disk capacity is billed on a pay-as-you-go basis. For more information, see Billing of EAS.

Dedicated resource group

  • Increase the system disk capacity for an instance in a dedicated resource group

    PAI provides a free system disk capacity of 200 GB for each instance in the dedicated resource group. If you require a larger system disk capacity, you can modify the system disk capacity when you purchase an instance that belongs to the dedicated resource group. For more information about the billing of the extra system disk capacity, see Billing of EAS. For more information about how to purchase and use dedicated resource groups, see Work with dedicated resource groups.

  • Use the system disk capacity of a dedicated resource group

    All instances in the 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. For more information about how to mount part of the system disk as an emptyDir volume to an instance, see Mount an emptyDir volume.