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 ?

gefragt vor 4 Monaten106 Aufrufe
1 Antwort
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
beantwortet vor 3 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen