Questions tagged [amazon-efs]

Amazon Elastic File System (Amazon EFS) is a managed cloud storage service, accessed using the NFS protocol version 4.1.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

PHP OpCache on Amazon EFS

Looking for some validation of my thought process here. I don't have the stats to hand to back up my claims, but have enough experience with web hosting with and without EFS to be comfortbale in ...
0
votes
0answers
30 views

Recommended ways to manage / edit files on Amazon EFS remotely?

We're starting to use AWS, making use of EFS for application / user data and configuration. Now I wonder what are good ways to access and manage these files remotely, for instance in order to edit a ...
0
votes
0answers
11 views

AWS EFS vs Aurora

We are considering how much would it cost to use SQLite with EFS vs Aurora MySQL because we think using EFS is less complex and covers all involved database security/reliability issues We understand ...
0
votes
2answers
58 views

Given an existing unencrypted AWS EFS volume, can somebody give me a path for encrypting it without data loss?

We have discovered that we really ought to have encrypted the MySql database and EFS volume on our application, at the time of creation. We are now attempting to correct the oversight. I've read the ...
0
votes
0answers
41 views

Nginx [emerg] open() “/var/log/nginx/domain-error.log” failed (24: Too many open files)

I know this has been asked a number of time, but none of the "answers" have solved our problem. Here is the error I'm getting in Nginx error.log 2021/03/09 07:32:00 [emerg] 1150#1150: open()...
2
votes
1answer
80 views

Hanging Apache requests using Ubuntu AMI on EFS volume

I noticed a strange behaviour on the setup that I created on AWS (eu-south-1 region) to evaluate the migration from our current provider. I want to deploy 1-n EC2 instances that serves web requests ...
1
vote
0answers
39 views

EC2 cannot access to EFS

Our website has mounted on 4 EC2 and 1 EFS. Sometimes EC2 servers cannot access to EFS. When I run commands like cd and ls, they are not responding when access is not available. When I restart the ...
0
votes
1answer
157 views

Dynamic nfs/efs volumes in kubernetes cluster

In the past we used the efs-provisioner to dynamically create volumes for our pods using nfs based storage. This worked like a charm but it was moved to the kubernetes-retired/external-storage which ...
0
votes
1answer
211 views

Schedule, Compress, and Transfer files from EC2/EFS to Glacier

I want to create a process to transfer files from EC2 / EFS, to Glacier - but with compression. Say there are directories with timestamps down to the hour. Every hour, I want a process that checks for ...
3
votes
0answers
161 views

Why does setting NFS sync option for AWS EFS cause nginx/Chrome to chunk or break a file upload?

Question: Why does an NFS mount using the sync option cause nginx and/or Chrome (and only Chrome; not Safari, Firefox, Edge or curl) to chunk or restart the file upload? Some background: I have nginx ...
1
vote
1answer
2k views

Root has no write permission to EFS volume

I created a new EFS volume and mounted it with the EFS mount helper. Here is the /etc/fstab: LABEL=cloudimg-rootfs / ext4 defaults,discard 0 0 fs-deadbeef:/ /mnt/efs efs _netdev,tls 0 0 ...
1
vote
1answer
597 views

Mounting EKS EFS with CSI Times Out before Pod Comes Up

I am using EKS with Kubernetes version 1.15 and when I create a Storageclass, Persistent-Volume, Persistent-Volume-Claim, and Deployment the pod fails with: Warning FailedAttachVolume 71s (x2 over ...
1
vote
1answer
551 views

ECS container not starting: error looking up volume plugin amazon-ecs-volume-plugin

I have a EC2 + EFS + ECS setup on which I run a few docker containers. My EC2 instance died, and a new one spun up, but when starting the tasks on the new instance, I get the following error message ...
1
vote
1answer
31 views

What is the best practice to manage multiple servers and shared a source code in a storage in AWS

I have a monolithic e-commerce website in management and like to expand it to multiple servers using a load balancer and single database server. load balancer -> server 1 -> db server ...
1
vote
1answer
411 views

Amazon EFS performance mounted for a k8 cluster of ec2 instances with small frequent writes [duplicate]

How performant is a shared mounted EFS if there are multiple ec2 instances with multiple containers all writing to separate files in separate directories? Can write performance on one container be ...
3
votes
2answers
465 views

Encrypt at rest existing AWS EFS instances - is it possible?

Based on my understanding of AWS documentation it appears that the only way to encrypt at rest existing EFS instances with some data is to create new EFS instances with encryption enabled and copy the ...
1
vote
1answer
412 views

Why does df say my EFS disk has a capacity of 8 Exabytes?

This is a screenshot from my AWS EC2 instance, which the EFS disk is mounted on: How can this be?
0
votes
1answer
232 views

AWS EFS mount to EC2 Amazon linux

Alright everyone, I have no idea what I am doing wrong here. I am setting up Apache on a linux EC2 instance on AWS. The install for APACHE was fine following these white papers posted by amazon ...
0
votes
0answers
496 views

How can I setup an SQLite database for serverless Cloud Functions?

I have some Serverless Lambda Functions and I would like to host an SQLite database with about a GB of data for free or very cheaply (1 USD per month). My initial thought is to use Amazon Elastic ...
0
votes
1answer
215 views

How do I know if a file has been fully written when using AWS EFS

So I decided to use EFS as a shared filesystem for my EC2 instances. Our microservices, which are deployed on different instances, need to read and write to a shared space. One service basically puts ...
7
votes
1answer
2k views

I want to put WordPress — all of it — on EFS. Should I?

I have a WordPress site that, as of now, I am running completely on an Amazon Lightsail instance. It gets properly backed up; availability is okay; security is good; it's a simple setup to maintain. ...
0
votes
1answer
113 views

No route to host when trying to mount EFS on an EC2 instance

I am getting this output when running a mount -av on my EC2 instance: I already have the allow incoming in the security group for the IP of EFS and the allow for the IP of the EC2 in the security ...
2
votes
0answers
196 views

Failing fast with an EFS NFS mount

We run a Java application distributed across a number of servers, part of which involves the writing and reading of shared files. This side of the application is currently held together by a bunch of ...
1
vote
1answer
184 views

How To Save NextCloud Files to EFS

So i have a nextcloud server in an EC2 instance, i have an EFS mounted to it but im not sure how to make nextcloud save the files on the EFS instead of EC2. Are there any guides or tutorials out there ...
1
vote
1answer
103 views

Where do I store data in AWS AutoScaling Group?

I have been using the Bitnami multi-tier WordPress stack on AWS. I know how to use autoscaling on AWS, but none of the documentation has showed me where to store changeable data files when using ...
1
vote
1answer
777 views

What is the difference between “Amazon Storage Gateway” and another storages?

I use "Amazon Web Services (AWS)" and I think about share storage with more instances "Elastic Compute Cloud (EC2)". Data grows by client usage, and may be searched in those data. Obviously I should ...
0
votes
1answer
626 views

Mounting EFS volume fails on elastic beanstalk deployment

I am trying to learn deploying on elastic beanstalk. I am following this particular doc to deploy a wordpress application with load balancers. Application deployment keeps failing with this error [...
1
vote
1answer
49 views

Are there any benefits of using a dedicated NFS box on EC2 to using EFS directly?

Basically, since we have a bunch of EC2 instances that require a central attached drive, an NFS box was setup (this was before EFS was available in our zone). Is there any reason to (or not to) switch ...
3
votes
1answer
329 views

How to share a EFS/s3 with code in a auto scaling group?

the main problem is: Infrastructure: Autoscaling (min 1 - max 3) RDS ELB elasticache (redis) elasticsearch I want to share a volume (EFS / S3) with the code of my application; The size of it is ...
0
votes
1answer
2k views

Use Amazon repo in Centos 7

I set up a Centos 7 instance on EC2 and i need to mount a couple of EFS filesystems. Because Centos 7 and Amazon Linux 2 are pretty similar, I am wondering if could be possible to add Amazon Linux ...
2
votes
1answer
159 views

AWS Instances breeding and dying for no apparent reason

This has happened a couple of times since we moved our cluster project from Google to AWS. We have an EFS volume that's mounted on a load-balanced cluster in a Beanstalk project. I will be in the ...
1
vote
3answers
617 views

AWS - EFS Replication

I'm looking to replicate an existing EFS to a new EFS and mount it to a cloned environment for testing purposes but can't seem to find any good information on it. To clarify - I'll be replicating an ...
3
votes
3answers
513 views

Using S3 as a alternative to EFS for backup purpose

For centralised backup purpose of specific data from my instances, i was using EBS Volume mounted to that instances. Now we are planning to migrate to another region, but EFS service is not available ...
1
vote
1answer
70 views

Mounting EFS Volume in Non available region

Is there any way to mount EFS volume to multiple instances in Mumbai Region. EFS service is currently not available in Mumbai region.Or is there any other service which i can use instead of EFS. I ...
2
votes
1answer
916 views

Inotify does not work on EFS (remote filesystem)

I tried to use inotify notifications, to check for filesystem events, but it does not work. no file-system vent notifier worked. Is there any inotify utility available for remote file system like EFS,...
1
vote
1answer
634 views

Set default file permission mode without ACLs

I have an AWS EFS share, which does not support filesystem ACLs. How can I set a folder inside the EFS share to default to mode 664?
0
votes
1answer
315 views

pv and pvc - kube- efs

I am using PV with EFS. I have created a PV and PVC. My PV goes back to released status after I delete my StatefulSets. When I delete and re-apply my StatefulSets, it does not get attached to the same ...
1
vote
2answers
16k views

How to mount with uid and gid using NFS?

I would like to mount an AWS EFS location with the efs driver which internaly uses nfs. Now the question is: How do I automatically mount a location with specific uid and gid? With sshfs e.g. I would ...
1
vote
2answers
405 views

Migrating EFS across regions

Have an EFS with two mount targets in US-N.California region and I need to move all the data over to US-Oregon region. Would appreciate any inputs around that.
1
vote
1answer
437 views

Mount NFS4 share as different user

I have an AWS EFS NFS4 share (shareA) that is mounted by some servers where all files are owned by userA/uid=800. I'd like to mount that share onto the b-series servers, configured to look like userB/...
0
votes
1answer
370 views

Tool to track folder changes recursively in ubuntu 16.04

Is there any tool with which I would be able to track any changes happening recursively inside a particular folder? I have used inotifytools and fswatch but both are hitting the server performance ...
2
votes
3answers
8k views

NFS mount across EC2 instances as alternative to EFS

I'm configuring an application to run in AWS in "full-framework" deployment. One aspect of this deployment requires each server to be able to see a common storage location. They recommend using a ...
2
votes
2answers
1k views

Amazon EFS as code repository for auto-scaled EC2s

tl;dr: I need to set up a fast automatic sync from EFS to multiple EC2s I've set up an EC2 Auto-Scaling Group in AWS and I'm looking for the best way to manage code deployments to my instances, with ...
1
vote
0answers
101 views

The idiomatic approach to mounting “configuration” volumes on ECS?

I have a docker container that I would like to "port" to ECS. My Dockerfile contains a VOLUME instruction: VOLUME /app/configuration So using docker on a linux machine, you just point to the ...
0
votes
0answers
2k views

modifying httpd.conf file apache aws EC2

0 down vote favorite I have an EFS file system mounted to multiple EC2 instances. I am trying to change apache config file. I don't want my index.html to be on the EC2 instance hard drive. Instead I ...
1
vote
0answers
771 views

Sharing mounted EFS from Linux EC2 to Windows has terrible performance

I've followed a large amount of advice in establishing an EFS share that can be accessed through windows. The procedure is basically outlined here: Adding EFS to Windows Tutorial Following this, I ...
2
votes
1answer
1k views

wget hangs/freezes when downloading file into NFS

I'm running some experiments with Amazon EFS (General purpose) and EC2 and I have the issue that EFS seems to act unstable. Commands that involve the mounted file system would hang or freeze. For ...
0
votes
2answers
508 views

Apache ServerRoot on NFS and Mutex configuration

I'm working on a new setup for a "stateless server" that should be used as an Apache/Php node to deliver contents over the internet. My aim is to move the DocumentRoot and the ServerRoot to NFS (it ...
4
votes
1answer
3k views

Amazon EFS hangs when attempting to list files inside

When doing an ls inside an Amazon EFS mount point, it just hangs. The EFS troubleshooting section on AWS EFS troubleshooting Mentions the following: Mount Does Not Respond An Amazon EFS ...
1
vote
1answer
2k views

“No space left on device” reported; trying to transfer files to EFS through EC2 instance via SCP

My setup is based on this article: https://parall.ax/blog/view/3212/how-to-run-scalable-wordpress-on-aws-amazon-web-services-tutorial I.e. Wordpress hosting via Elastic Beanstalk with a separate RDS ...