Docker: Elastic Beanstalk with EFS filesystem

0

Hello everybody, I am trying to start a docker service on aws beanstalk by mounting an EFS filesystem. I keep getting the error:

Failed to resolve "fs-XXXXXX.efs.eu-west-1.amazonaws.com" - check that your file system ID is correct, and ensure that the VPC has an EFS mount target for this file system ID.
Attempting to lookup mount target ip address using botocore. 
Failed to import necessary dependency botocore, please install botocore first.
ERROR: Mount command failed!

I made the release with a zip file containing

  • dockerfile
  • Dockerrun.aws.json
  • application.jar
  • .ebextensions
  • containing: storage-efs-mountfilesystem.config

I set the EFS subnet by opening port 2049 in inbound. and I also tried with the default vpc which has everything open

Thanks for your support

asked 2 years ago106 views
No Answers

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