EC2 Instance Storage Flashcards
What does EBS standfor?
Elastic Block Store
How many EC2 instances can an EBS volume be mounted to at one time?
One
Are EBS volumes global or availability zone bounded?
Availability zone
What attribute determines what will happen to an EBS volume attached to an EC2 instance once it is deleted?
Delete on termination attribute (default ON root, OFF other)
How can you make a backup of an EBS volume?
Use snapshots (they can be used to move EBS volumes between az’s/regions)
What feature can make storing EBS snapshots cheaper?
EBS Snapshot Archive
What happens if you accidently delete a snapshot?
Check the recycle bin for EBS snapshots
What is an AMI?
Amazon Machine Image are a customization of EC2 with preinstalled software and configuration
Are AMI’s build for global, specific regions, or specific az’s?
Specific regions
Is EBS a physical or network drive?
Network drive
Is EC2 Instance Store a physical or network drive?
Physical
Justify when you would pick an EBS volume over and EC2 instance store?
- Cheaper
- Can be configured to not be deleted when EC2 instance is deleted
- Can be disconnected and attached to other EC2 instances
Justify when you would pick an EC2 instance store over an EBS volume?
- Need high performance (like for a short term cache)
- Don’t care that storage will be lost of EC2 instance is deleted
Describe the gp2/gp3 EBS volume type
General purpose SSD volume with balanced price/performance
Describe the io1/io2 Block Express EBS volume type
High performance SSD volume for mission critical low latency high throughput workloads
Describe the st1 EBS volume type
Low cost HDD volume for frequently accessed throughput intensive workloads
Describe the sc1 EBS volume
Lowest cost HDD volume for infrequent access workloads
Which EBS volume types can be used for boot volumes (and which cant)?
Only gp2/gp3 and io1/io2 can be used. st1 and sc1 cannot be used
What is the difference between gp2 and gp3?
gp3 allows you to increase IOPS and throughput independently whereas gp2 have IOPS and throughput linked
What feature allows you to attach a volume to multiple EC2 instances in the same AZ and what family of storage is it applicable for? What is the maximum number of EC2 instances it can connect to?
EBS Multi-Attach is a feature the io1/io2 storage type and 16 is the maximum number of instances.
What is Amazon EFS?
A managed network file system that can mounted on many EC2 instances across multiple availability zones
What operating systems is EFS compatible with?
Linux
What are the two different performance modes for EFS?
- General purpose - Latency sensitive
- Max I/O - Higher latency higher throughput
What are the three different throughput modes for EFS
- Bursting - Throughput and storage linked
- Provisioned - Throughput and storage not linked
- Elastic - Automatically scales
What are the three different storage tiers for EFS and what can you configure to move data between the storage tiers?
You can configure lifecycle policies to move files between the 3 following storage tiers:
1. Standard - Frequently accessed files
2. Infrequent access (EFS-IA)
3. Archive - Rarely accessed data