How to upload local files to AWS Elastic File System (EFS)

Viewed 6894

I'd like to add files to my efs using command line but can't see any info online. I've mounted my EFS to an EC2 instance. Any idea how to do this?

2 Answers

try using the scp command you'll just need your pem and the public ID of your EC2

tutorial here

I deployed this solution via CloudFormation in AWS console https://aws.amazon.com/solutions/implementations/simple-file-manager-for-amazon-efs/ enter image description here

You will need to provide - Stack name and AdminEmail. Don't put a too long name for stack name, otherwise one nested stack deployment will fail.

enter image description here Wait until you see the status "CREATE_COMPLETE" for all stacks - main and nested. Open tab Outputs in the main stack and click the link. This link will direct you to the webpage where you need to log in with the previously provided email and temporary login you will receive on it.

Then click on "false" and wait until a new nested stack will be created. enter image description here

Create directory and upload file. enter image description here

https://www.youtube.com/watch?v=KTqWQy8k5i0

Related