EBS Flashcards

1
Q

What is EBS?

A

Elastic Block Store - An EBS volume is a network drive you can attach to your instances while they run

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Give some restrictions when using EBS

A
  • Can only be mounted to one instance at a time
  • Bound to a specific availability zone
  • Have to provision the EBS volume capacity (size in GBs, IOPS (input/output per second)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How can you move an EBS volume across AZs?

A

Snapshot the volume in order for it to be moved across AZs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the Delete on Termination attribute? Give one example when you would not want this enabled

A

If enabled, the EBS volume is deleted when an attached EC2 instances terminates.
(By default, the root EBS volume is deleted)
Example: Preserve the root volume when an instance is terminated by disabling this attribute.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why would you move an EBS snapshot to an ‘archive tier’?

A

Archive is 75% cheaper

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the EBS recycle bin?

A

Allows recovery of snapshots in the case of accidental deletion - rules can be set up to retain a deleted snapshot for a specified amount of time, 1 day to 1 year

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is FSR?

A

Fast Snapshot Restore - force full initialization of snapshot to have no latency on the first use. Expensive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is an AMI?

A

Amazon Machine Image: a customization of an EC2 instance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does creating an AMI allow for?

A

Allows you to add your own software, configuration, operating system, monitoring etc.
Allows for faster boot/configuration time as software is pre-packaged

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is an EC2 instance store?

A

A high-performance hardware disk attached to an EC2 instance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the advantages of an EC2 instance store over EBS?

A

Better I/O

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the disadvantages of an EC2 instance store over EBS?

A

Instance Store loses its data if it is stopped (ephemeral)
Risk of loss of data if hardware fails

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a use case for an EC2 Instance Store

A

Buffer/cache/scratch data/temporary content

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the general purpose EBS volume types?

A

gp2/gp3 - general purpose SSD that give cost effect storage with low latency

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the difference between gp2 and gp3?

A

With gp3 you can independently set IOPS and throughput, whereas with gp2 they are linked.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the Provisioned IOPS EBS volume types?

A

io1/io2 - provide high, sustained IOPS performance

17
Q

What is the use case for PIOPS?

A

Databases workloads (sensitive to storage performance and consistency).
Good for critical business applications with sustained IOPS performance or applications that need > 16,000 IOPS

18
Q

What are some features of io2 Block Express?

A

4GiB to 64TiB
>64,000 IOPS or 1,000 MiB/s of throughput
Sub-millisecond latency
Supports EBS multi-attach

19
Q

Describe HDD EBS volumes

A

Hard Disk Drive
Cannot be boot volume

20
Q

What is a use case for HDD EBS volumes

A

Throughput Optimized HDD st1- Big Data, Data Warehouses, Log Processing
Cold HDD sc1 - Infrequently access data, cost efficiency

21
Q

What is a use case of gp2/gp3?

A

Low-latency interactive apps
Dev and test environments

22
Q

What are the features of EBS multi-attach?

A

io1/io2 family
Attach the same EBS volume to up to 16 EC2 instances
Each instance has full read & write permissions to the high-performance volume

23
Q

What is a use case of EBS multi-attach?

A

Achieve higher application availability in clustered Linux applications (e.g., Teradata)
Applications must manage concurrent write operations

24
Q

What is EFS?

A

Elastic File System - a managed network file system (NFS) that can be mounted on many EC2

25
Q

Give two features of EFS

A

Works with many EC2 instances in multi AZ
Highly available, scalable, expensive (3x gp2), pay per use

26
Q

What are some use cases of EFS?

A

Content management, web serving, data sharing, wordpress.

27
Q

What AMIs is EFS compatible with?

A

Linux based (NOT Windows)

28
Q

Describe the two EFS storage tiers

A

Storage tier: move file after N days
Standard: for frequently accessed files
Infrequent access (EFS IA): cost to retrieve but lower price to store.

29
Q

What are the differences between standard/regional and one-zone availability and durability for EFS?

A

Standard: Multi AZ, great for prod
One Zone: Single AZ, great for dev, backup enabled by default, compatible with IA

30
Q

Can you use an AMI in one region to create an EC2 instance in another?

A

Not directly - the AMI can be copied across to the target region first, as AMIs are specific to a region.

31
Q

What is the peak EBS IOPS or equivalent GB?

A

16,000 IOPS or 5334 GB volume

32
Q

What is the max IOPS of io1/io2/io2 block express volume types?

A

64,000 for io1/io2 on Nitro instances, 32,000 on other; 256,000 for io2 block express

33
Q

What is the max IOPS of gp2/gp3 volume types?

A

16,000

34
Q

What is the max IOPS of st1/sc1 volume types?

A

500 and 250 respectively