Point parallel cluster onNodeConfigured option to script on locally mounted filesystem

0

When setting up a parallel cluster, there is an option to mount an EFS file system on head and compute nodes with something like:

SharedStorage:
  - MountDir: /efs
    Name: standard-efs
    StorageType: Efs
    EfsSettings:
      FileSystemId: fs-blah

There is also a way to run an automatic configuration script on head/compute nodes with, e.g.,:

HeadNode:
  CustomActions:
    OnNodeConfigured: script-url

Currently, script-url has to start with s3:// or https://. Is there a way to point a head/compute node configuration script to my mounted EFS dir, e.g., to file://efs/my-node-setup.sh?

1 Resposta
1
Resposta aceita

Hi JohnB,

this is currently not possible, as workaround you could use a simple script in s3 that calls the script in the efs storage:

HeadNode:
  CustomActions:
    OnNodeConfigured: s3://simple-script.sh

content of the simple-script.sh:

bash /efs/my-node-setup.sh

Enrico

AWS
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas