概念
Object, block and file storage
Three ways to store data: as whole objects, as blocks on a disk, or as files in shared folders.
本课尚未翻译,暂以英文显示。
Data is kept as
- Object storage
- Objects: the data, its metadata and a unique key
- Block storage
- Fixed-size blocks on a volume
- File storage
- Files in a tree of folders
You reach it
- Object storage
- With web requests, from anywhere
- Block storage
- As a disk attached to one server
- File storage
- As a shared folder, from many servers at once
Good for
- Object storage
- Backups, media, logs, data lakes and static websites
- Block storage
- Operating systems, databases and other low-latency work
- File storage
- Shared content, home folders and applications that expect a file system
On AWS
- Object storage
S3
- Block storage
EBSAmazon EC2 instance store
| 比较项 | Object storage | Block storage | File storage |
|---|---|---|---|
| Data is kept as | Objects: the data, its metadata and a unique key | Fixed-size blocks on a volume | Files in a tree of folders |
| You reach it | With web requests, from anywhere | As a disk attached to one server | As a shared folder, from many servers at once |
| Good for | Backups, media, logs, data lakes and static websites | Operating systems, databases and other low-latency work | Shared content, home folders and applications that expect a file system |
| On AWS |
1 / 3
Data is kept as
- Object storage
- Objects: the data, its metadata and a unique key
- Block storage
- Fixed-size blocks on a volume
- File storage
- Files in a tree of folders
You reach it
- Object storage
- With web requests, from anywhere
- Block storage
- As a disk attached to one server
- File storage
- As a shared folder, from many servers at once
| 比较项 | Object storage | Block storage | File storage |
|---|---|---|---|
| Data is kept as | Objects: the data, its metadata and a unique key | Fixed-size blocks on a volume | Files in a tree of folders |
| You reach it | With web requests, from anywhere | As a disk attached to one server | As a shared folder, from many servers at once |
2 / 3
Good for
- Object storage
- Backups, media, logs, data lakes and static websites
- Block storage
- Operating systems, databases and other low-latency work
- File storage
- Shared content, home folders and applications that expect a file system
| 比较项 | Object storage | Block storage | File storage |
|---|---|---|---|
| Good for | Backups, media, logs, data lakes and static websites | Operating systems, databases and other low-latency work | Shared content, home folders and applications that expect a file system |
3 / 3
On AWS
- Object storage
S3
- Block storage
EBSAmazon EC2 instance store
| 比较项 | Object storage | Block storage | File storage |
|---|---|---|---|
| On AWS |
是什么
Storage on AWS comes in three types. They differ in how data is organized and how applications reach it. Object storage keeps each piece of data as an object: the data, its metadata (information about the data) and a unique key. Applications read and write whole objects with web requests, from anywhere, and there is no practical limit to how much you can store. Amazon Simple Storage Service (Amazon S3) is object storage.
是什么
Block storage splits data into fixed-size blocks on a volume that works like a hard drive for one server. An operating system or a database can change a few blocks at a time, quickly. Amazon Elastic Block Store (Amazon EBS) and the instance store of Amazon Elastic Compute Cloud (Amazon EC2) are block storage.
File storage keeps data as files in folders. Many servers can open the same files at once over the network, like a shared drive in an office. Amazon Elastic File System (Amazon EFS) and Amazon FSx are file storage.
要记住
- Object: whole objects with keys, reached with web requests from anywhere. Amazon S3.
- Block: a disk for one server, quick to change in small pieces. Amazon EBS and instance store.
- File: shared folders that many servers use at the same time. Amazon EFS and Amazon FSx.
- To change an object, you upload a new copy of the whole object. A block volume rewrites only the blocks that changed.
要记住
- AWS Storage Gateway gives on-premises servers file, block and tape access to storage in AWS.
考试中
- “Store an unlimited number of images, videos or backups, reached over the internet” points to object storage: Amazon S3.
- “A boot volume or a database disk for an EC2 instance” points to block storage: Amazon EBS.
- “A file system that many EC2 instances share at the same time” points to file storage: Amazon EFS, or Amazon FSx for Windows workloads.