EC2 Instance Storage Flashcards
What is an EBS Volume?
Network drive that can be attached to a single EC2 instance
How many instances can an EBS volume be mounted to in a given time frame?
One
How many availability zones can an EBS Volume be bound to?
One
What is an advantage of using EBS volumes?
Allows data to persist even after instance has been terminated
What is an EBS Snapshot?
EBS Volume backup
What is an advantage of using an EBS Snapshot?
Snapshots can be copied to different Availability Zones and regions
What is an AMI (AWS Machine Image)?
Customized EC2 instance configuration
What are the advantages of using an AMI?
Faster boot time and can be used and copied across different availability zones and regions
What are the types of AMIs in AWS?
Public
Personal
AWS marketplace
What is an EC2 Instance Store?
High performance hardware disk that act as alternatives to EBS volumes for temporary data
Why use an Instance Store?
For better I/O Performance
Instance Store use cases?
Caching
Temporary/scratch data
What are the disadvantages to using an Instance Store?
risk of data loss when hardware fails
List the EBS Volumes Types
gp2 and gp3
io1 and io2
st1
sc1
What volume(s) are the best for general purpose and balances price and performance for a wide variety of workloads?
gp2 and gp3
What volume(s) are best for highest-performance mission-critical low-latency or high-throughput workloads?
io1 and io2
What volume(s) are best for frequent accessed, throughput-intensive workloads?
st1
What volume(s) are best for less frequently accessed workloads?
sc1
What volume(s) are best for I/O-intensive database workloads?
Provisioned IOPS SSD
What volume(s) can be attached to multiple instances?
io1 / io2
Which type of HDD volume(s) are the lowest costing?
sc1
Which volume types are HDD?
st1 and sc1
Which volume types are SSD?
gp2 and gp3
io1 and io2
Which volumes are cost effective and have low-latency?
gp2 and gp3
Which volumes are high performing and have low-latency?
io1 and io2
What is the difference between gp2 volume and a gp3 volume?
IOPS and throughput are linked together in gp2 volume whereas they are independently set in a gp3 volume
What is an advantage of using an EBS RAID?
Increased IOPS performance
What are the two main EBS RAID options?
RAID 0 and RAID 1
What is one disadvantage from using RAID 0?
If one disk fails all of the data is lost
What is one advantage from using RAID 1?
If one disk fails the logical volume is still working
What is a characteristic from using RAID 0?
Data is written to each volume subsequently
What is a characteristic from using RAID 1?
Data is written to each EBS volume at the same time
What is one disadvantage from using RAID 1?
More network is needed if more than one volume is used
What is EFS?
Elastic File System is a network file share that can be mounted on multiple EC2 instances
What is an advantage of using EFS?
Highly available, scalable and “pay for what you use”
What is an disadvantage of using EFS?
It’s expensive
What applications types are advantageous for EFS?
CMS, wordpress, data sharing etc.
How is access controlled for an EFS?
Security group
What AMI’s are compatible with EFS?
Linux