Skip to main content

overview

Directories in Compute Instances

When using server instances, different storage disks have varying purposes and characteristics. Understanding the usage and performance of these disks can help allocate resources efficiently and improve productivity. Below is a detailed explanation of the different storage disks and how to use them.

To check disk usage within the instance, execute the following command in the terminal:
source /root/.bashrc

NamePathSizePerformanceTypeDescription
System DiskRoot directory / and all paths under it (excluding special paths listed below)30GBHighHigh-performance local storageData will not be lost when the instance is shut down. System dependencies and Python packages are typically installed on the system disk, and small-capacity data, such as code, can also be stored here. You can choose to save the existing environment and data as an image when the instance is shut down, allowing the data to be restored on the next startup.
Data DiskCustomizable, recommended to set as /root/dataStarting from 50GBStandardShared storageCan be mounted across different compute instances.
File StorageUser-defined mount paths in StorageCustomStandardShared storageCan be mounted across different compute instances.