Block Storage Vs File Storage Vs Object Storage

Pasted image 20230906174022.png

Block storage (fastest performance, highest cost, medium scalibility)

Controlling the actual block in HDD or SSD. Give you the low-level control and is very fast

Use case

  • Database
  • High performance application

Example: AWS EBS

File storage (medium to high performance, highest cost, high scalability)

Abstract layer on top of block storage. to manage file

Use case

  • General purposes

Example: AWS EFS

Object storage (Low Cost, Low-medium performance, highly scalable, non-mutable)

Use cold data for archival storage.

Use case

  • Archive
  • Store big files

Example: S3

[!note]
Object storage can store at a much better capacity because it's a flat file storage system where object just float around everywhere. Using file storage there is a limitation of the file storage structure.

Block storage is too low-level and it might not be optimised