EC2 Instance Storage Flashcards
(125 cards)
What is an EBS
Elastic Block Store
EBS Volume is a network drive you can attach to your EC2 instance while they run
What does an EBS allow?
For instance data to persist after termination
In how many instances can EBS volumes be attached at the same time?
Only one
Are EBS bound to specific AZ?
Yes
EBS Analogy?
Network USB stick
Why is there latency for an EBS volume?
Because it is a network drive
Benefit of using an EBS volume and many EC2 instances?
Can detach & attach quickly to different EC2
Downside of EBS in regard to AZ?
They are locked to 1 AZ at a time.
If you want to move it to another AZ you need to snap shot it and use the snap shot
How do you get billed for EBS volumes?
Provisioned Capacity (size in GBs & IOPS)
Can increase capacity over time
EBS and different EC2
Cannot attach 1 EBS to 2 instances at a time but can attach 2 EBS to 1 instance.
Do EBS have to be attached?
No, they can remain unattached
Delete on Termination attribute
Root volume is deleted by default when EC2 is terminated.
Any other EBS (other than root) is not
EBS Snapshot
Backup at point in time
Can you copy snapshots across AZ or Regions?
Yes
How do you transfer an EBS volume from one AZ or Region to another?
Snapshot it first
What is EBS Snapshot Archive?
You archive your snapshot (tier) and it is 75% cheaper
How long does EBS Snapshot Archive take to restore?
24 to 72 hours
What is Recycle Bin for EBS Snapshots
Rule to retain deleted snapshots for recovering them later
How long can you retain EBS Snapshots in Recycle Bin?
1 day to 1 year
What is Fast Snapshot Restore (FSR)
Force full initialisation of snapshot to have no latency on first use ($$$)
When do you use Fast Snapshot Restore (FSR)?
If your snapshot it big and it takes time to initialise
What does AMI mean?
Amazon Machine Image
What is an AMI?
Customisation of an EC2 instance
What can you control with AMI?
OS, config, monitoring