Section 7: EC2 Instance Storage Flashcards

1
Q

What is EBS?

A

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

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

How many instances can EBS volumes be mounted to?

A

Only one and only bound to a specific availability zone.

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

What is EBS snapshot?

A

It is a back up of your EBS volume

Can transfer between region

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

What is EBS snapshot archive?

A

Move data to archive tier - 75% cheaper

Takes 24 - 72 hours to restore

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

What is EBS recycle bin?

A

Set up rules to retain accidently deleted snapshots

Retention 1 day - 1 year

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

What is AMI?

A

Amazon Machine Image
Customization of a EC2 instance
Built for specific region

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

Can you make your own AMI?

A

Yes and you can also use AWS provided ones.

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

What is a EC2 Instance store?

A

High performance hardware disk instead of EBS.

Better I/O performance

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

Is EC2 Instance storage better for long or short term?

A

Short term - lose their storage if stopped

good for cache

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

What are drawback of EC2 instance store?

A

Risk of data lost if hardware fails

Back up and replications are you responsibility

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

What are the EBS volume types?

A

gp2/gp3
io1/io2
st1
sc1

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

The difference between GP2 and GP3

A

GP2 - size of volume and IOPS is linked

GP3 - Iops and throughput can be increased independently

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

What is the advantage for GP2/3

A

Low cost, low latency

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

Advantage of io1/2

A

critical business application with sustained IOPs
Great for database workloads
can be boot volume

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

What do you get in an encrypted EBS volume

A
  • Data at rest is encrypted
  • Data moving between instance and volume is encrypted
  • Snapshots are encrypted
  • Volumes created from the snapshot
  • Handled already you don’t have to do anything
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What do you get in an encrypted EBS volume

A
  • Data at rest is encrypted
  • Data moving between instance and volume is encrypted
  • Snapshots are encrypted
  • Volumes created from the snapshot
  • Handled already you don’t have to do anything
16
Q

What is EFS - Elastic File System

A
  • Managed NFS (network file system)
  • Can be mounted to any EC2
  • Scalable available and expensive
17
Q

Use cases of EFS?

A
  • Content management
  • Web serving
  • data sharing
  • word press
18
Q

What is EFS compatible with?

A
  • Linux based AMI not windows
19
Q

How is access controlled in EFS?

A
  • Security groups
20
Q

What file system does EFS use?

A
  • POSIX - linux standard file api
21
Q

How does EFS scale?

A
  • Scales automatically

- pay per use

22
Q

What are the two performance modes in EFS?

A
  • Gerneral purpose - latency-sensitive use cases (web server, cms)
  • Max I/O - higher latency, highly parallel (big data)
23
Q

What are the two throughput modes in EFS

A
  • Bursting

- Provisioned - set your throughput regardless of storage size

23
Q

What are the two throughput modes in EFS

A
  • Bursting

- Provisioned - set your throughput regardless of storage size

24
Q

What are the two storage tiers for EFS (lifecycle management feature - move file are N days)

A
  • Standard: for frequently accessed files

- Infrequent access: cost to retrieve files, lower price to store.

25
Q

What are the classes for Availability and durability of EFS

A
  • standard: Multi AZ, great for prod

- One Zone: One AZ, for dev, back enabled by default. ( gives you 90% discount is you use EFS one zone-IA)

26
Q

Difference between EBS vs EFS?

A
  • EBS only one AZ - will need to take snapshot to another AZ

- EFS - Can mount to 100s of instance across AZ