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 個月前檢視次數 108 次
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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南