I am trying to learn deploying on elastic beanstalk. I am following this particular doc to deploy a wordpress application with load balancers. Application deployment keeps failing with this error
[Instance: i-<instance-id>] Command failed on instance.
Return code: 1 Output: (TRUNCATED)...fs4 -o nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 <efs-id>.efs.us-east-2.amazonaws.com:/ /wpfiles mount.nfs4:
Failed to resolve server <efs-id>.efs.us-east-2.amazonaws.com: Name or service not known
ERROR: Mount command failed!. command 01_mount in .ebextensions/efs-mount.config failed.
Seem like EFS volume is being created, but not being mounted. What could be the reason for mount failure?