100 Days of AWS: Day 20: Block vs. File vs. Object Storage Compared.
Welcome to Day 21! In order to complete our Core Storage week, we are posing an inquiry that will bring us to the core of the issue, namely, what is the basic difference between the main forms of storage? This is one of the things to understand in selecting the appropriate service each time.
The Question
An application requires a boot volume to install its operating system and database. The storage must behave like a raw, traditional hard drive that can be attached to a single EC2 instance.
Which AWS storage service provides this "block storage" functionality?
The Correct Answer
The right solution is (B) Amazon EBS (Elastic Block Store).
Rationale Why It Is Right: The Digital Hard Drive.
The ideal block storage service in AWS is the Amazon EBS. It offers persistent volumes which can be added to EC2 instances.
It is defined this way with regard to block storage:
Blocks It is a physical storage medium, where data is stored in fixed-size blocks using a physical hard disk drive (HDD) or solid-state drive (SSD).
OS Control: This storage can be formatted and accessed as a file system by the operating system on the EC2 instance (such as NTFS in Windows and ext4 in Linux).
Primary Use Case: Since it acts like a local drive, it is the only option available with regard to boot volume of an instance and it is best suited to transactional databases, which need low-latency access.
The analysis of the Incorrect Options.
(A) Amazon S3: This is an object storage service. It stores complete file objects (data, metadata, key) in a flat namespace (a bucket). S3 can not be installed with an operating system.
(C) Amazon EFS: This is a file storage service. It shows a classic file and folder structure and is meant to be a shared network drive (NAS) in most of the cases. Although it has a file system, it cannot boot off of it.
(D) AWS Backup: This is a type of managed backup, and not a primary type of storage. It assists in the process of automating and controlling the backups of your resources (such as EBS volumes and EFS file systems), but does not offer the storage in place on an EC2 instance.
| Service | Storage Type | Main Use Case | Analogy |
| EBS | Block | Boot volumes, databases | A personal hard drive |
| EFS | File | Shared content, web serving | A shared network drive |
| S3 | Object | Backups, static files, data lakes | An infinite file cabinet |
Website Article (SEO)
- Amazon VPC (Virtual Private Cloud)
- AWS Networking
- Virtual Network
- Cloud Networking
- Network Isolation
- Subnets
- Route Tables
- Internet Gateway
- CIDR Block
- VPC Security
- AWS Security Group
- "what is a vpc in aws"
- "how to create a vpc in aws"
- "aws vpc for beginners"
- "benefits of using a vpc"
- "securing aws resources with a vpc"
0 Comments