Local disks are the disks attached to the physical servers (host machines) on which ECS instances are hosted. They are designed for business scenarios requiring high storage I/O performance. Local disks provide local storage and access for instances, and feature low latency, high random IOPS, high throughput, and cost-effective performance.
Because a local disk is attached to a single physical server, the data reliability depends on the reliability of the physical server, which may create single points of failure in your architecture. We recommend that you implement data redundancy at the application layer to guarantee data availability.
This document details information about local disks and instances that support local disks. If you are using a previous generation local SSD disk, see local SSD disks in the previous generation disks.
Currently, Alibaba Cloud provides two types of local disks:
Local NVMe SSD: This disk is used together with instances of the following type families: i2, i1, and gn5. The instance type families i1 and i2 apply to the following scenarios:
- Online games, e-businesses, livestreaming, and other industries that provide online businesses and have low latency and high I/O performance requirements on block level storage for I/O-intensive applications.
- Business scenarios that have high requirements on the storage I/O performance and availability of the application layer, such as NoSQL non-relational databases, MPP data warehouses, and distributed file systems.
Local SATA HDD: This disk is used together with instances of the d1ne and d1 type families. It is applicable to businesses that require big data computing and storage analysis for massive data storage and offline computing business scenarios. It fully meets the needs of distributed computing business models (such as those built on the Hadoop framework) across instance storage performance, capacity, and intranet bandwidth.
Performance of local NVMe SSD
The following table lists the performance of local NVMe SSD of an i1 ECS instance.
|Parameters||Local NVMe SSD|
Single disk: 1,456 GiB
Total: 2,912 GiB
Single disk: 240,000
Read throughput per disk: 2 GBps
Total read throughput: 4 GBps
Write throughput per disk: 1.2 GBps
Total write throughput: 2.4 GBps
|Single-disk performance *||Write performance:
* Single disk performance calculations are as follows:
- Write IOPS for a single local NVMe SSD: 165 IOPS for each GiB, up to 240,000 IOPS.
- Write throughput for a single local NVMe SSD: 0.85 MBps for each GiB, up to 1,200 Mbit/s.
Performance of local SATA HDD
The following table lists the performance of local SATA HDD of a d1ne or d1 ECS instance.
|Parameters||Local SATA HDD|
Single disk: 5,500 GiB
Total capacity per instance: 154,000 GiB
Single disk: 190 MBps
Total throughput per instance: 5,320 MBps
A local disk has the same lifecycle as the instance that it is attached to. This means that:
- You can create a local disk only when creating an instance that has local storage. The capacity of a local disk is determined by the ECS instance type. You cannot increase or decrease it.
- When the instance is released, the local disk is released with it.
The following table details how operations on an instance that has local storage affect the state of the data on the local disk.
|Operation||State of the data on the local disk||Result|
|Restart within the operating system/restart or force restart in the ECS console||Retained||Both the storage volumes and data on the local disk are retained.|
|Shutdown within the operating system/stop or force stop in the ECS console||Retained||Both the storage volumes and data on the local disk are retained.|
|Release in the ECS console||Erased||The storage volumes on the local disk are erased and the data on it is not retained.|
|Downtime migration||Erased||The storage volumes on the local disk are erased and the data on it is not retained.|
|Out-of-service (before the computing resources of an instance is released)||Retained||Both the storage volumes and data on the local disk are retained.|
|Out-of-service (after the computing resources of an instance is released)||Erased||The storage volumes on the local disk are erased and the data on it is not retained.|
If your ECS instance is attached with local disks, you must connect to the instance to format the disk. Unlike cloud disks, you cannot perform the following operations on local disks:
- Independently create an empty local disk or create a local disk from a snapshot.
- Attach a local disk in the ECS console.
- Detach and release a local disk.
- Increase the size of a local disk.
- Re-initialize a local disk.
- Create a snapshot for a local disk and use the snapshot to roll back the local disk.