EC2 Instance Storage Flashcards

1
Q

What does EBS stand for?

A

Elastic Block Storage

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

What is EBS?

A

EBS is a network drive that you can attach to your instances while they run. It allows you to keep data even after the instance’s termination.

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

How many EC2 instances can an EBS volume mount to at once?

A

1

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

How many EBS volumes can be attached to an EC2 instance at once?

A

More than 1

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

How is billing handled for EBS volumes?

A

You are billed for provisioned capacity, regardless of if you use it

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

What is the geographic level of an EBS volume? (Global/Regional/Zonal)

A

Zonal - bound to specific AZ

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

What happens to the root EBS volume when an instance is terminated?

A

It is deleted by default

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

What happens to an EBS volume that is not the root when an instance is terminated?

A

It is not deleted by default

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

What is an EBS snapshot?

A

A backup of an EBS volume at a point in time

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

How do you transfer EBS volumes across AZs?

A

By copying their associated snapshots across and then restoring

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

Can you restore EBS volume snapshots that you deleted?

A

Yes, through the recycle bin

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

What is Fast Snapshot Restore?

A

A feature that allows you to fully initialise your snapshot to have no latency on first use. This is expensive!

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

What are AMIs?

A

Amazon Machine Images are customisations of EC2 instances that allow users to have faster boot and configuration times because their software is pre-packaged

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

What are 3 components of an AMI that users can specify?

A

Configuration, OS, monitoring

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

What is the name of the hardware device that is physically connected to an EC2 instance?

A

The instance store

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

What is the pro and con of an EC2 instance store?

A

Very high performance (I/O) but ephemeral (data lost on stoppage)

17
Q

What type of drive are gp2 and gp3? What does gp stand for?

A

SSDs, general purpose

18
Q

What is the other name for provisioned IOPS SSDs?

A

io1/io2 Block Express SSDs

19
Q

What is special about io1 and io2 that no other EBS volumes have?

A

They support EBS multi-attach and therefore can be attached to multiple instances at once

20
Q

What is the lowest cost HDD volume?

A

sc1

21
Q

What is EBS multi-attach? What permissions does an instance attached to a volume in this way have on the volume?

A

Allows you to attach multiple EC2 instances to 1 io2/io3 EBS volume. All attached instances have full read/write permissions

22
Q

What 4 things are consequently automatically enabled when you encrypt an EBS volume?

A
  • Encrypted data at rest
  • Encrypted data in-flight to and from the instance
  • All snapshots are encrypted
  • All volumes created from the snapshots are encrypted
23
Q

What are the steps to encrypt an unencrypted EBS volume?

A
  1. Create a snapshot of the EBS volume
  2. Encrypt the snapshot
  3. Create a new volume from the snapshot
  4. Attach the new volume to the original instance
24
Q

What is Amazon EFS?

A

Elastic File Service is a managed network file system that can be mounted on many EC2 instances at once, across AZs

25
Q

How is security handled for an EFS?

A

Via a security group

26
Q

Is EFS compatible with Windows?

A

No - you would have to use FSx for Windows File Server

27
Q

What are the two EFS modes?

A

Performance mode and throughput mode

28
Q

What is the difference between performance mode and throughput mode for EFS?

A
  • Performance mode is for general use, has high I/O
  • Throughput mode is provisioned with bursting - you set your throughput requirements regardless of the storage size you have selected