EBS Flashcards
What is HA of an EBS Volume?
EBS automatically replicated within an AZ
What is the scalability of EBS?
You can change types or increase capacity with no downtime and no performance impact
What is the use case for gp2 and gp3?
Boot volume, test and development, no latency sensitive requirement. Installing an OS
What is the IOPS max for gp2? gp3?
16000 iops
What is the use case for io1/io2?
Need high performance, latency sensitive, database workloads, OLTP, expensive, greater than 16k iops needed
What is the iops for io1/io2?
64000 iops per volume
What is the use case for st1?
low cost to store lots data, frequently accessed, throughput intensive, for big data, etl, data warehouse, log processing?
What should you think when you hear big data, etl, data warehouse, log processing?
Throughput, not iops
What restriction does st1 have?
It can’t be a boot volume?
What is the use case for sc1?
Need lowest cost option, infrequently scanned data, performance not a factor
What restriction does sc1 have?
Can’t be a boot volume
Where is the EBS volume location in realtion to the EC2 instance?
It is in the same AZ
How do you share a snapshot?
Snapshots can be shared in the same region but outside region need to create a copy of the snapshot in that region.
How do you take a consistent snapshot?
You stop the ec2 instance first
How would you move an ebs volume to a different region?
Take a snapshot of the ebs volume. Copy snapshot to another region. You can encrypt snapshot if it is unencrypted.
How would you move an ec2 instance to a different region? **
Take snapshot of ebs, copy snapshot to other region, create an ami of the snapshot and launch.
How would you encrypt an unencrypted ebs volume?
Copy the snapshot of the unencrypted ebs volume, and then launch an new instance using an ami of the new snapshot
What happens to encryption if you take a snapshot of an encrypted volume?
The snapshot will be encrypted and all volumes made from the snapshot are encrypted
What does end to end encryption mean for an ebs volume?
Snaphots are encrypted. data is encrypted at rest and in flight between instance and volume
What happens by default to the root volume if an instance is terminated?
The root volume is terminated
What is ec2 hibernation? On Hibernation? On Startup?
Instance has contents of RAM saved to disk. On startup processes are resumed, RAM is reloaded from disk, instance retains its instance id, prev attached volumes are reattached.
Does EC2 hibernation instances keep their instance id?
Yes they keep their instance id
Why use EC2 hibernation?
Makes booting up your instance faster
What is the size restrictions for RAM in EC2 Hibernation? How long can hibernation be?
150 GB RAM max and 60 days