AWS Storage Flashcards
EBS Volumes are locked to an AZ True or False?
True
e.g. An EBS volume of us-east-1a cannot be attached to us-east-ab
When an EC2 instance is terminated, by default the root EBS volume is deleted and any other attached EBS volume is not deleted. True or False ?
True
What does AMI stand for?
Amazon Machine Image
What does an AMI contain?
An AMI contains the software configuration (for example, an operating system, an application server, and applications) required for the creation of EC2 instances. When you launch an instance, you must specify an AMI.
AMIs are categorized by the storage for the root device of an instance launched from the AMI. Name the categories.
EBS backed AMI - created from EBS snapshot
Instance store backed AMI - created from a template stored in S3
What is one good reason why you would create your own AMI?
To pre-install all required software and speed up boot up time
EC2 Instance Store is used for better I/O performance and has ephemeral storage. True or False
True
EC2 Instance store is good for permanent storage and there is no risk of data loss if hardware fails. True or False
False
Local EC2 Instance stores usually has very low read performance compared to writes. (Random Read IOPS vs Write IOPS). True or False
False
e.g
i3.metal has 3.3 million random read IOPS and 1.4 million Write IOPS
What does IOPS stand for?
Input/Output Operations Per Second
Only gp2/gp3 and io1/io2 EBS volume types can be used as boot volumes (root OS is going to be running). True or False
True
What are the characteristics of a General Purpose SSD boot volume type?
General Purpose SSD EBS volume type is generally a cost effective storage, has low-latency and is used as System boot volumes, virtual desktops, development and test environmens.
1 GB - 16 GB
gp3: baseline 3000 IOPS and throughput of 125 MBPS
scaled to 16000 IOPS and 1000 MBPS independently
gp2: small volumes can burse IOPS to 3000
max IOPSis 16000 and size of volume and IOPS are linked
3 IOPS per GB .. so max 5.3 GB
What are the characteristics of a Provisioned IOPS SSD ?
critical business applications with sustained IOPS performance
> 16000 IOPS
great for DB workloads
io1/io2 (4 GB - 16 GB)
io2 Block Express (4 GB - 64 GB) IOPS:GB ratio 1000:1
Supports EBS multi attach
What are the characteristics of a Hard Disk Drive (HDD) EBS volume type?
cannot be a boot volume
125 GB - 16 TB
- Big data, DW, log processing
- 500 MBPS - 500 IOPS
If you want a throughput of over 32000 IOPS which EBS volume type would you choose?
EC2 Nitro instance with io1 or io2
The multi attach feature is available only to the io1 and io2 family of EBS boot volume types. True or False
True
The EMS Multi-Attach - io1/io2 family attach the same EBS volume to multiple EC2 instances in the same AZ
Each instance has full read & write permissions to the high-performance volume
Use case:
Achieve higher availability in clustered Linux apps
Apps must manage concurrent write operations
How many EC2 instances can be attached using the multi attach feature of the io1/io2 family of EBS boot volume types?
a) 8
b)16
c) 32
d) there is no limit
b) 16
EBS Encryption leverages keys from KMS (AES-256) True or False
True
What does EFS stand for?
Elastic File System
An EFS must be attached to a Security Group. True or False
True
An EFS is restricted to only one AZ. True or False
False. EFS can be mounted on many EC2 instances in various AZs.
The Elastic nature of the managed network file system makes it highly available, scalable and expensive (3 x gp2), and it is a pay per use
What are the characteristics of EFS?
Use cases: content management, web serving, data sharing, word press etc.
NFSv4.1 protocol
Uses Security Group to control access to EFS
Compatible with Linux AMIs (not Windows)
Encryption at rest using KMS
POSIX file system
no capacity planning
What are the performance characteristics of EFS?
EFS Scale: 1000s of concurrent NFS clients, 10 GB+ /s through put
Grows to PB scale NFS
Bursting Throughput Mode
Unpredictable workloads e.g. 3 GBPS reads and 1 GBPS writes
There is a life cycle policy that can be attached to an EFS that would move an infrequently accessed file from EFS standard to EFA IA storage class. True or False
True
The storage tiers that are available for EFS are standard (frequently accessed files) and Infrequent Access (IA)
for IA, there is a cost to retrieve files, lower price to store.
Standard: Multi-AZ great for prod
One Zone: One AZ, great for dev, backup enabled by default, compatible with IA