EBS Flashcards

1
Q

What is EBS?

A

Elastic Block Store. Virtual disk in the cloud that protects you from failure of single components. Can run on EC2.

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

Requirement of attaching an EBS to EC2

A

They have to be in the same availability zone

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

What are the two EBS Volume Types

A

SSD Volumes and Magnetic Volumes

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

What are SSD volumes used for?

A

For transactional workloads, such as database and boot volumes (performance depends mostly on IOPS). Can read and write quickly. Small and random I/O operations.

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

What is a General Purpose EBS Volume?

A

(GP2) SSD Volume that balances both pricing and performance.

Ratio 3 IOPs per GB with up to 1000 IOPS and availability to burst up to 3000 IOPS for volumes of 334 GB and above.

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

What is a Provisioned IOPs EBS Volume?

A

(IO1) SSD Volume used for extreme performance I/O intensive apps (large relational or NoSQL DB).

Used for mission critical low-lateny or high throughput workloads. over 10000 IOPs.

Up to 20,000 IOPS per volume

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

What is a magnetic volume used for?

A

Very throughput intensive workloads (ex. MapReduce and log processing). For large datasets, large I/O and complex queries. As well as sequential workloads or streaming.

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

What is a Throughput HHD EBS Volume?

A

(STI) A HHD volume. Low cost designed for frequent access throughput intensive workloads.

Ex. Big Data, data warehouse, log processing.

CANNOT be a boot volume

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

What is a Cold HHD EBS Volume?

A

(SCI) Lowest cost storage for infrequent accessed workloads

Ex. File Server

CANNOT be a boot volume

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

What is a Magnetic EBS Volume

A

It is the standard HHD volume. Used for Legacy. It is the lowest cost per GB of all EBS volume types that IS BOOTABLE.

Good for workloads where data is accessed infrequently and for apps where lowest storage cost is important.

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

Two ways to encrypt root device volume?

A

1) Use OS system level encryption

2) Take a snapshot. Copy snapshot, then create image (go to AMI), and then click launch.

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

How can you increase the performance of a volume?

A
  • You can stripe volumes together in a RAID 0 config
  • Ensure that your EC2 instances are types that can be optimized for use with EBS
  • Schedule snapshots of HDD based volumes for periods of low use
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How to monitor EBS Volumes?

A

Cloudwatch

  • Volume status checks
  • Volume events
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Max volume size

A

16 TiB

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

How to create incremental backups in EBS

A

Snapshots. But note snapshots are constrained to the region they are created. And shared snapshots must be encrypted with a CMK

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

If an EBS backed instance is deleted what happens to the root volume?

A

It is persisted by default. But by default all additional EBS volumes created and attached to the instance are deleted.

17
Q

When you attach a new EBS volume on EC2 instance what steps do you have to take to use volume?

A

Create a file system on the volume and then mount it