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回答
1
承認された回答

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
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ