Block-level storage is a concept in cloud-hosted data persistence where cloud services emulate the behaviour of a traditional block device, such as a physical hard drive. It is a form of network-attached storage (NAS).
Storage in such services is organised as blocks. This emulates the type of behaviour seen in traditional disks or tape storage through storage virtualization. Blocks are identified by an arbitrary and assigned identifier by which they may be stored and retrieved, but this has no obvious meaning in terms of files or documents. A filesystem must be applied on top of the block-level storage to map 'files' onto a sequence of blocks.
Block-level storage is in contrast to an object store or 'bucket store', such as Amazon S3 (Simple Storage Service), or to a database. These operate at a higher level of abstraction and are able to work with entities such as files, documents, images, videos or database records.
Instance stores are another form of cloud-hosted block-level storage. These are provided as part of an 'instance', such as an Amazon EC2 (Elastic Compute Cloud) service. As EC2 instances are primarily provided as compute resources, rather than storage resources, their storage is less robust. Their contents will be lost if the cloud instance is stopped. As these stores are part of the instance's virtual server they offer higher performance and bandwidth to the instance. They are best used for temporary storage such as caching or temporary files, with persistent storage held on a different type of server.
At one time, block-level storage was provided by storage area networks (SAN) and NAS provided file-level storage. With the shift from on-premises hosting to cloud services, this distinction has shifted. Even block-storage is now seen as distinct servers (thus NAS), rather than the previous array of bare discs.
- Wittig, Andreas; Wittig, Michael (2015). Amazon Web Services in Action. Manning Press. pp. 204–206. ISBN 978-1-61729-288-0.
- AWS in Action (2015), p. 205.
- AWS in Action (2015), pp. 216–217.
- AWS in Action (2015), pp. 210–211.
- Arun Taneja. "How an object store differs from file and block storage". TechTarget.com.
- AWS in Action (2015), pp. 212–214.
- AWS in Action (2015), p. 212.
- "What is File Level Storage vs. Block Level Storage?". Stonefly.