Section 6: EC2 Instance Storage Flashcards
What is an EBS Volume?
It is a network drive you can attach to your instances while they run
True or False
Will the data in an EBS volume be lost when the instance it is attached to is terminated?
False
Once the an EBS volume has been attached to an instance, the data would be still available after the instance termination if the delete on termination option is not selected.
Can an EBS volume be attached to only one instance at a time?
No, some EBS Volume have the “multi-attach” feature.
What is the limitation of EBS volumes in terms of availability zone?
EBS volume are bound to an specific availability zone.
What is an AMI
AMI stands for Amazon Machine Image and it is a customization of an EC2 instance.
What are the characteristics of an EC2 instance store
- They are a High-Performance hardware disk
- Once the EC2 instance is stopped, the instance store will be lost
- Good for buffer, cache
- Risk of losing data if there is any issues with an EC2 instance
What are the different types of EBS volumes?
- General Purpose (SSD)
- Provisioned IOPS (SSD)
- Throughput Optimized (HDD)
- Cold HDD
Which family of EBS volumes support multi-attach?
io1/io2 family
What is a use-case for EBS multi-attach?
High-Availability Database Clusters: EBS Multi-Attach can be used to provide high-availability for database clusters, such as Amazon RDS. By allowing multiple EC2 instances to attach to the same EBS volume, you can ensure that your database remains available even if one or more EC2 instances fail.
How many instances can a multi-attach EBS volume be attached to at once?
16
Which family of EBS volume can be used as a boot volume?
gp2, gp3, oi1, oi2 Block Express
What kind of EBS volume would be better for data that is not frequently accessed?
Cold HDD Volume
What does EFS stand for?
Elastic File System
Main characteristics of EFS
- Need a security group to gain access to EFS
- Only compatible with Linux based AMI
- File system scales automatically (pay-per-use)
What are the types of Storage Tiers for EFS?
- Standard: For frequently accessed files
- Infrequent access (EFS - IA): Cost to retrieve files, lower price to store. It can be enabled with a Lifecycle Policy.