EFS Flashcards

1
Q

Elastic File System (EFS)

A

File storage service for EC2 instances

storage capacity is elastic, grows and shrinks automatically as files are added and removed

Applications have the storage needed, when needed

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

How do you pay for EFS?

A

Pay for the storage you use
no pre-provisioning

not like EBS where you create a xGb volume

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

What version of NFS does EFS use?

A

NFS v4

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

How big does EFS scale?

A

to petabytes

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

How does AWS store EFS data?

A

across multiple Availability Zones in a region

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

is EFS block based?

A

Yes, EFS is block based
so you can share files with EC2 instances

not object based like S3

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

What consistency model does EFS have?

A

read after write

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

Process to create an EFS

A

Choose VPC

Create mount target (select which AZ you want mount target in. AWS recommends one mount target in each AZ so EC2 instances across your VPC can access the file system). Choose subnet and security group

Add tags

Review and create

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

Use case for EFS

A

use as a file server

centralized repository for multiple EC2 instances

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

Permissions that you can use in EFS

A

user level permissions

directory level permissions

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

How to mount EFS volume to EC2 instance

A

Create a new directory on your EC2 instance, such as “efs”.
sudo mkdir efs

Mount your file system using the DNS name. Mounting considerations

sudo mount -t nfs4 -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 fs-19d92660.efs.us-east-2.amazonaws.com:/ efs

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