Skip to content

efsu is for accessing AWS EFS from your machine without a VPN

Notifications You must be signed in to change notification settings

glassechidna/efsu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

efsu: VPN-less access to AWS EFS

efsu is for accessing AWS EFS from your machine without a VPN. It achieves this by deploying a Lambda function and shuttling data between your machine and EFS via that function.

Getting started

  • Mac: brew install glassechidna/taps/efsu
  • Windows: scoop bucket add glassechidna https://github.com/glassechidna/scoop-bucket.git; scoop install efsu
  • Otherwise get the latest build from the [Releases][releases] tab.

Next, run the first-time setup. This will deploy the Lambda function that your local CLI will communicate with:

efsu setup \
--subnet-id subnet-abc0123 \
--security-group-id sg-abc0123 \
--access-point-arn arn:aws:elasticfilesystem:us-east-1:0123456789012:access-point/fsap-01234aEXAMPLE

Now you're ready to go!

Usage

% efsu ls -R /mnt/efs

ls will list files in EFS. The -R flag will recursively list files in all subdirectories.

% efsu cp /mnt/file.txt .

cp will copy files from EFS to your machine. NOTE: Currently only copying one file from EFS is supported.

TODO

  • cp -R recursive copies
  • mkdir [-p]
  • rm [-r]
  • Get feedback