EBS 101 Flashcards

EBS High Level, EBS Snapshots

1
Q

What does EBS stand for?

A

Elastic Block Store

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

What is Amazon EBS?

A
  • think virtual hard disk drive in the cloud
  • persistent block storage volumes for use with EC2 instances in AWS Cloud
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an EBS Snapshot?

A

A snapshot is a point in time copy of a volume

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

Where are EBS Snapshots stored?

A

in S3

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

Suppose you take a snapshot of a volume, then add a new file to a volume, then take a second snapshot. What is stored in the second snapshot?

A
  • Snapshots are incremental – only blocks that have changed since your last snapshot are moved to S3
  • So, only the new file (the delta) is stored in the second snapshot
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Can you take a snapshot of an EBS volume while the underlying EC2 instance is running?

A
  • Yes, but it is not the best practice.
  • To create a snapshot for EBS volumes that serve as root devices, you should stop the instance before taking the snapshot.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Can you create an AMI from an EBS volume?

A

Yes

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

Can you create an AMI from an EBS Snapshot?

A

Yes

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

Can you change the size of an EBS volume on the fly?

A

Yes, including the size and storage type

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

In what Availability Zone is an EBS volume stored?

A

In the same Availability zone as the EC2 instance to which it is connected

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

How do you move an EC2 Instance from one Availability Zone to another?

A
  1. Take a snapshot of it
  2. Create an AMI from the snapshot
  3. Use the AMI to launch the EC2 instance in a new AZ
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How do you move an EC2 instance from one region to another?

A
  1. Take a snapshot of the EC2 instance
  2. Create an AMI from the snaphsot
  3. Copy the AMI from one region to the other
  4. Use the copied AMI to launch the new EC2 instance in the new region
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Can an AMI in one region be used to create an EC2 Instance in a different region?

A

NO

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

What is EBS Multi-Attach?

A

Allows you to attach the same EBS Volume to multiple EC2 Instances in the same AZ

ONLY available for io1 and io2 instances

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

How do you attach an EBS volume in one AZ to a different EBS volume in a different AZ?

A

You Can’t

EBS volume must be in the same AZ as the EC2 instance to which it is connected

(you can try to use AMIs to create a copy of the EBS volume in a different AZ)

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

What is EC2 Instance Store?

A

Physical Hard drive space available on certain EC2 instances. Good for really high performance computing

BUT, if you terminate the EC2 instance, the data is lost

17
Q

What is the maximum number of EC2 instances that can be attached to the same EBS volume using EBS Multi-Attach?

A

16

(and remember, they all have to be in the same AZ)