# aws efs mount connection time out

**URL:** <https://forum.ansible.com/t/aws-efs-mount-connection-time-out/32578>\
**Category:** Ansible Project\
**Tags:** aws\
**Created:** [April 1, 2020, 6:58am UTC](https://forum.ansible.com/t/aws-efs-mount-connection-time-out/32578 "2020-04-01T06:58:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandy.hung](https://avatars.discourse-cdn.com/v4/letter/s/ecb155/32.png) [@sandy.hung](https://forum.ansible.com/u/sandy.hung)\
**Post date:** [April 1, 2020, 6:58am UTC](https://forum.ansible.com/t/aws-efs-mount-connection-time-out/32578/1 "2020-04-01T06:58:55Z")

</div>

Hi

i try inbound rule add nfs port 2049 to scertiy group id  
but still show error connection time out  
no idea how to solved

- name: mount efs volume  
mount:  
path: “/home/ec2-user/{{ efs\_vol\_name }}”  
src: “{{ efs\_fact\_id }}.efs.ap-southeast-1.amazonaws.com:/”  
fstype: “nfs4”  
opts: “nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport”  
state: mounted  
become: yes

- name: change directory owner  
file:  
dest: “/home/ec2-user/{{ efs\_vol\_name }}”  
owner: “ec2-user”  
group: “ec2-user”  
state: directory  
become: yes

---

<div class="post-metadata">

**Author:** ![Dick\_Visser](https://avatars.discourse-cdn.com/v4/letter/d/d9b06d/32.png) [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Post date:** [April 1, 2020, 7:13am UTC](https://forum.ansible.com/t/aws-efs-mount-connection-time-out/32578/2 "2020-04-01T07:13:19Z")

</div>

Hi

This seems to be an issue with the specifics of your environment, and  
not with ansible.
