Storage - EBS Flashcards

1
Q

What is EBS?

A

Is used for block level storage with EC2 instances

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

Why would I use EBS?

A

Well suited for primary storage of file systems, databases or for any applications that require fine granular updates and access to raw, unformatted, block level storage

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

What the max performance IOPs by volume type from fastest to slowest?

A

io2 Block Express = 256k

io2 & io1 = 64k

gp2 & gp3 = 16k

st1 (throughput HDD) = 500

sc1 (cold HDD) = 250

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

What are the six (seven) different types of EBS volumes?

A

io2 Block Express (in preview) (SSD)

io2 (SSD)

io1 (SSD)

gp3 (SSD)

gp2 (SSD)

st1 (HDD)

sc1 (HDD)

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

What is the max throughput by volume from greatest to least?

A

io2 Block Express = 4k MB/s

io2 & io1 = 1k MB/s

gp3 = 1k MB/s

gp2 = 250 k MB/s

st1 (throughput HDD) = 500 MB/s

sc1 (cold HDD) = 250 MB/s

4,750 - 7500 MB/s per instance

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

List durability from greatest to least by volume type?

A

io2 Block Express & io2 = 99.999%

io1 , gp3, gp2, st1, sc1 = 99.8 - 99.9%

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

What are the use cases for io2?

A

High performance SSD for business critical lantency sensitive applications

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

What are the use cases for io1?

A

high performance SSD volume for latency-sensitive transactional workloads

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

What are the use cases for gp3?

A

balances price and performance usually slated for virtual desktops, medium sized databases, low-latency interactive apps, dev & test , boot volumes

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

What are the use cases for gp2?

A

general purpose SSD for a wide variety of transactional load for use in boot volumes, low latency interactive apps, dev & test

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

What are the use cases for st1?

A

low cost HDD for frequently accessed, throughput-sensitive workloads used for big data, data warehouses, and log processing

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

What are the use cases for sc1?

A

lowest storage cost, througput oriented, infrequently accessed data for cold data storage.

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

List volume size by volume type?

A

io2 & io1 = 4GB - 16TB

gp3 & gp2 = 1GB - 16TB

st1 & sc1 = 1GB - 16TB

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

What happens when my instance is terminated?

A

EBS volume can persist independently of the life of the instance. This can be set by selecting “no” for delete on termination.

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

What is a snapshot?

A

a back up of EBS data at a point-in-time. Snapshots protect against the unlikely even of a volume failure.

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

When can snapshots be conducted?

A

can be done in real time while the volume is attached, but only capture volume that has successfully been written to the volume, so in this cast detaching is recommended for a clean snapshot

17
Q

Why are snapshot know as incremental backups?

A

on the blocks on the device that have changed after your most recent snapshot are saved. This saves on storage cost and decreases the time to create a snapshot

18
Q

What are some limitations to snapshots?

A

are regional; can’t delete snapshot if it is the root device, it must first be deregistered; only 5 concurent snapshots are allowed per region; tags are not copied

19
Q

How is EBS encrypted?

A

offer data at rest, in transit between EC2 and EBS and snapshot encryption from a volume and from volumes created by a snapshot

20
Q

How can KMS be used to encrypt volumes?

A

master keys can be used when encrypted volumes and any snapshots created from your encrypted volumes

21
Q

How are volumes dealt with when restored by encrypted snapshots?

A

automaticall encrypted

22
Q

Can unencrypted volumes be encrypted? Can encryption be removed?

A

there is no direct way to encrypt a once unencrypted volume or remove encryption. But data can be migrated between unencrypted and encrypted volumes

23
Q

What is the EBS pricing model?

A

charged by the amount you provision in GB per month; detached volumes still incur a charge if the storage amount exceeds the free tier; only deletion of a volume can stop charges

24
Q

Why EBS over S3 and or EFS?

A

persistent block level storage; high performance for low-lantency workloads; higher than s3 file size max; higher than S3/EFS availability

25
Q

How is replication achieved with EBS?

A

via snapshots

26
Q

durability

A

stored redundantly in a single AZ

27
Q

Why wouldn’t you use EBS?

A

EBS cost more than S3 and is meant for EC2 instances only

28
Q

Does EBS allow for multi-attach?

A

Yes, but only for io1. Up to 16 Nitro instances can be attached in same AZ. Only available in us-east-1, us-west-2, eu-west-1, and ap-northeast-2 regions. Volume cannot be modified, enable ordisabled after creation