EBS - Elastic Block Storage Flashcards

1
Q

What is an EBS?

A

An EBS (Elastic Block Store) Volume is a network drive you can attach to your instances while they run. It allows your instances to persist data

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

Are EBS volumes reusable?

A

Yes, you can detach it and attach it to another instance

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

How does an EBS communicate to the instance?

A

using the network, which means there might be a bit of latency

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

Are EBS multi AZ?

A

no

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

How can I move an EBS volume across AZs?

A

creating a snapshot of it

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

What are the EBS provisioned capacity elements?

A

size in GBs and IOPS

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

How you get billed for an EBS?

A

for the provisioned capacity

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

Can you increase an EBS capacity?

A

yes, over time

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

What are the EBS Volume Types?

A
  • GP2
  • IO1
  • ST1
  • SC1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which are SSD EBS Volume types?

A

GP2 and IO1

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

What is the definition for EBS GP2?

A

General Purpose SSD: volume that balances price and performance for a wide variety of workloads

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

What is the definition for EBS IO1?

A

Provisioned IOPS: Highest-performance SSD volume for mission-critical low-latency or high-throughput workloads

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

What is the definition for EBS ST1?

A

Throughput Optimized: Low cost HDD volume designed for frequently accessed, throughput-intensive workloads

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

What is the definition for EBS SC1?

A

Cold HDD, Infrequently accessed data: Lowest cost HDD volume designed for less frequently accessed workloads

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

What EBS volumes can be used as boot volumes?

A

GP2 and IO1

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

When you shoud not run EBS Snapshots?

A

while your application is handling a lot of traffic because they use IO

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

Where are EBS snapshots stored?

A

In S3, but you won’t’ directly see them

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

It is necessary to detach EBS volume to create snapshot?

A

No, but recommended

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

What is backed up on EBS Snapshots?

A

only changed blocks, it is incremental

20
Q

What can you use to automate EBS snapshots?

A

Amazon Data Lifecycle Manager

21
Q

What to expect when you create an encrypted EBS volume?

A

Everything will be encrypted:

  • all data
  • snapshots and volumes created from snapshots
22
Q

What leverages EBS encryption?

A

keys from KMS (AES-256)

23
Q

How to encrypt an EBS volume?

A

1-create snapshot
2-encrypt the snapshot
3-create volume
4-attach it to the instance

24
Q

What is an Instance Store?

A

a temporary ephemeral storage type located on disks that are physically attached to a host machine

25
Q

What is the best pros of Instance Stores?

A

Better I/O performance with very high IOPS

26
Q

What is the worst cons of Instance Stores?

A

On stop or termination the instance store is lost

27
Q

How much can you increase the size of an Instance Store?

A

Cannot be increased

28
Q

What is useful for mounting EBS volumes in parallel in RAID settings?

A

To increase IOPS or to mirror your EBS volume

29
Q

What are recommended RAID options for EBS?

A

RAID 0 and RAID 1

30
Q

What is used for RAID 0?

A

To increase performance by combining 2 or more volumes and getting the total
disk space and I/O

31
Q

What is used for RAID 1?

A

To increase fault tolerance by mirroring a volume to another (2x network)

32
Q

How behaves EBS GP2 size compared to IOPS?

A

they are proportional, 3 IOPS per GB, means at 5,334GB we are at the max IOPS

33
Q

How behaves EBS IO1 size compared to IOPS?

A

they are independent, you can increase IOPS independently

34
Q

What happens to EBS volumes when the instance is terminated?

A

gets terminated as well but you can disable that

35
Q

What EBS types are better for small / random I/O operations?

A

SSD

36
Q

What EBS types are better for large / sequential I/O operations?

A

HDD

37
Q

What EBS types are better for large database workloads?

A

SSD

38
Q

What is the common max size of EBS volumes?

A

16 TiB

39
Q

What are the min size of EBS volumes?

A

GP2: 1 GB
IO1: 4 GB
ST1: 500 GB
SC1: 500 GB

40
Q

What is max IOPS for EBS GP2?

A

16000

41
Q

What is max IOPS for EBS IO1?

A

MAX 64,000 (Nitro instances) else MAX 32,000 (other instances)

42
Q

What is the maximum ratio of provisioned IOPS to requested volume size (in GiB) in EBS IO1?

A

50:1

43
Q

What is max IOPS and throughput for EBS ST1?

A

500 IOPS and 500 MB/s, can burst

44
Q

What is max IOPS and throughput for EBS SC1?

A

250 IOPS and 250 MB/s, can burst

45
Q

What happens when you stop an instance store backed instance?

A

you can’t stop, just terminate instance store backed instances