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 年前2296 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则