EBS Volumes and Snapshots Flashcards
Why the volume is on the same AZ as the instance?
Due to low latency
Is it possible to change the Volume type for a root volume of an EC2 instance?
Yes
How to move an instance/volume from one AZ to another?
It is needed to create a snapshot, then create an AMI (preferably with hardware-assisted virtualisation (HVM) because it supports more instance types) and finally launch it on the target AZ
How to launch the same AMI in another region?
It is possible to use the Copy AMI feature
Where snapshots are stored?
S3
How snapshot works?
One full + multi incremental (only blocks that have changed are moved to S3)
What is instance store volume?
It is the ephemeral storage that comes with AMI of type Instance Store. The instances launched with this type can’t be stopped, only rebooted or terminated. If the underlying host fails, you will lose your data
How to encrypt an instance that is not encrypted?
Take a snapshot, copy and select encryption, create an AMI, and launch the new instance
What are the requirements for sharing snapshots?
They can be shared to public or AWS accounts, but they need to unencrypted