ladderlore
  • Type a service name, like S3 or IAM.

Concept · Builds on CLF-C02

Choosing object, file or block

Pick object, file or block storage by who uses the data, how fast, and how much.

You know from Cloud Practitioner

  • Object storage keeps whole objects with keys: Amazon S3.
  • Block storage is a disk for one server: Amazon EBS and the instance store.
  • File storage is a shared folder over NFS or SMB: Amazon EFS and Amazon FSx.
Read the Cloud Practitioner lesson
  • Access

    Object
    HTTP API, whole objects
    Block
    Disk of one instance
    File
    NFS or SMB mount
  • Sharing

    Object
    Any number of clients
    Block
    One instance. io1 and io2 can Multi-Attach
    File
    Thousands of instances
  • Speed

    Object
    About 100 ms to first byte
    Block
    Sub-millisecond to low ms
    File
    About 1 ms reads
  • Size

    Object
    No limit
    Block
    Up to 64 TiB a volume
    File
    Grows and shrinks by itself
  • Scope

    Object
    Regional
    Block
    One AZ
    File
    Regional or One Zone
The three types compared on the points that decide scenarios.

1 / 3

  • Access

    Object
    HTTP API, whole objects
    Block
    Disk of one instance
    File
    NFS or SMB mount
  • Sharing

    Object
    Any number of clients
    Block
    One instance. io1 and io2 can Multi-Attach
    File
    Thousands of instances

2 / 3

  • Speed

    Object
    About 100 ms to first byte
    Block
    Sub-millisecond to low ms
    File
    About 1 ms reads
  • Size

    Object
    No limit
    Block
    Up to 64 TiB a volume
    File
    Grows and shrinks by itself

3 / 3

  • Scope

    Object
    Regional
    Block
    One AZ
    File
    Regional or One Zone
The three types compared on the points that decide scenarios.
On-premises app?
Storage Gateway
Windows or HPC files?
FSx
Linux servers share files?
EFS
A disk for one server?
EBSS3yesnoyesnoyesnoyesno
Work down the questions until one answer fits. Instance store is the choice for fast data you can lose.

Work down the questions until one answer fits. Instance store is the choice for fast data you can lose.

What it is

SAA questions describe a workload and ask which storage fits. Start with who reads the data: one server, many servers, or applications anywhere over HTTP. Then check the speed and size the workload needs.

Object storage has no size limit, but it is not a file system and a first byte takes about 100 ms. Block storage is the fastest for one server, but a volume lives in one Availability Zone. File storage is shared and works like a normal folder, at a higher price per GB than S3.

Remember

  • Many servers need the same files: file storage. Amazon EFS for Linux, Amazon FSx for Windows or HPC.
  • One database server needs the lowest latency and the most IOPS: block storage. Use instance store only for data you can lose.
  • Unlimited size, web access and the lowest cost per GB: object storage, Amazon S3.

Remember

  • On-premises applications that cannot call the S3 API: AWS Storage Gateway.
  • An EBS volume is tied to one AZ. S3 and a Regional EFS file system span the AZs of a Region.

On the exam

  • “Shared file system for Linux web servers in several AZs” points to Amazon EFS.
  • “Windows file shares with Active Directory” points to Amazon FSx for Windows File Server.
  • “Database that needs sub-millisecond latency and very high IOPS” points to an EBS Provisioned IOPS volume.
  • “Temporary cache on the fastest local disk” points to the instance store.