EBS Flashcards
Can you have an EBS volume mounted in a different AZ than its instance?
No, they must be in same availability zone
Which volume types can you modify on the fly?
all except magnetic (standard)
Have an EC2 instance in one zone, want to create volume in different zone, how to do it
- snapshot the EC2 volume
- create volume from the snapshot
- Now can change the type of the volume and the AZ
- Can attach this volume to another EC2 instance
How to move an EBS volume to different AZ or region
to move an EBS volume from one AZ to another
create snapshot first
copy snapshot to new location
then create new volume in new AZ
How to move EC2 instance from one region to other
create snapshot
copy / move snapshot to new region
create image from snapshot (then can boot to new EC2 instance)
Use case for snapshots
snapshots for backups
Use case for images
images for creating new EC2 volumes
Volumes exist on?
EBS
EBS is what
a virtual hard disk
snapshots exist where?
on S3
What are snapshots?
point in time copy of volumes. Incremental snapshots mean only changed blocks are copied to S3
First step to creating snapshot of EBS volumes serving as root devices?
Stop the instance. Optional but ensures files are not changing
Can you create an AMI from Volumes and Snapshots?
Yes, from both
What 2 things can you change for EBS volumes on the fly?
Yes including size and storage type
Will volumes always been the same AZ as the EC2 instance?
yes