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 ?

demandé il y a 4 mois106 vues
1 réponse
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
répondu il y a 3 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions