EC2 Basics Flashcards
What are the 5 types of EC2 instances?
General Purpose Memory Optimized Compute Optimized Accelerated Computing Storage Optimized
What is EBS?
Elastic Block Store. Persistent storage that can be attached and reattached to an EC2 instance in one availability zone.
Where do EBS Snapshots live?
S3
How do you attach an EBS instance in AZ A to an EC2 instance in AZ B?
Create a snapshot, restore in another A Z, then attach
What are the General Purpose SSD EBS volumes?
GP2 and GP3
What are the Provisioned IOPS SSD types?
io1 and io2
What are the HDD based volume types?
St1 and Sc2
Why might you want to use GP2 or GP3?
Medium IOPS intense applications. Default, not as costly as io1/io2.
Why might you want to use io1 or io2?
Very IOPS sensitive workloads
Why might you want to use St1?
Throughput optimized workloads when cost is a factor
Why might you want to use Sc1?
“Cold” storage. Data requires few scans. Cheaper than St1.
What is an Instance store volume?
Temporary instance store that is very high performance
When would you lose instance store?
instance move (host change), resize, hardware failure.
How do EBS volumes typically restore?
Lazily. Data only fetched when requested.
How does KMS generate DEKs for EBS snapshots?
Same DEK that is used to encrypt volume initially is used for snapshots