EC2 Instance Storage - Elastic Block Store (EBS) Volume Flashcards
What are the pros of using an EBS volume? List two
- Data is persisted even if an instance is terminated.
- They can be attached to another instance quickly and easily.
What is an EBS Volume?
An Elastic Block Store volume is a network drive you can attach to your instance while they run. Think of them as network USB stick.
True or False? EBS volumes can be transferred across different AZs.
False. They are bound to a specific AZ.
What are cons of using EBS volumes? List two
- Latency issues as they use the network to communicate to the instance.
- They are locked to a specific AZ. They can only be moved if you create a snapshot of it.
True or False? Both the root EBS volume as well as any attached volumes are not deleted on termination by default.
False. Although it’s true that any attached EBS volume is set to not be deleted on termination by default, the root volume is set to delete upon termination by default.
What is an EBS Snapshot?
It is a backup (snapshot) of your EBS volume at a point in time which allows you to copy the data over to another AZ or Region.
True or False? It isn’t necessary to detach the EBS volume before making the snapshot.
True. Although it is recommended to detach it first.
What is the EBS Snapshot Archive?
It allows you to move a snapshot to an “archive tier”
List one pro and con for EBS Snapshot Archive?
Pro: It makes storing the snapshot far cheaper (around 75%).
Con: It takes within 24 to 72 hours to restore the archived data.
List two things that can be configured fro the EBS Snapshot Recycle Bin?
- You can setup rules to retain deleted snapshots so they can be recovered after an accidental deletion.
- You can configure a retention policy (from 1 day to 1 year).
What is Fast Snapshot Restore (FSR)?
It allows you to force the full initialisation of a snapshot so it doesn’t have latency issues on the first use. However this is expensive.
List the 6 types of EBS Volumes?
gp2/gp3 (SSD): General purpose SSD volume that balances price and performance for a wide variety of workloads
io1/io2 Block Express (SSD): Highest performance SSD volume for mission critical low-latency or high-through-put workloads
st1 (HDD): Low cost Hard Disk Drive (HDD) volume designed for frequently accessed, throughput intensive workloads.
sc1 (HDD): Lowest cost HDD volume designed for less frequently accesse workloads.
What EBS Volume types can be used as a boot volume?
Only gp2/gp3 and io1/io2 Block Express can be used as boot volumes
What feature allows EBS volumes to be attached to multiple instances within an AZ? And what EBS Volume types allow this feature?
EBS Multi-Attach. Must be an io1/io2 EBS volume.
True or False? Each instance has full read and write permissions to the high performance multi-attach EBS volume?
True