Cannot mount EFS to EC2

Hi Sanjeev,

Doubt in topic:
Services → Storage → EFS DemoWhenever I try to mount the EFS through

EC2 cli I get below error:

> [ec2-user@ip-10-0-0-78 ~]$ sudo mount.efs fs-0f4085e9d1e5f5ec3 /efsdemo/
Failed to resolve “fs-0f4085e9d1e5f5ec3.efs.us-east-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.
See Mounting on Amazon EC2 with a DNS name - Amazon Elastic File System for more detail.
Attempting to lookup mount target ip address using botocore. Failed to import necessary dependency botocore, please install botocore first.


I have created EC2 instances and a separate Security Group for EFS with "In Bound" => Allow All Traffic.

Please guide me here.

It is much simpler and recommended to use the efs mount helper. Then you only need to state the filesystem ID