Storage Flashcards
Main difference between EBS and Instance Store
EBS is persistent storage, Instance Store is deleted on stop of an instance
What are EBS Volumes bound to?
A specific AZ
How are EBS Volumes connected to EC2 Instances?
Through the Network
What is an advantage that makes EBS Volumes flexible?
Since EBS Volumes are Network Drives. They can be dettached from an instance and attached to a different one
What is a big limiation of EBS Volumes?
If it’s created in sa-east-1a, it can’t be attached to an EC2 instance in sa-east-1b. (Though you can snapshot a volume to move it)
If you create a 30GB EBS Volume, what are you billed?
The 30GBs
Can you extend the size of an EBS Volume?
Yes
Which of these 2 are bound to a specific AZ: EC2 Instances or EBS Volumes?
BOTH
What defines if an ebs volume is deleted when an instance is terminated?
If you enable the option “Delete on termination” for the ebs volume
how is an instances ebs volume configured by default? And how are additional ebs volumes configured?
root ebs has “delete on termination” enabled by default, other ebs volumes have this option disabled by default.
Where are Snapshots stored?
S3
is there a way to move an EBS volume from one AZ to another AZ?
Yes. There is a way to migrate an EBS Volume to a different AZ. It’s with a snapshot. (Snapshots can be moved between AZs)
What are snapshots in AWS?
A backup in s3
How can we move an EBS Volume to a different AZ?
You can take a snapshot of a volume, then restore it to a new EBS Volume. With the option “Create Volume from snapshot”. Finally you can choose any az from the current region for the destination of the new volume.
What does EBS Mean?
Elastic Block Store
How can you make a snapshot storage cheaper?
Move it to an archive tier that is available for snapshots
How cheaper is the cost of a snapshot moved to an archive tier?
75% cheaper
What is the disadvantage of moving a snapshot backup to an archive storage tier?
It takes longer to restore. From 24 up to 72hs
How can you protect EBS Snapshots from accidental deletion?
Set up the recycle bin for EBS Snapshots
How long are deleted snapshots retained by the recycle bin?
Depends on the configuration. Minimum is 1 day, maximum is 1 year.
What is FSR?
Fast Snapshot Restore: It gives you very lower latency to the i/o operations for the blocks when first accessed, on the first initialiation of a restored snapshot.
This option is enabled by snapshot
What is FSR useful for?
When you need to restore a very big snapshot and you need extra performance so this process has to be done very quickly.
Can we move an EBS Volume to a different region?
Yes. You can take a snapshot of it and then copy the snapshot to a different region. Finally restore the snapshot to a new volume in this new region.
What is AMI?
Amazon Machine Image. Basically a EC2 Instance customization for deploying EC2 instances. Like a “Template”. But templates are a different thing in EC2 and aws.