EC2 Instance Storage Flashcards

1
Q

What is EBS Volume?

A

Elastic Block Store

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

What does EBS do?

A

A network drive you can attach to your instances while they run

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

Why use EBS?

A

Allow your instances to persist data, even after their termination

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

How many instances can an EBS be mounted to?

A

One instance at a time

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

They are bound to a specific availability zone?

A

True

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

Can be attached to more then one instance?

A

Only after detaching from one can it be connected to another. Can be done quickly.

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

How can they be moved across zone?

A

Take a snapshot, restore snapshot to another AZ

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

Why do you need to provision capacity?

A

You get billed for that provision capacity. Capacity can be increased over time

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

You can attacked two EBS Volumes to one instance?

A

True

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

EBS Volumes can be left unattached an attached on demand?

A

True

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

By default, what happens a EBS when an ECS instance terminates?

A

The root EBS Volume is deleted
&
Any other attached EBS Volume is not deleted

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

What is a “snapshot”?

A

Make a backup (snapshot) of your EBS volume at a point in time

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

It necessary to detach volume to do a “snapshot”.

A

False. But it is recommended

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

What are 3 snapshot features?

A
  1. EBS Snapshot Archive
  2. Recycle Bin for EBS Snapshots
  3. Fast Snapshot Restored
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does “EBS Snapshot Archive” do?

A
  • Move a snapshot to an “archive tier” that is 75% cheaper
  • Takes within 24 to 72 hours for restoring the archive
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What does “Recycle Bin for EBS Snapshots” do?

A
  • Setup rules to retain deleted snapshots so you can recover them from an accidental deletion
  • Specify retention form 1 day to 1 year
17
Q

What does “Takes within 24 to 72 hours for restoring the archive” do?

A
  • Force full initialization of snapshot to have no latency on the first use ($$$)
  • Particularly helpful if snapshot is big and need to initialize an EBS volume or needs to instance out of it very quickly
  • This feature costs a lot of money
18
Q

What is AMI?

A

Amazon machine image

19
Q

What does AMI do?

A

Customization of an EC2 instance

20
Q

What is the purpose of AMI?

A
  • You add your own software configuration, operating system, monitoring…
  • Faster boot / configuration time all your software is prepackaged
21
Q

AMI are built (unique) for specific region?

A

True but can be copied across regions.

22
Q

3 different kinds of AMIs?

A
    • A Public AMI: AWS provided
    • Your own AMI: you make and maintain yourself
    • An AWS Marketplace AMI: an AMI someone else made ( and potentially sells)
23
Q

Where can you launch EC2 instances from?

24
Q

AMI Process (from an EC2 instance)

A
  • Start an EC2 instance and customize it
  • Stop the instance (for data integrity)
  • Build an AMI - this will also create EBS snapshots
  • Launch instances from other AMIs
25
EBS volumes are ............. with good but .......... performance.
network drives, "limited"
26
If you need high-performance hardware disk, use..
EC2 Instance Store
27
Features: - Better I/O performance - EC2 Instance Instance Store lose their storage if they’re stopped (ephemeral) - Good for buffer, cache, scratch data, temporary content - Risk of data loss if hardware fails - Backups and Replication are your responsibility
ECS Instance Store
28
from an exam perspective anytime you see very high performance hardware attached volume for your EC2 Instances, think
local EC2 Instance Store.
29
EBS volumes comes in 6 type:
- gp2 / gp3 (SSD): - io1 / io2 Block Express (SSD) - st1 (HDD) - sc1 (HDD)
30
General purpose SSD volume that balances price and performance for a wide variety of workloads
gp2 / gp3 (SSD)
31
Highest-performance SSD volume mission-critical low-latency or high-throughput workloads
io1 / io2 Block Express (SSD)
32
Low cost HDD volume designed for frequently accessed throughput intensive workloads
st1 (HDD)
33
Lowest cost HDD volume designed for less frequently accessed workloads
sc1 (HDD)
34
What is EBS Multi-Attach?
Attach the same EBS volume to multiple EC2 instances in the same AZ
35
What is Amazon EFS?
Elastic File System
36
What is EFS for?
Managed NFS (network file system) that can be mounted on many EC2
37
EFS works with EC2 instances in multi-AZ?
True