Questions tagged [amazon-efs]

Anything related to Amazon Elastic File System (EFS). It offers an interface for creating and configuring file systems on Amazon EC2 enviroment.

Amazon Elastic File System (Amazon EFS) is a file storage service for Amazon Elastic Compute Cloud (Amazon EC2) instances. Amazon EFS is easy to use and provides a simple interface that allows you to create and configure file systems quickly and easily. With Amazon EFS, storage capacity is elastic, growing and shrinking automatically as you add and remove files, so your applications have the storage they need, when they need it.

582 questions
397
votes
13 answers

AWS EFS vs EBS vs S3 (differences & when to use?)

As per the title of this question, what are the practical differences between AWS EFS, EBS and S3? My understanding of each: S3 is a storage facility accessible any where EBS is a device you can mount onto EC2 EFS is a file system you can mount…
Integralist
  • 5,899
  • 5
  • 25
  • 42
18
votes
3 answers

Can't resolve DNS name of EFS while mounting it on red hat ec2 instances using putty

I am having an issue where I am unable to mount my EFS on red hat ec2 instance using the DNS names. It throws the error mount.nfs4: Failed to resolve server us-east-1a.fs-c2aXXXX.efs.us-east-1.amazon aws.com: Name or service not known I am…
Naxi
  • 1,504
  • 5
  • 33
  • 72
15
votes
2 answers

AWS Lambda EFS | EACCES: permission denied

So, I am trying to integrate my lambda function with EFS. I am able to access the root directory (as read-only from lambda) as I can see xyz directory available in my root dir. /mnt/ -> xyz When I try to access /mnt/xyz or /mnt/xyz/ then I get this…
15
votes
3 answers

How to mount AWS EFS to Macbook or local computers

I am trying to mount AWS EFS to my local MacBook (also other local computers) However, it is not working. My port 22 and 2049 is wide open as a testing. I tried few command like mount -t nfs4 -o nfservers=4.1 xxx.xxx.xxx.xxx:/ efs/ But I am keep…
anniepark90
  • 151
  • 1
  • 1
  • 3
14
votes
2 answers

Add efs volume to ecs fargate

I want use EFS with fargate but I have this error when the task start: ResourceInitializationError: failed to invoke EFS utils commands to set up EFS volumes: stderr: Failed to resolve "fs-xxxxx.efs.eu-west-1.amazonaws.com" - check that your file…
14
votes
4 answers

Attach Volume EFS in ECS

When trying to mount an EFS file system together with ECS, I get the following error: ResourceInitializationError: failed to invoke EFS utils commands to set up EFS volumes: stderr: mount.nfs4: Connection reset by peer : unsuccessful EFS utils…
ramondea
  • 177
  • 1
  • 2
  • 9
13
votes
1 answer

Mounting EFS to AWS Fargate using Terraform - PlatformTaskDefinitionIncompatibilityException error:

I'm receiving this curious error message PlatformTaskDefinitionIncompatibilityException: The specified platform does not satisfy the task definition’s required capabilities I suspect it's something to do with this line although not quite…
manoman687
  • 229
  • 2
  • 9
12
votes
4 answers

How do I get write access to EFS from Lambda?

I've created a lambda function. I created a Elastic File System (EFS) and access points using all the default settings. I attached the EFS to the lambda function, again just using the defaults. But! There is no write access to EFS. What did I…
12
votes
6 answers

Connection reset by peer : AWS EFS

I am trying to setup EFS and access it using EC2 instances in different availability zones. I have created a separate security group for EFS, which allows traffic for the security group attached to EC2 instances. Installed amazon-efs-utils utility…
Ashy Ashcsi
  • 1,529
  • 7
  • 22
  • 54
12
votes
4 answers

How to mount EFS on a Lambda function?

I need to run a periodic cleanup on my EFS drive (which is being shared by multiple autoscaling EC2 instances). The cleanup involves deleting files/folders that meet a certain criterion (date/size etc.). I imagined AWS Lambda to be the perfect…
lalit
  • 1,007
  • 2
  • 8
  • 17
11
votes
1 answer

AWS Ultra Low Latency Read/Write Data Store: EFS vs Dynamodb DAX vs ElastiCache

My web application requires extremely low-latency read/write of small data blobs (<10KB) that can be stored as key-value pairs. I am considering DynamoDB (with DAX) and EFS and ElastiCache. AWS claims that they all offer low latency but I cannot…
10
votes
1 answer

EFS mount on ECS Fargate - Read/write permissions denied for non root user

I have an ECS Fargate container running a nodejs application with non-root permissions and is also mounted to EFS on /.user_data inside the container. I followed this AWS tutorial. My setup is almost similar. Here is the Docker file: FROM…
boyfromnorth
  • 958
  • 4
  • 19
  • 41
10
votes
1 answer

EFS Restore backup access denied

When trying to restore File system from AWS Backup I'm getting the following error: Access Denied Insufficient privileges to perform this action. Please consult with the account administrator for necessary permissions. This is weird since I have…
Amit Baranes
  • 7,398
  • 2
  • 31
  • 53
10
votes
3 answers

Unable to mount EFS on EC2 instance; 'connection timed out' error

I am unable to mount EFS to an EC2 instance. It fails with a 'connection timed out' error. Steps used: Connected to Amazon EC2 instance using SSH created EFS Using DNS name in EFS trying to mount EFS on to the instance(using default security…
Deepthi
  • 101
  • 1
  • 1
  • 4
9
votes
4 answers

How can I mount an EFS share to AWS Fargate?

I have an AWS EFS share that I store container logs. I would like to mount this nfs share (aws efs) to AWS Fargate. Is it possible? Any supporting documentation link would be appreciated.
Squirrel
  • 1,283
  • 1
  • 13
  • 22
1
2 3
38 39