View a markdown version of this page

AWS::PCS::ComputeNodeGroup NodeLifecycleStages - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon 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 Amazon CloudFormation template, use the following syntax:

Properties

NodeBootstrapped

The scripts to run after Amazon 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: 1

Maximum: 20

Update 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: 1

Maximum: 20

Update requires: No interruption