View a markdown version of this page

AWS::PCS::ComputeNodeGroup SlurmConfiguration - 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 SlurmConfiguration

Additional options related to the Slurm scheduler.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "GresCustomSettings" : [ {Key: Value, ...}, ... ], "ScaleDownIdleTimeInSeconds" : Integer, "SlurmCustomSettings" : [ SlurmCustomSetting, ... ] }

Properties

GresCustomSettings

The additional Slurm gres.conf records for the compute node group. Each item is a map of gres.conf attribute names to values that describes one gres.conf record, such as a GPU topology, MIG, MPS, or custom GRES entry. Amazon PCS adds the NodeName= prefix and merges these records with the GPU record it derives from the instance type.

Required: No

Type: Array of Object

Update requires: No interruption

ScaleDownIdleTimeInSeconds

The time (in seconds) before an idle compute node is scaled down. Overrides the cluster-level ScaleDownIdleTimeInSeconds. If removed from the template, CloudFormation sets the value to -1, reverting to the cluster-level setting. Valid values: 1–10000000. Requires Slurm version 25.11 or later.

Required: No

Type: Integer

Minimum: 1

Maximum: 10000000

Update requires: No interruption

SlurmCustomSettings

Additional Slurm-specific configuration that directly maps to Slurm settings.

Required: No

Type: Array of SlurmCustomSetting

Update requires: No interruption