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

已提問 2 年前檢視次數 112 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南