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?

JohnB
preguntada hace un año217 visualizaciones
1 Respuesta
1
Respuesta aceptada

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 hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas