EC2 Instance Storage Flashcards
Network drive you can attach to your instances while they run and allows your instances to persist data, even after their termination
EBS (Elastic Block Store) Volume
Can EBS volumes be mounted to 2 instances at the same time?
No
Are EBS volumes bound to a specific AZ?
Yes
Can an EBS volume be detached from an EC2 instance and attached to another one quickly?
Yes
To move an EBS volume a _____________ must be taken of it
Snapshot
Is it possible to preserve the attached EBS volume once an EC2 instance is deleted?
Yes using Delete on Termination attribute
Make a backup of your EBS volume at a point in time which can then be copied across AZ
EBS Snapshots
Move a Snapshot to an ”archive tier” that is 75% cheaper and takes 24 to 72 hours for restoring the archive
EBS Snapshot Archive
Setup rules to retain deleted snapshots so you can recover them after an accidental deletion
Recycle Bin for EBS Snapshots
Purchase the ability to force full initialization of snapshot to have no latency on the first use
Fast Snapshot Restore (FSR)
High-performance hardware disk storage for EC2 that’s good for buffer/cache/ scratch data/temporary content
EC2 Instance Store
Does EC2 Instance Store lose their storage if they’re stopped
Yes
General purpose SSD volume that balances price and performance for
a wide variety of workloads
gp2 / gp3 (SSD)
Highest-performance SSD volume for mission-critical low-latency or
high-throughput workloads
io1 / io2 (SSD)
Low cost HDD volume designed for frequently accessed, throughput- intensive workloads
st1 (HDD)
Lowest cost HDD volume designed for less frequently accessed workloads
sc1 (HDD)
Can HDD EBS volumes be used for Boot Drives?
No
EBS Volume that is:
1 GiB - 16 TiB
Cost effective storage, low-latency
Used for System boot volumes, Virtual desktops, Development and test environments
General Purpose SSD
EBS Volume type with:
Baseline of 3,000 IOPS and throughput of 125 MiB/s
Can increase IOPS up to 16,000 and throughput up to 1000 MiB/s independently
gp3
EBS Volume type with:
can burst IOPS to 3,000
Size of the volume and IOPS are linked, max IOPS is 16,000
3 IOPS per GB, means at 5,334 GB we are at the max IOPS
gp2
EBS Volume that is great for I/O intensive databases workloads, critical business applications with sustained IOPS performance or applications that need more than 16,000 IOPS
Provisioned IOPS (PIOPS) SSD
EBS Volume type with:
4 GiB - 16 TiB
Max PIOPS: 64,000 for Nitro EC2 instances & 32,000 for other
Can increase PIOPS independently from storage size
io1/io2
EBS Volume type with:
4 GiB – 64 TiB:
Sub-millisecond latency
Max PIOPS: 256,000 with an IOPS:GiB ratio of 1,000:1
io2 Block Express
Does Provisioned IOPS (PIOPS) SSD support EBS multi attach?
Yes
EBS Volume type that cannot be a boot volume
125 GiB to 16 TiB
Hard Disk Drives (HDD)
EBS Volume that is:
Used for Big Data, Data Warehouses, Log Processing
Capable of max throughput 500 MiB/s – max IOPS 500
Throughput Optimized HDD (st1)
EBS Volume that is:
For data that is infrequently accessed
Scenarios where lowest cost is important
Max throughput 250 MiB/s – max IOPS 250
Cold HDD (sc1)
Attach the same EBS volume to multiple EC2 instances (Up to 16 EC2 Instances at a time) in the same AZ
EBS Multi-Attach
Used to achieve higher application availability in clustered Linux applications or applications that must manage concurrent write operations
EBS Multi-Attach
Managed NFS (network file system) that can be mounted on many EC2 instances used for content management, web serving, data sharing, WordPress
Amazon EFS
Is EFS Compatible with Windows-based AMI
No, Only Linux
EFS encryption at rest of uses
KMS
Used to control access to EFS
Security Group
EFS performance mode used for latency-sensitive use cases
General Purpose
EFS performance mode with higher latency, throughput, highly parallel (big data, media processing)
Max I/O
EFS throughput mode where you set your throughput regardless of storage size
Provisioned
EFS throughput mode that automatically scales throughput up or down based on your workloads
Elastic
Automate the creation, retention, and deletion of snapshots taken to back up your Amazon EBS volumes
Amazon Data Lifecycle Manager (Amazon DLM)
EBS encryption enables data at rest security by encrypting your data using
AWS Key Management Service (KMS)
Ensuring that all new EBS volumes restored from the unencrypted snapshots are automatically encrypted
Enable the EBS Encryption By Default feature for the AWS Region
By default, the Root volume type will be deleted as its “Delete On Termination” attribute is checked by default. Will any other EBS volumes be deleted?
No