EBS Snapshots, restore, and fast snapshot restore Flashcards
What is an EBS snapshot?
It is a way to backup EBS volumes to S3
What happens when you take a snapshot of an EBS volume (in terms of resilience)?
The data becomes region resilient as it is stored in S3.
How can you migrate data from an EBS volume?
Creating a backup and then restoring the backup
Are EBS snapshots incremental or a full copy of the EBS volume?
Snapshots are incremental copies to S3.
Only the first backup is a FULL copy.
What is the difference between the first snapshot and the rest?
The first snapshot is a FULL copy.
Is the EBS performance affected when taking snapshots of the volume?
No, but it will take time in the background.
How do EBS snapshots behave if you delete an incremental snapshot?
It moves data to ensure subsequent snapshots will work properly
When creating an EBS volume, when can you expect to have full performance?
Since the creation.
What is a lazy restore?
When you restore a volume from a snapshot, you can’t achieve a full performance immediately, this is called lazy restore.
The data is transferred from S3 slowly in the background.
What happens when you try to read data that has not been restored yet? (lazy restore related)
When you read data that has not been restored yet, EBS will immediately fetch the data from S3 but you won’t be able to achieve the same level of performance as when you read directly from EBS
What is recommended to do when restoring an EBS volume before moving it to production environments?
To read the volume completely with tools like DD (in Linux). It forces the read of all the blocks of the volume so they are available.
What does Fast Snapshot Restore (FSR) do?
FSR allows for an immediate restoration.
Is there any limit of FSRs per region or AZ?
Yes, you can create 50 FSRs per region.
How does Fast Snapshot Restore work?
First, it needs to be enabled on the snapshot.
You pick to which AZ you want to do instant restores.
Each combination of Snapshot and AZ counts as one FSR.
What is the disadvantage of FSRs?
FSR is not free and can get expensive with lots of different snapshots - you can get the same result by reading the whole volume with DD.