Skip to main content

Reference

All fields, defaults, limits, and error codes for Slurm clusters.

Reference

Create Cluster input fields

FieldTypeRequiredNotes
namestringYes1-128 chars, alphanumeric + hyphens. Used as CloudFormation stack name for AWS. Must be unique within the org.
cluster_typeenumYesMust be slurm.
cloud_account_idintNoOmit for on-premises or LXD clusters.
descriptionstringNoHuman-readable description.
secretstringNo24-32 chars. Keycloak client secret. Auto-generated if omitted.
partitions[PartitionInput]AWS onlyAt least one partition required for AWS Slurm clusters.
node_typestringAWS onlyEC2 instance type (e.g., p3.2xlarge).
instance_key_pair_namestringAWS onlyEC2 key pair name for SSH access.
subnet_idstringAWS onlyVPC subnet for cluster nodes.
region_namestringAWS onlyAWS region (e.g., us-east-1).
vpc_idstringAWS onlyOptional; inferred from subnet if omitted.
min_node_countintAWS onlyAutoscaler minimum.
max_node_countintAWS onlyAutoscaler maximum.

Partition input fields

FieldTypeRequiredNotes
namestringYesPartition name (maps to Slurm PartitionName).
node_typestringYesEC2 instance type for worker nodes.
min_node_countintNoAutoscaler minimum. Default: 0.
max_node_countintYesAutoscaler ceiling.
is_defaultboolNoWhether this is the default partition. Default: false.

Limits

LimitValueNotes
Cluster name length1-128 charsMax 27 chars recommended for AWS (CloudFormation stack name limit).
Cluster name charactersAlphanumeric + hyphensMust start and end with alphanumeric.
Partitions per cluster20Contact support to increase.
Max nodes per partition100Contact support to increase.
Cluster limit per tierVaries by subscription tierCheck your subscription settings.
Secret length24-32 charsOnly required if you need a specific Keycloak client secret.

Error codes

ConditionError typePhase
Name already in useClusterNameInUseValidation
Cluster limit reachedSubscriptionLimitReachedValidation
Invalid cluster type/provider comboValidationErrorValidation
Keycloak client creation failsUnexpectedBehaviorSynchronous (cluster not created)
CloudFormation stack creation failsClusterCouldNotBeDeployedBackground (cluster stays in preparing)
Node registration timeoutClusterCouldNotBeDeployedBackground (cluster transitions to failed)

Database operations

TableOperationWhen
clusterINSERTAlways
slurm_clusterINSERTAlways
cluster_partitionsINSERT (N rows)AWS Slurm, one per partition
cloud_accountSELECTFetch provider + credentials

External service calls

ServiceCallWhen
KeycloakCreate OAuth2 clientAll paths
AWS CloudFormationcreate_stackAWS Slurm
AWS IAMRole ARN validationAWS paths
Ask AI
Ask a question about Vantage Compute...