Is it possible to make EFS publicly accessible?

0

I want to make a EFS publicly access to a client. Is there any way to make the File system public? I have attached it to a public subnet but it still gets a private IP. Is it even possible?

2 réponses
2

Hi! If you're looking to share EFS with a client, I would recommend against making it completely publicly accessible.

You can share EFS with other accounts via IAM: https://aws.amazon.com/premiumsupport/knowledge-center/access-efs-across-accounts/.

You will need to mount it with IAM: https://docs.aws.amazon.com/efs/latest/ug/iam-access-control-nfs-efs.html.

If it must be publicly accessible via networking, I would suggest ensuring the IAM policies on EFS lock down access to only the client and no one else.

You could also look into EFS Access Points: https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html

Edited based on the poster's comment below. Amazon does not allow these to be assigned public IPs: https://docs.aws.amazon.com/efs/latest/ug/sg-information.html. "File system mount targets can't have public IP addresses associated with them"

To allow network connectivity from your client, you could do VPC Peering or use a Transit Gateway.

jsonc
répondu il y a 2 ans
  • I have went through the docs. The problem is EFS file system needs a VPC and hence everytime a private IP is assigned to the share. I am not able to get a Public IP assigned to the File System. How do i make a EFS publicly accessible?

  • As per the answer above: You can't make EFS filesystems public. It's generally a really bad idea to make filesystems public - I would find another way to do whatever it is you're trying to do. Perhaps ask that as a question?

0

Maybe this is what you are looking for? Using AWS Transfer Family to access files in your Amazon EFS file system. You can access the files via SFTP instead of NFS.

profile pictureAWS
EXPERT
kentrad
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions