Section 7: EC2 Instance Storage Flashcards
A network drive that you can attach to your instances while they run
Elastic Block Store (EBS) Volume
True/False: EBS volumes are not bound to specific availability zones
False - They are bound to the availability zone they are created in
Attribute that can be enabled such that an EBS volume is deleted whenever the attached EC2 instance is deleted
Delete on Termination
True/False: An EBS volume must be detached in order to create an EBS snapshot
False - Detaching the drive is optional, but recommended
EBS Snapshot feature that allows you to move a snapshot to an “archive tier” that is 75% cheaper
EBS Snapshot Archive
EBS Snapshot feature that allows you to setup rules to retain deleted snapshots so that you can recover them after an accidental deletion
Recycle Bin for EBS Snapshots
EBS Snapshot feature that enables you to create a volume from a snapshot that is fully initialized at creation, thus eliminating the latency of I/O operations on a block when it is accessed for the first time
EBS Fast Snapshot Restore (FSR)
What are three types of AMIs you can launch EC2s from?
A public AMI
Your own AMI
An AWS Marketplace AMI
A physical hardware disk that can be attached to certain EC2 instances to enable extremely high disk performance (high IOPS and throughput)
EC2 Instance Store
EBS Volume Type: General purpose SSD volume that balances price and performance for a wide variety of workloads
gp2/gp3 (SSD)
EBS Volume Type: Highest-performance SSD volume for mission-critical low-latency or high-throughput workloads
io1/io2 (SSD)
EBS Volume Type: Low cost HDD volume designed for frequently accessed, throughput-intensive workloads
st1 (HDD) - Throughput Optimized HDD
EBS Volume Type: Lowest cost HDD volume designed for less frequently accessed workloads
sc1 (HDD) - Cold HDD
Which EBS volume types are the only two that can be used as boot volumes?
gp2/gp3 and io1/io2
True/False: gp2 and gp3 volumes can independently change their size and IOPS
False - gp2 volumes have 3 IOPS per GB while gp3 volumes can have independent configurations
Which EBS volume type(s) support EBS Multi-Attach?
io1/io2 (SSD)
How many EC2 instances can be attached to a single EBS volume using EBS multi-attach?
16
True/False: EBS volumes are automatically encrypted
False
What kind of encryption does EBS encryption use?
AES-256
True/False: Amazon Elastic File System is compatible with Linux and Windows based AMI
False - EFS is only compatible with Linux based AMI
EFS performance mode used for latency-sensitive use cases (web server, CMS, etc.)
General purpose (default)
EFS performance mode used for higher latency, throughput, and highly parallel workloads (big data, media processing, etc.)
Max I/O
EFS throughput mode that allows for 50MiB/s + a burst of up to 100MiB/s on a per terabyte basis
Bursting throughput
EFS throughput mode that allows you to set your throughput regardless of storage size
Provisioned throughput
EFS storage tier that is used for frequently accessed files
Standard
EFS storage tier that offers a lower storage cost, but charges to retrieve files
Infrequent access (EFS-IA)
Configurable feature of EFS that allows you to move files between storage tiers
Lifecycle Policy
EFS availability and durability option that is typically used for production environments
Standard: Multi-AZ
EFS availability and durability option that is typically used for development environments; it offers default backups and is compatible with EFS One Zone-IA
One Zone: One AZ
You have just terminated an EC2 instance in us-east-1a, and its attached EBS volume is now available. Your teammate tries to attach it to an EC2 instance in us-east-1b but he can’t. What is a possible cause for this?
EBS volumes are locked to an Availability Zone
True/False: The root volume for an EC2 instance is flagged as “Delete on Termination” while other added volumes are not
True
Which are the only EBS volumes types that can be used as boot volumes when creating an EC2 instance?
gp2, gp3, io1, io2
You are running a high-performance database that requires an IOPS of 310,000 for its underlying storage. What do you recommend?
Use an EC2 Instance store (highest IOPS)