Discover why Amazon Elastic Block Store (EBS) is the recommended storage service for databases attached to Amazon EC2 instances. Learn about EBS features and benefits.
Table of Contents
Question
Which storage service is recommended if a customer needs a storage layer for a database attached to an Amazon EC2 instance?
A. Amazon Elastic Block Store (Amazon EBS)
B. Amazon S3 Glacier Flexible Retrieval
C. Amazon Elastic File System (Amazon EFS)
D. Amazon S3
Answer
A. Amazon Elastic Block Store (Amazon EBS)
Explanation
Amazon EBS is durable, block-level storage that was designed for Amazon EC2. Amazon EBS is a good choice for database storage attached to a compute instance.
A. Amazon Elastic Block Store (Amazon EBS) is the recommended storage service if a customer needs a storage layer for a database attached to an Amazon EC2 instance.
Amazon EBS provides block-level storage volumes that can be attached to EC2 instances. It offers low-latency, consistent, and durable storage that is well-suited for databases. EBS volumes can be easily provisioned, resized, and backed up using snapshots.
EBS supports various volume types optimized for different workloads:
- General Purpose SSD (gp2 and gp3) for cost-effective, high-performance storage
- Provisioned IOPS SSD (io1 and io2) for mission-critical, I/O-intensive workloads
- Throughput Optimized HDD (st1) for frequently accessed, throughput-intensive workloads
- Cold HDD (sc1) for less frequently accessed data
With EBS, data is automatically replicated within an Availability Zone for high durability and availability. Multi-Attach feature allows simultaneous access to an EBS Provisioned IOPS volume from multiple EC2 instances for clustered databases and applications.
In summary, Amazon EBS provides the low-latency, high-performance, secure, and scalable block storage needed for running databases on EC2 instances, making it the ideal choice for this use case.
The other options are less suitable:
- Amazon EFS is a file storage service, not optimized for database workloads
- Amazon S3 and S3 Glacier are object storage services, not suitable as a low-latency database storage layer
Getting Started with Storage EDSTORv1EN-US assessment question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Getting Started with Storage EDSTORv1EN-US assessment and earn Getting Started with Storage EDSTORv1EN-US badge.