Why can't EFS be associated with an Elastic IP?

0

I want to be able to mount EFS outside my VPC. However, when I try to assign a static Elastic IP to the network interface of EFS, I get the following error:

Failed to associate address with eni-0fa8cf69d68b7bb01: You do not have permission to access the specified resource.

AWS EC2 admin console showing the error

I don't think that I "do not have permission" because I'm the owner of the account and I have the AdministratorAccess IAM policy.

Why is that error appearing? Is there a way to make EFS publicly accessible?

1개 답변
1

Associating an Elastic IP (or Public IP) with EFS isn't supported. And besides, I don't think that associating an Elastic IP with EFS is a good idea from a security perspective. That makes EFS public accessible (something that you point out in your question).

What are you trying to do? Why make EFS public at all?

profile pictureAWS
전문가
답변함 일 년 전
  • Yep, I understand the consequences of making EFS public. What I want to do is to be able to mount EFS on my own Windows machine (via WSL), just for ease of use.

    That's currently only possible via SSH tunneling through a jump server, which makes it impossible to use access points, because the efs mount helper doesn't quite work out. I asked a separate question, where I lay out the entire problem.

    Ideally, I'd be able to associate an EIP with EFS, then only allow traffic from my own IP in the NACLs.

  • Normally, I'd suggest Client VPN for this because it's probably easier than running your own jump host.

  • It would be a lot more expensive, though. Looking at the Client VPN pricing page, it would start at around $72/month. Would it allow me to use EFS access points through the EFS helper? As I've explained in my other question, I ran into problems when trying to do that over a jump host.

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠