What is the total number of EFS volumes that can be created in a VPC?

1

I need to figure out how many EFS volumes can actually be created within a VPC. I'm aware that 1000 volumes can be created within an account, and this quota is adjustable. However, based on EFS mount target quotas it sounds like only 400 mount targets can be created within a VPC.

I'm currently using 3 availability zones per EFS (3 mount targets per filesystem). Does this quota mean that I will only be able to launch 133 EFS volumes within a VPC?

Looking for a solution that allows us to scale to as many EFS volumes as possible within a VPC.

asked 2 years ago853 views
2 Answers
2

I'm assuming the reason for so many file systems is for isolation of files. Have you taken a look at Access Points for EFS? This might help you to leverage fewer file systems and still be able to isolate use cases: https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html

profile pictureAWS
EXPERT
Rob_H
answered 2 years ago
  • Yes, you're correct. My plan is to isolate compute and storage for each customer via Lambda and EFS.

    Using Access Points does seem like a possible solution. I was using an IAM policy to restrict the access to the filesystem, and it looks like I can do something similar with access points. This does have a few drawbacks though:

    • Data isn't truly isolated, is enforcing a root directory enough?
    • Would lose the ability to encrypt the data with distinct keys per customer
    • Customers would share IOPS which would force me to use Max/IO instead of General Purpose performance which is slower
  • Access points are limited to 120 per file system. So this would only help if you add complex logic to organize which access point of which EFS volume should be used for each case.

    The alternative way to scale would be to create more VPCs so that you can have more EFS volumes with mount points, but then to connect them you'd need some complex VPC peering set up.

0

To my understanding you are correct - if you are using 3 availability zones for each filesystem you'll be limited to 133 filesystems before hitting the mount quota limit (400) which cannot be increased. You might want to consider if Amazon FSx for Ontap better meets your requirements

AWS
EXPERT
Peter_G
answered 2 years ago
  • Thanks for the suggestion but Amazon FSx for Ontap doesn't seem to fit the use case based on price.

  • Noting: FSx seems to have a default quota of 100 Filesystems per AWS account. You can request quota increases, though it is not clear to what limit. So this may be more restrictive than the 133 EFS volumes per VPC.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions