Elastic Block Storage (EBS) Flashcards

1
Q

Can you allocate EBS volumes from AZ A to an AZ B?

A

No, EBS volumes can be attached to instances in the same AZ.

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

Can EBS volumes use to boot the OS of an instance? Is it used often?

A

Yes, it is used often to boot the OS of an instance.

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

Volumes are isolate to … (Region, AZ)?

A

To one AZ.

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

Describe availability and resilience of the data stored in EBS volumes:

A

The data is highly available and resilient for the AZ.

All of the data is replicated within that AZ. The entire AZ must have a major fault to go down.

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

What physical storage types are available in EBS?

A

SSD and HDD

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

How is EBS billed?

A

GB/month and in some cases additional charges for performance or other features.

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

How are normally EBS volumes presented to ec2 instances or other services?

A

Via network storage.

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

Can EC2 instances be attached to multiple instances and services at the same time?

A

Normally they are used for 1:1 ec2 instances but they can be attached to multiple instances (called multi attach).

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

Is there any disadvantage of using EBS volumes with multiple ec2 instances or services?

A

Yes, you need to administrate the storage and avoid collisions while reading/writing data.

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

EBS volumes can be attached and reattached to…

A

EC2 instances in the same AZ.

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

How can you migrate an EBS volume to another AZ?

A

You can use EBS snapshots.

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

Explain how EBS snapshots work

A

EBS snapshots are a backup of a volume taken into S3

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

What are the advantages of using EBS snapshots?

A

That the volume data is replicated to multiple AZs in S3 (regional resilience) and can be then used in different AZs to create EBS volumes.
Snapshots can be copied across regions to provide global resilience.

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

How can you provide global resilience in EBS?

A

Taking snapshots and copying them to other regions.

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

For what is normally gp2 or gp3 used?

A

For general purpose usage.

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

What is the min/max volume size for gp2/gp3?

A

Min 1GB

Max 16 TB

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

Explain how gp2 volume works:

A

GP2 volumes can provide a max of 3000 IOPS (bursts) or 250 MiB/s.
GP2 has a performance bucket with credits that are refilled based on a called “baseline performance”.
When there is no credit left in the bucket, you cant perform IO operations.

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

Explain what “Baseline performance” is in GP2 volumes

A

The baseline performance of a volume is = 100 IO credits per second + 3 IO credits per second per GB of volume size.

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

How big is the starting GP2 IO credit bucket?

A

5.4 Million IOPS and they are available immediately.

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

Explain what depleting and replenishing mean in GP2:

A
  • Depleting is when you consume more credit than you can refill.
  • Replenishing is when you consume less than your baseline performance, so your credits are increasing.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is the maximum throughput that you can achieve by using GP2 volumes?

A

250 MiB/s

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

How much is 1 IO credit in KBs?

A

16 KB

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

How much data can you transmit in 1 IOPS?

A

16 KB per second.

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

What is GP2 good for?

A
  • Boot volumes
  • Low latency interactive applications
  • DEV and TEST environments
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

What is the main difference between Gp2 and Gp3?

A

GP3 removes the IO credit bucket from its architecture.

26
Q

What is the standard performance that Gp3 can offer?

A

3000 IOPS or 125 MiB/s

27
Q

Max volume size for GP3 volumes:

A

1 GB - 16 TB

28
Q

How much cheaper is GP3 than GP2?

A

approx 20%.

29
Q

Max throughput and IOPS that you can achieve with a GP3 volume:

A

16000 IOPS or 1000 MiB/s

30
Q

What is GP3 good for?

A
  • Virtual desktops
  • Medium-sized instance databases (MSSQL server, Oracle DB)
  • low-latency interactive apps
  • dev and test environments
  • boot volumes
31
Q

When should you use GP3 by default over GP2?

A

When you won’t use more than 3000 IOPS or 125 MiB/s

32
Q

What is the main benefit of the storage type “Provisioned IOPS SSD (io1/io2)”?

A

IOPS can be adjusted independently of the size of the volume

33
Q

How many IOPS can I get per io1/io2 volume?

A

Up to 64000 IOPS per volume (4 x GP2/GP3).

34
Q

How many IOPS can I get per io2 Block express volume?

A

Up to 256000 IOPS per volume (Block express).

35
Q

io1 and io2 throughput:

A

1000 MB/s

36
Q

io2 block express throughput:

A

4000 MB/s

37
Q

max volume size with io1/io2?

A

4GB-16TB

38
Q

max volume size with io2 block express?

A

4GB-64TB

39
Q

IOPS per volume size for io1:

A

50 IOPS/GB (max)

40
Q

IOPS per volume size for io2:

A

500 IOPS/GB (max)

41
Q

IOPS per volume size for io2 block express:

A

1000 IOPS/GB (max)

42
Q

Define what Instance Performance is:

A

performance achieved between an EC2 instance and the EBS volume - performance cap per individual EC2 instance

43
Q

What influences the Instance Performance?

A
  • Volume type
    • Instance type
    • Instance size
44
Q

What are the Instance performance limits when using io1 volumes?

A

260000 IOPS & 7500 MB/s

45
Q

What are the Instance performance limits when using io2 volumes?

A

160000 IOPS & 4750 MB/s

46
Q

What are the Instance performance limits when using io2 block express volumes?

A

260000 IOPS & 7500 MB/s

47
Q

What are io1 and io2 designed for?

A
  • Designed for super high-performance situations that require low latency and consistently low latency.
  • I/O intensive NoSQL & relational databases
  • High performance with small volumes
48
Q

Do io1/io2 have a baseline performance and burst credit architecture?

A

No.

49
Q

How many types of HDD-based EBS volumes exist?

A

3: st1, sc1, and legacy.

50
Q

st1 sizes:

A

125GB-16TB

51
Q

sc1 sizes:

A

125GB-16TB

52
Q

Do st1 or sc1 have a baseline performance and burst credit architecture?

A

Yes.

53
Q

What is the throughput per volume size for st1?

A
  • 40MB/s/TB - base throughput

- 250MB/s/TB - burst throughput

54
Q

What is the throughput per volume size for sc1?

A
  • 12MB/s/TB - base throughput

- 80MB/s/TB - burst throughput

55
Q

Max IOPS and throughput for sc1:

A

Max 500 IOPS (block size is 1MB) –> Max 500 MB/s

56
Q

Block size for sc1 and st1?

A

1MB

57
Q

What is st1 designed for?

A
  • Frequent access
  • Throughput intensive
  • Sequential workload (reads and writes)
  • Examples: big data, data warehouses, log processing.
58
Q

What is sc1 designed for?

A
  • Less frequently accessed workloads
  • When you don’t worry about performance and need to store a lot of data.
  • Colder data requiring fewer scans per day
59
Q

Max IOPS and throughput for sc1:

A

Max 250 IOPS (block size = 1MB) –> Max 250 MB/s

60
Q

What is the lowest cost EBS volume?

A

sc1