EFS - Access Point

 

In this post, we will see about EFS Access Point.  We all know EFS == NFS. 

There is an interesting feature available in EFS called access points which lets the user create a separate folder under EFS and the ability to mention the user and group (POSIX) as well as root ownership.

An Amazon EFS file system can have a maximum of 1,000 access points. You cannot modify an existing access point after it's created.

I already have an EFS created and I am going to create 2 access points called "/data" and 
"/config".

/data will have POSIX and ROOT as 1001(user) and 1001(group). Permission is 0755.
/config will have POSIX and ROOT as 1002(user) and 1002(group). Permission is 0755.




Repeat the same for "/config".



Now, Let's mount both access point on an EC2 instance.


Now, we can see EFS mountpoints will different ownerships.



NOTE: You don’t see an option to edit the access points once created.



Comments

Popular posts from this blog

K8s - ETCD

SRE/DevOps Syllabus

K8s - Deployment and HPA replicas