概念 · 基于 CLF-C02
Choosing object, file or block
Pick object, file or block storage by who uses the data, how fast, and how much.
本课尚未翻译,暂以英文显示。
你在云从业者中已学过
- 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.
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
| Compare | Object | Block | File |
|---|---|---|---|
| Access | HTTP API, whole objects | Disk of one instance | NFS or SMB mount |
| Sharing | Any number of clients | One instance. io1 and io2 can Multi-Attach | Thousands of instances |
| Speed | About 100 ms to first byte | Sub-millisecond to low ms | About 1 ms reads |
| Size | No limit | Up to 64 TiB a volume | Grows and shrinks by itself |
| Scope | Regional | One AZ | Regional or One Zone |
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
| Compare | Object | Block | File |
|---|---|---|---|
| Access | HTTP API, whole objects | Disk of one instance | NFS or SMB mount |
| Sharing | Any number of clients | One instance. io1 and io2 can Multi-Attach | 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
| Compare | Object | Block | File |
|---|---|---|---|
| Speed | About 100 ms to first byte | Sub-millisecond to low ms | About 1 ms reads |
| Size | No limit | Up to 64 TiB a volume | Grows and shrinks by itself |
3 / 3
Scope
- Object
- Regional
- Block
- One AZ
- File
- Regional or One Zone
| Compare | Object | Block | File |
|---|---|---|---|
| Scope | Regional | One AZ | Regional or One Zone |
Work down the questions until one answer fits. Instance store is the choice for fast data you can lose.
是什么
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.
要记住
- 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.
要记住
- 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.
考试中
- “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.
别和这些弄混
Amazon Simple Storage Service (Amazon S3)S3 features for scale: consistency, object size, events, replication, access points and low latency.
Amazon Elastic Block Store (Amazon EBS)Pick the volume type by IOPS, throughput and cost. Resize, share and restore volumes in place.
Amazon Elastic File System (Amazon EFS)Choose throughput mode, storage class and access points, and know when EBS or FSx fits better.