EFS not mounted to AWS PCS Login Compute Node Group Instance

0

I followed AWS PCS documentation - Getting Started sections.

In Login Node instance, I don't see EFS mounted to it.

Typically /home should be configured as NFS mount per documentation.

Tried to mount using amazon-efs-utils as below (replaced REAL_EFS_FILE_SYSTEM_ID with real EFS Id):

  - mkdir -p /tmp/home
  - rsync -a /home/ /tmp/home
  - echo REAL_EFS_FILE_SYSTEM_ID:/ /home efs tls,_netdev" >> /etc/fstab
  - mount -o iam -a -t efs defaults

Got Error:

mount.nfs4: access denied by server while mounting 127.0.0.1:/

I have following Policy in IAM Role associated with IAM Instance Profile attached to Login Node:

arn:aws:iam::aws:policy/AmazonElasticFileSystemClientReadWriteAccess

Wonder why EFS is not mounted ?

已提问 4 个月前106 查看次数
1 回答
0

Hi @RDX, were you able to solve the issue?

In case like this I'd start checking Security Groups associated to the cluster, checking if port 2049 is accessible.

References:

Enrico

AWS
已回答 3 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则