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
asked a year ago213 views
1 Answer
1
Accepted Answer

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
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions