Storage - Overview of EBS Flashcards
1
Q
What is Amazon Elastic Block Store (EBS)?
A
- EBS provides persistent and durable block level storage.
- It offers more flexibility in managing data compared to instance store volumes.
- EBS volumes are attached to EC2 instances and primarily used for rapidly changing data.
2
Q
How are EBS volumes connected to EC2 instances?
A
- EBS volumes are logically attached to EC2 instances.
- Only one EBS volume can be attached to a single EC2 instance.
- Multiple EBS volumes can be attached to a single instance.
3
Q
What happens to data stored on EBS volumes when instances are stopped or terminated?
A
- Data remains intact when instances are stopped, restarted, or terminated.
- EBS volumes enforce data persistence and can be backed up using snapshots.
- Snapshots are stored on Amazon S3 and can be used to recreate volumes if needed.
4
Q
What are the types of EBS volumes available?
A
- SSD (solid state drive) backed storage for smaller blocks and transactional workloads.
- HDD (hard disk drive) backed storage for higher throughput workloads and larger blocks.
- Different volume types provide varying performance factors based on size, IOPS, and throughput.
5
Q
How does EBS ensure data security?
A
- EBS offers data encryption for data at rest and in transit.
- Encryption is performed using AES-256 algorithm and is managed by AWS Key Management Service (KMS).
- Encrypted snapshots and volumes can be created and managed.
6
Q
How can EBS volumes be created and managed?
A
- EBS volumes can be created during EC2 instance launch or as standalone volumes.
- During launch, volume size, type, and termination options can be specified.
- Standalone volumes can be created and attached to EC2 instances within the same availability zone.
7
Q
Can EBS volumes be resized?
A
- Yes, EBS volumes can be resized elastically.
- Resizing can be done through the console, AWS CLI, or by creating a new volume from a snapshot with increased capacity.
8
Q
When is EBS not recommended for storage?
A
- EBS is not recommended for temporary storage or multi-instance storage access.
- For very high durability and availability, Amazon S3 or EFS is more suitable.