EC2 Storage Flashcards
What does EBS stand for?
Elastic Block Store
What is an EBS Volume?
It is a network drive you can attach to your instance to persist data
Are EBS Volumes global?
No, they are AZ specific
What does IOPS stand for?
IO Operations Per Second
What happens to the EBS volume when the instance is terminated?
By default, the root EBS volume will be deleted. You can prevent that by disabling “Delete on Termination”. By default, any other attached volume is not deleted
How can I move an EBS volume from 1 AZ or Region to another?
You make a backup/snapshot of the volume, then copy the snapshot to a new AZ/Region
What does AMI stand for?
Amazon Machine Image
What is an AMI?
It is a customization of an EC2 instance
What are the 6 types of EBS Volumes?
- gp2 / gp3 (SSD) - General Purpose SSD
- io1 / io2 (SSD) - Highest Performance SSD
- st1 (HDD) - Low cost HDD
- sc1 (HDD) - Lowest cost HDD
What type of volumes can be used as root volumes?
Only gp2/gp3 and io1/io2
What are gp2/gp3 General Purpose SSD volumes best suited for?
Cost effective storage with low latency
What are io1/io2 Provisioned IOPS SSD volumes best suited for?
Critical business apps with sustained IOPS performance or apps that need more than 16,000 IOPS
What are st1 Throughput Optimized HDD volumes best suited for?
Big Data, Data Warehousing
What are sc1 Cold HDD volumes best suited for?
Infrequently accessed data and scenarios where low cost is important
Can I attach an EBS Volume to multiple instances?
Only if the instances are of the type io1/io2
What are the 4 benefits of encrypting an EBS volume?
- Data at rest is encrypted in the volume
- All data in flight between the volume and instance is encrypted
- All snapshots will be encrypted
- All volumes created from snapshots will be encrypted
How can I encrypt an unencrypted volume?
Create a backup/snapshot of the volume. Copy the volume and encrypt during the copy process
What does EFS stand for?
Elastic File System
What is EFS?
It is a managed network file system that can be mounted on many instances in multiple AZs
What are some good use cases for EFS?
Content Management, Web Serving, Data Sharing, Wordpress