This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::PCS::ComputeNodeGroup NodeLifecycleStages
The stages of a compute node's lifecycle where you can configure scripts to run.
Syntax
To declare this entity in your CloudFormation template, use the following syntax:
JSON
{ "NodeBootstrapped" :[ NodeLifecycleScript, ... ], "NodeReady" :[ NodeLifecycleScript, ... ]}
Properties
NodeBootstrapped-
The scripts to run after AWS PCS finishes setting up the compute node and before the Slurm daemon (
slurmd) starts. Use this stage for tasks that must complete before the node accepts jobs, such as mounting shared storage, configuring networking, or installing software packages.Required: No
Type: Array of NodeLifecycleScript
Minimum:
1Maximum:
20Update requires: No interruption
NodeReady-
The scripts to run after the Slurm daemon (
slurmd) starts and the compute node registers with the Slurm controller. Use this stage for tasks that require Slurm to be running, such as running Slurm commands.Required: No
Type: Array of NodeLifecycleScript
Minimum:
1Maximum:
20Update requires: No interruption