By using AWS re:Post, you agree to the Terms of Use

EFS to s3 DataSync task failed to access location

0

Hi guys, I'm trying to copy data from efs that is in us-east-1 to a s3 in us-east-1, so I created a new datasync to do the job.

The mount target is the ip address of the EFS filesystem and it's complaining about security group issue.

Here is the error: Task failed to access location loc-0426eaa718cb13c76: x40016: Failed to connect to EFS mount target with IP: 10.107.196.128. Please ensure that mount target's security group allows 2049 ingress from the DataSync security group or hosts within the mount target's subnet. The DataSync security group should also allow all egress to the EFS mount target and its security group.

I am having hard time deciphering the 2 statements.

  1. Please ensure that mount target's security group allows 2049 ingress from the DataSync security group or hosts within the mount target's subnet.

Is the mount target the EFS or the EC2 instance that EFS is mounted on? If I am not mistaken, EFS do not have security groups but the EC2 instance does, so is the 1st statement asking me to ensure that EC2 instance security group allow 2049 in bound from DataSync security group?

  1. The DataSync security group should also allow all egress to the EFS mount target and its security group.

after creating DataSync security group, do I add this new group to the EC2 instance that EFS is mounted to?

Thank you.

1 Answer
0

Hello,

Amazon EFS file systems are deployed to specific subnets and security groups within your VPC. You can find information on the EFS filesystems network in the AWS console when navigating to the EFS file systems network tab. DataSync will create ENIs within this subnet to mount and move data from EFS.

The security groups where EFS is deployed should allow communication to port 2049 to allow DataSync to connect to the EFS mount point.

https://docs.aws.amazon.com/datasync/latest/userguide/datasync-network.html

Thanks.

answered 14 days ago

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