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 年前檢視次數 2299 次
2 個答案
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
已回答 2 年前
  • 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
專家
kentrad
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南