Amazon SageMaker Service

2026/09/30 - Amazon SageMaker Service - 4 updated api methods

Changes  This feature enables customers to modify their accounting database via API.

CreateCluster (updated) Link ¶
Changes (request)
{'Orchestrator': {'Slurm': {'AccountingDatabase': {'Endpoint': 'string',
                                                   'Name': 'string',
                                                   'Port': 'integer',
                                                   'SecretArn': 'string'}}}}

Creates an Amazon SageMaker HyperPod cluster. SageMaker HyperPod is a capability of SageMaker for creating and managing persistent clusters for developing large machine learning models, such as large language models (LLMs) and diffusion models. To learn more, see Amazon SageMaker HyperPod in the Amazon SageMaker Developer Guide.

See also: AWS API Documentation

Request Syntax

client.create_cluster(
    ClusterName='string',
    InstanceGroups=[
        {
            'InstanceCount': 123,
            'MinInstanceCount': 123,
            'InstanceGroupName': 'string',
            'InstanceType': 'ml.p4d.24xlarge'|'ml.p4de.24xlarge'|'ml.p5.48xlarge'|'ml.p5.4xlarge'|'ml.p6e-gb200.36xlarge'|'ml.trn1.32xlarge'|'ml.trn1n.32xlarge'|'ml.g5.xlarge'|'ml.g5.2xlarge'|'ml.g5.4xlarge'|'ml.g5.8xlarge'|'ml.g5.12xlarge'|'ml.g5.16xlarge'|'ml.g5.24xlarge'|'ml.g5.48xlarge'|'ml.c5.large'|'ml.c5.xlarge'|'ml.c5.2xlarge'|'ml.c5.4xlarge'|'ml.c5.9xlarge'|'ml.c5.12xlarge'|'ml.c5.18xlarge'|'ml.c5.24xlarge'|'ml.c5n.large'|'ml.c5n.2xlarge'|'ml.c5n.4xlarge'|'ml.c5n.9xlarge'|'ml.c5n.18xlarge'|'ml.m5.large'|'ml.m5.xlarge'|'ml.m5.2xlarge'|'ml.m5.4xlarge'|'ml.m5.8xlarge'|'ml.m5.12xlarge'|'ml.m5.16xlarge'|'ml.m5.24xlarge'|'ml.t3.medium'|'ml.t3.large'|'ml.t3.xlarge'|'ml.t3.2xlarge'|'ml.g6.xlarge'|'ml.g6.2xlarge'|'ml.g6.4xlarge'|'ml.g6.8xlarge'|'ml.g6.16xlarge'|'ml.g6.12xlarge'|'ml.g6.24xlarge'|'ml.g6.48xlarge'|'ml.gr6.4xlarge'|'ml.gr6.8xlarge'|'ml.g6e.xlarge'|'ml.g6e.2xlarge'|'ml.g6e.4xlarge'|'ml.g6e.8xlarge'|'ml.g6e.16xlarge'|'ml.g6e.12xlarge'|'ml.g6e.24xlarge'|'ml.g6e.48xlarge'|'ml.p5e.48xlarge'|'ml.p5en.48xlarge'|'ml.p6-b200.48xlarge'|'ml.trn2.3xlarge'|'ml.trn2.48xlarge'|'ml.c6i.large'|'ml.c6i.xlarge'|'ml.c6i.2xlarge'|'ml.c6i.4xlarge'|'ml.c6i.8xlarge'|'ml.c6i.12xlarge'|'ml.c6i.16xlarge'|'ml.c6i.24xlarge'|'ml.c6i.32xlarge'|'ml.m6i.large'|'ml.m6i.xlarge'|'ml.m6i.2xlarge'|'ml.m6i.4xlarge'|'ml.m6i.8xlarge'|'ml.m6i.12xlarge'|'ml.m6i.16xlarge'|'ml.m6i.24xlarge'|'ml.m6i.32xlarge'|'ml.r6i.large'|'ml.r6i.xlarge'|'ml.r6i.2xlarge'|'ml.r6i.4xlarge'|'ml.r6i.8xlarge'|'ml.r6i.12xlarge'|'ml.r6i.16xlarge'|'ml.r6i.24xlarge'|'ml.r6i.32xlarge'|'ml.i3en.large'|'ml.i3en.xlarge'|'ml.i3en.2xlarge'|'ml.i3en.3xlarge'|'ml.i3en.6xlarge'|'ml.i3en.12xlarge'|'ml.i3en.24xlarge'|'ml.m7i.large'|'ml.m7i.xlarge'|'ml.m7i.2xlarge'|'ml.m7i.4xlarge'|'ml.m7i.8xlarge'|'ml.m7i.12xlarge'|'ml.m7i.16xlarge'|'ml.m7i.24xlarge'|'ml.m7i.48xlarge'|'ml.r7i.large'|'ml.r7i.xlarge'|'ml.r7i.2xlarge'|'ml.r7i.4xlarge'|'ml.r7i.8xlarge'|'ml.r7i.12xlarge'|'ml.r7i.16xlarge'|'ml.r7i.24xlarge'|'ml.r7i.48xlarge'|'ml.r5d.16xlarge'|'ml.g7e.2xlarge'|'ml.g7e.4xlarge'|'ml.g7e.8xlarge'|'ml.g7e.12xlarge'|'ml.g7e.24xlarge'|'ml.g7e.48xlarge'|'ml.p6-b300.48xlarge'|'ml.g4dn.xlarge'|'ml.g4dn.2xlarge'|'ml.g4dn.4xlarge'|'ml.g4dn.8xlarge'|'ml.g4dn.12xlarge'|'ml.g4dn.16xlarge'|'ml.c6g.medium'|'ml.c6g.large'|'ml.c6g.xlarge'|'ml.c6g.2xlarge'|'ml.c6g.4xlarge'|'ml.c6g.8xlarge'|'ml.c6g.12xlarge'|'ml.c6g.16xlarge'|'ml.c7g.medium'|'ml.c7g.large'|'ml.c7g.xlarge'|'ml.c7g.2xlarge'|'ml.c7g.4xlarge'|'ml.c7g.8xlarge'|'ml.c7g.12xlarge'|'ml.c7g.16xlarge'|'ml.c8g.medium'|'ml.c8g.large'|'ml.c8g.xlarge'|'ml.c8g.2xlarge'|'ml.c8g.4xlarge'|'ml.c8g.8xlarge'|'ml.c8g.12xlarge'|'ml.c8g.16xlarge'|'ml.c8g.24xlarge'|'ml.c8g.48xlarge'|'ml.c6a.large'|'ml.c6a.xlarge'|'ml.c6a.2xlarge'|'ml.c6a.4xlarge'|'ml.c6a.8xlarge'|'ml.c6a.12xlarge'|'ml.c6a.16xlarge'|'ml.c6a.24xlarge'|'ml.c6a.32xlarge'|'ml.c6a.48xlarge'|'ml.m6a.large'|'ml.m6a.xlarge'|'ml.m6a.2xlarge'|'ml.m6a.4xlarge'|'ml.m6a.8xlarge'|'ml.m6a.12xlarge'|'ml.m6a.16xlarge'|'ml.m6a.24xlarge'|'ml.m6a.32xlarge'|'ml.m6a.48xlarge'|'ml.m6g.medium'|'ml.m6g.large'|'ml.m6g.xlarge'|'ml.m6g.2xlarge'|'ml.m6g.4xlarge'|'ml.m6g.8xlarge'|'ml.m6g.12xlarge'|'ml.m6g.16xlarge'|'ml.m7g.medium'|'ml.m7g.large'|'ml.m7g.xlarge'|'ml.m7g.2xlarge'|'ml.m7g.4xlarge'|'ml.m7g.8xlarge'|'ml.m7g.12xlarge'|'ml.m7g.16xlarge'|'ml.m8g.medium'|'ml.m8g.large'|'ml.m8g.xlarge'|'ml.m8g.2xlarge'|'ml.m8g.4xlarge'|'ml.m8g.8xlarge'|'ml.m8g.12xlarge'|'ml.m8g.16xlarge'|'ml.m8g.24xlarge'|'ml.m8g.48xlarge'|'ml.g7.2xlarge'|'ml.g7.4xlarge'|'ml.g7.8xlarge'|'ml.g7.12xlarge'|'ml.g7.24xlarge'|'ml.g7.48xlarge',
            'InstanceRequirements': {
                'InstanceTypes': [
                    'ml.p4d.24xlarge'|'ml.p4de.24xlarge'|'ml.p5.48xlarge'|'ml.p5.4xlarge'|'ml.p6e-gb200.36xlarge'|'ml.trn1.32xlarge'|'ml.trn1n.32xlarge'|'ml.g5.xlarge'|'ml.g5.2xlarge'|'ml.g5.4xlarge'|'ml.g5.8xlarge'|'ml.g5.12xlarge'|'ml.g5.16xlarge'|'ml.g5.24xlarge'|'ml.g5.48xlarge'|'ml.c5.large'|'ml.c5.xlarge'|'ml.c5.2xlarge'|'ml.c5.4xlarge'|'ml.c5.9xlarge'|'ml.c5.12xlarge'|'ml.c5.18xlarge'|'ml.c5.24xlarge'|'ml.c5n.large'|'ml.c5n.2xlarge'|'ml.c5n.4xlarge'|'ml.c5n.9xlarge'|'ml.c5n.18xlarge'|'ml.m5.large'|'ml.m5.xlarge'|'ml.m5.2xlarge'|'ml.m5.4xlarge'|'ml.m5.8xlarge'|'ml.m5.12xlarge'|'ml.m5.16xlarge'|'ml.m5.24xlarge'|'ml.t3.medium'|'ml.t3.large'|'ml.t3.xlarge'|'ml.t3.2xlarge'|'ml.g6.xlarge'|'ml.g6.2xlarge'|'ml.g6.4xlarge'|'ml.g6.8xlarge'|'ml.g6.16xlarge'|'ml.g6.12xlarge'|'ml.g6.24xlarge'|'ml.g6.48xlarge'|'ml.gr6.4xlarge'|'ml.gr6.8xlarge'|'ml.g6e.xlarge'|'ml.g6e.2xlarge'|'ml.g6e.4xlarge'|'ml.g6e.8xlarge'|'ml.g6e.16xlarge'|'ml.g6e.12xlarge'|'ml.g6e.24xlarge'|'ml.g6e.48xlarge'|'ml.p5e.48xlarge'|'ml.p5en.48xlarge'|'ml.p6-b200.48xlarge'|'ml.trn2.3xlarge'|'ml.trn2.48xlarge'|'ml.c6i.large'|'ml.c6i.xlarge'|'ml.c6i.2xlarge'|'ml.c6i.4xlarge'|'ml.c6i.8xlarge'|'ml.c6i.12xlarge'|'ml.c6i.16xlarge'|'ml.c6i.24xlarge'|'ml.c6i.32xlarge'|'ml.m6i.large'|'ml.m6i.xlarge'|'ml.m6i.2xlarge'|'ml.m6i.4xlarge'|'ml.m6i.8xlarge'|'ml.m6i.12xlarge'|'ml.m6i.16xlarge'|'ml.m6i.24xlarge'|'ml.m6i.32xlarge'|'ml.r6i.large'|'ml.r6i.xlarge'|'ml.r6i.2xlarge'|'ml.r6i.4xlarge'|'ml.r6i.8xlarge'|'ml.r6i.12xlarge'|'ml.r6i.16xlarge'|'ml.r6i.24xlarge'|'ml.r6i.32xlarge'|'ml.i3en.large'|'ml.i3en.xlarge'|'ml.i3en.2xlarge'|'ml.i3en.3xlarge'|'ml.i3en.6xlarge'|'ml.i3en.12xlarge'|'ml.i3en.24xlarge'|'ml.m7i.large'|'ml.m7i.xlarge'|'ml.m7i.2xlarge'|'ml.m7i.4xlarge'|'ml.m7i.8xlarge'|'ml.m7i.12xlarge'|'ml.m7i.16xlarge'|'ml.m7i.24xlarge'|'ml.m7i.48xlarge'|'ml.r7i.large'|'ml.r7i.xlarge'|'ml.r7i.2xlarge'|'ml.r7i.4xlarge'|'ml.r7i.8xlarge'|'ml.r7i.12xlarge'|'ml.r7i.16xlarge'|'ml.r7i.24xlarge'|'ml.r7i.48xlarge'|'ml.r5d.16xlarge'|'ml.g7e.2xlarge'|'ml.g7e.4xlarge'|'ml.g7e.8xlarge'|'ml.g7e.12xlarge'|'ml.g7e.24xlarge'|'ml.g7e.48xlarge'|'ml.p6-b300.48xlarge'|'ml.g4dn.xlarge'|'ml.g4dn.2xlarge'|'ml.g4dn.4xlarge'|'ml.g4dn.8xlarge'|'ml.g4dn.12xlarge'|'ml.g4dn.16xlarge'|'ml.c6g.medium'|'ml.c6g.large'|'ml.c6g.xlarge'|'ml.c6g.2xlarge'|'ml.c6g.4xlarge'|'ml.c6g.8xlarge'|'ml.c6g.12xlarge'|'ml.c6g.16xlarge'|'ml.c7g.medium'|'ml.c7g.large'|'ml.c7g.xlarge'|'ml.c7g.2xlarge'|'ml.c7g.4xlarge'|'ml.c7g.8xlarge'|'ml.c7g.12xlarge'|'ml.c7g.16xlarge'|'ml.c8g.medium'|'ml.c8g.large'|'ml.c8g.xlarge'|'ml.c8g.2xlarge'|'ml.c8g.4xlarge'|'ml.c8g.8xlarge'|'ml.c8g.12xlarge'|'ml.c8g.16xlarge'|'ml.c8g.24xlarge'|'ml.c8g.48xlarge'|'ml.c6a.large'|'ml.c6a.xlarge'|'ml.c6a.2xlarge'|'ml.c6a.4xlarge'|'ml.c6a.8xlarge'|'ml.c6a.12xlarge'|'ml.c6a.16xlarge'|'ml.c6a.24xlarge'|'ml.c6a.32xlarge'|'ml.c6a.48xlarge'|'ml.m6a.large'|'ml.m6a.xlarge'|'ml.m6a.2xlarge'|'ml.m6a.4xlarge'|'ml.m6a.8xlarge'|'ml.m6a.12xlarge'|'ml.m6a.16xlarge'|'ml.m6a.24xlarge'|'ml.m6a.32xlarge'|'ml.m6a.48xlarge'|'ml.m6g.medium'|'ml.m6g.large'|'ml.m6g.xlarge'|'ml.m6g.2xlarge'|'ml.m6g.4xlarge'|'ml.m6g.8xlarge'|'ml.m6g.12xlarge'|'ml.m6g.16xlarge'|'ml.m7g.medium'|'ml.m7g.large'|'ml.m7g.xlarge'|'ml.m7g.2xlarge'|'ml.m7g.4xlarge'|'ml.m7g.8xlarge'|'ml.m7g.12xlarge'|'ml.m7g.16xlarge'|'ml.m8g.medium'|'ml.m8g.large'|'ml.m8g.xlarge'|'ml.m8g.2xlarge'|'ml.m8g.4xlarge'|'ml.m8g.8xlarge'|'ml.m8g.12xlarge'|'ml.m8g.16xlarge'|'ml.m8g.24xlarge'|'ml.m8g.48xlarge'|'ml.g7.2xlarge'|'ml.g7.4xlarge'|'ml.g7.8xlarge'|'ml.g7.12xlarge'|'ml.g7.24xlarge'|'ml.g7.48xlarge',
                ]
            },
            'LifeCycleConfig': {
                'SourceS3Uri': 'string',
                'OnCreate': 'string',
                'OnInitComplete': 'string'
            },
            'ExecutionRole': 'string',
            'ThreadsPerCore': 123,
            'InstanceStorageConfigs': [
                {
                    'EbsVolumeConfig': {
                        'VolumeSizeInGB': 123,
                        'VolumeKmsKeyId': 'string',
                        'RootVolume': True|False
                    },
                    'FsxLustreConfig': {
                        'DnsName': 'string',
                        'MountName': 'string',
                        'MountPath': 'string'
                    },
                    'FsxOpenZfsConfig': {
                        'DnsName': 'string',
                        'MountPath': 'string'
                    }
                },
            ],
            'OnStartDeepHealthChecks': [
                'InstanceStress'|'InstanceConnectivity',
            ],
            'TrainingPlanArn': 'string',
            'OverrideVpcConfig': {
                'SecurityGroupIds': [
                    'string',
                ],
                'Subnets': [
                    'string',
                ]
            },
            'ScheduledUpdateConfig': {
                'ScheduleExpression': 'string',
                'DeploymentConfig': {
                    'RollingUpdatePolicy': {
                        'MaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        },
                        'RollbackMaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        }
                    },
                    'WaitIntervalInSeconds': 123,
                    'AutoRollbackConfiguration': [
                        {
                            'AlarmName': 'string'
                        },
                    ]
                }
            },
            'ImageId': 'string',
            'AutoPatchConfig': {
                'PatchingStrategy': 'WhenIdle'|'WhenAllIdle',
                'PatchSchedule': {
                    'NextPatchDate': datetime(2015, 1, 1)
                },
                'DeploymentConfig': {
                    'RollingUpdatePolicy': {
                        'MaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        },
                        'RollbackMaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        }
                    },
                    'WaitIntervalInSeconds': 123,
                    'AutoRollbackConfiguration': [
                        {
                            'AlarmName': 'string'
                        },
                    ]
                }
            },
            'ImageReleaseVersion': 'string',
            'KubernetesConfig': {
                'Labels': {
                    'string': 'string'
                },
                'Taints': [
                    {
                        'Key': 'string',
                        'Value': 'string',
                        'Effect': 'NoSchedule'|'PreferNoSchedule'|'NoExecute'
                    },
                ]
            },
            'SlurmConfig': {
                'NodeType': 'Controller'|'Login'|'Compute',
                'PartitionNames': [
                    'string',
                ]
            },
            'CapacityRequirements': {
                'Spot': {}
                ,
                'OnDemand': {}

            },
            'NetworkInterface': {
                'InterfaceType': 'efa'|'efa-only'
            }
        },
    ],
    RestrictedInstanceGroups=[
        {
            'InstanceCount': 123,
            'InstanceGroupName': 'string',
            'InstanceType': 'ml.p4d.24xlarge'|'ml.p4de.24xlarge'|'ml.p5.48xlarge'|'ml.p5.4xlarge'|'ml.p6e-gb200.36xlarge'|'ml.trn1.32xlarge'|'ml.trn1n.32xlarge'|'ml.g5.xlarge'|'ml.g5.2xlarge'|'ml.g5.4xlarge'|'ml.g5.8xlarge'|'ml.g5.12xlarge'|'ml.g5.16xlarge'|'ml.g5.24xlarge'|'ml.g5.48xlarge'|'ml.c5.large'|'ml.c5.xlarge'|'ml.c5.2xlarge'|'ml.c5.4xlarge'|'ml.c5.9xlarge'|'ml.c5.12xlarge'|'ml.c5.18xlarge'|'ml.c5.24xlarge'|'ml.c5n.large'|'ml.c5n.2xlarge'|'ml.c5n.4xlarge'|'ml.c5n.9xlarge'|'ml.c5n.18xlarge'|'ml.m5.large'|'ml.m5.xlarge'|'ml.m5.2xlarge'|'ml.m5.4xlarge'|'ml.m5.8xlarge'|'ml.m5.12xlarge'|'ml.m5.16xlarge'|'ml.m5.24xlarge'|'ml.t3.medium'|'ml.t3.large'|'ml.t3.xlarge'|'ml.t3.2xlarge'|'ml.g6.xlarge'|'ml.g6.2xlarge'|'ml.g6.4xlarge'|'ml.g6.8xlarge'|'ml.g6.16xlarge'|'ml.g6.12xlarge'|'ml.g6.24xlarge'|'ml.g6.48xlarge'|'ml.gr6.4xlarge'|'ml.gr6.8xlarge'|'ml.g6e.xlarge'|'ml.g6e.2xlarge'|'ml.g6e.4xlarge'|'ml.g6e.8xlarge'|'ml.g6e.16xlarge'|'ml.g6e.12xlarge'|'ml.g6e.24xlarge'|'ml.g6e.48xlarge'|'ml.p5e.48xlarge'|'ml.p5en.48xlarge'|'ml.p6-b200.48xlarge'|'ml.trn2.3xlarge'|'ml.trn2.48xlarge'|'ml.c6i.large'|'ml.c6i.xlarge'|'ml.c6i.2xlarge'|'ml.c6i.4xlarge'|'ml.c6i.8xlarge'|'ml.c6i.12xlarge'|'ml.c6i.16xlarge'|'ml.c6i.24xlarge'|'ml.c6i.32xlarge'|'ml.m6i.large'|'ml.m6i.xlarge'|'ml.m6i.2xlarge'|'ml.m6i.4xlarge'|'ml.m6i.8xlarge'|'ml.m6i.12xlarge'|'ml.m6i.16xlarge'|'ml.m6i.24xlarge'|'ml.m6i.32xlarge'|'ml.r6i.large'|'ml.r6i.xlarge'|'ml.r6i.2xlarge'|'ml.r6i.4xlarge'|'ml.r6i.8xlarge'|'ml.r6i.12xlarge'|'ml.r6i.16xlarge'|'ml.r6i.24xlarge'|'ml.r6i.32xlarge'|'ml.i3en.large'|'ml.i3en.xlarge'|'ml.i3en.2xlarge'|'ml.i3en.3xlarge'|'ml.i3en.6xlarge'|'ml.i3en.12xlarge'|'ml.i3en.24xlarge'|'ml.m7i.large'|'ml.m7i.xlarge'|'ml.m7i.2xlarge'|'ml.m7i.4xlarge'|'ml.m7i.8xlarge'|'ml.m7i.12xlarge'|'ml.m7i.16xlarge'|'ml.m7i.24xlarge'|'ml.m7i.48xlarge'|'ml.r7i.large'|'ml.r7i.xlarge'|'ml.r7i.2xlarge'|'ml.r7i.4xlarge'|'ml.r7i.8xlarge'|'ml.r7i.12xlarge'|'ml.r7i.16xlarge'|'ml.r7i.24xlarge'|'ml.r7i.48xlarge'|'ml.r5d.16xlarge'|'ml.g7e.2xlarge'|'ml.g7e.4xlarge'|'ml.g7e.8xlarge'|'ml.g7e.12xlarge'|'ml.g7e.24xlarge'|'ml.g7e.48xlarge'|'ml.p6-b300.48xlarge'|'ml.g4dn.xlarge'|'ml.g4dn.2xlarge'|'ml.g4dn.4xlarge'|'ml.g4dn.8xlarge'|'ml.g4dn.12xlarge'|'ml.g4dn.16xlarge'|'ml.c6g.medium'|'ml.c6g.large'|'ml.c6g.xlarge'|'ml.c6g.2xlarge'|'ml.c6g.4xlarge'|'ml.c6g.8xlarge'|'ml.c6g.12xlarge'|'ml.c6g.16xlarge'|'ml.c7g.medium'|'ml.c7g.large'|'ml.c7g.xlarge'|'ml.c7g.2xlarge'|'ml.c7g.4xlarge'|'ml.c7g.8xlarge'|'ml.c7g.12xlarge'|'ml.c7g.16xlarge'|'ml.c8g.medium'|'ml.c8g.large'|'ml.c8g.xlarge'|'ml.c8g.2xlarge'|'ml.c8g.4xlarge'|'ml.c8g.8xlarge'|'ml.c8g.12xlarge'|'ml.c8g.16xlarge'|'ml.c8g.24xlarge'|'ml.c8g.48xlarge'|'ml.c6a.large'|'ml.c6a.xlarge'|'ml.c6a.2xlarge'|'ml.c6a.4xlarge'|'ml.c6a.8xlarge'|'ml.c6a.12xlarge'|'ml.c6a.16xlarge'|'ml.c6a.24xlarge'|'ml.c6a.32xlarge'|'ml.c6a.48xlarge'|'ml.m6a.large'|'ml.m6a.xlarge'|'ml.m6a.2xlarge'|'ml.m6a.4xlarge'|'ml.m6a.8xlarge'|'ml.m6a.12xlarge'|'ml.m6a.16xlarge'|'ml.m6a.24xlarge'|'ml.m6a.32xlarge'|'ml.m6a.48xlarge'|'ml.m6g.medium'|'ml.m6g.large'|'ml.m6g.xlarge'|'ml.m6g.2xlarge'|'ml.m6g.4xlarge'|'ml.m6g.8xlarge'|'ml.m6g.12xlarge'|'ml.m6g.16xlarge'|'ml.m7g.medium'|'ml.m7g.large'|'ml.m7g.xlarge'|'ml.m7g.2xlarge'|'ml.m7g.4xlarge'|'ml.m7g.8xlarge'|'ml.m7g.12xlarge'|'ml.m7g.16xlarge'|'ml.m8g.medium'|'ml.m8g.large'|'ml.m8g.xlarge'|'ml.m8g.2xlarge'|'ml.m8g.4xlarge'|'ml.m8g.8xlarge'|'ml.m8g.12xlarge'|'ml.m8g.16xlarge'|'ml.m8g.24xlarge'|'ml.m8g.48xlarge'|'ml.g7.2xlarge'|'ml.g7.4xlarge'|'ml.g7.8xlarge'|'ml.g7.12xlarge'|'ml.g7.24xlarge'|'ml.g7.48xlarge',
            'ExecutionRole': 'string',
            'ThreadsPerCore': 123,
            'InstanceStorageConfigs': [
                {
                    'EbsVolumeConfig': {
                        'VolumeSizeInGB': 123,
                        'VolumeKmsKeyId': 'string',
                        'RootVolume': True|False
                    },
                    'FsxLustreConfig': {
                        'DnsName': 'string',
                        'MountName': 'string',
                        'MountPath': 'string'
                    },
                    'FsxOpenZfsConfig': {
                        'DnsName': 'string',
                        'MountPath': 'string'
                    }
                },
            ],
            'OnStartDeepHealthChecks': [
                'InstanceStress'|'InstanceConnectivity',
            ],
            'TrainingPlanArn': 'string',
            'OverrideVpcConfig': {
                'SecurityGroupIds': [
                    'string',
                ],
                'Subnets': [
                    'string',
                ]
            },
            'ScheduledUpdateConfig': {
                'ScheduleExpression': 'string',
                'DeploymentConfig': {
                    'RollingUpdatePolicy': {
                        'MaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        },
                        'RollbackMaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        }
                    },
                    'WaitIntervalInSeconds': 123,
                    'AutoRollbackConfiguration': [
                        {
                            'AlarmName': 'string'
                        },
                    ]
                }
            },
            'EnvironmentConfig': {
                'FSxLustreConfig': {
                    'SizeInGiB': 123,
                    'PerUnitStorageThroughput': 123
                }
            }
        },
    ],
    RestrictedInstanceGroupsConfig={
        'SharedEnvironmentConfig': {
            'FSxLustreDeletionPolicy': 'DeleteIfNotUsed'|'Keep',
            'FSxLustreConfig': {
                'SizeInGiB': 123,
                'PerUnitStorageThroughput': 123
            }
        }
    },
    VpcConfig={
        'SecurityGroupIds': [
            'string',
        ],
        'Subnets': [
            'string',
        ]
    },
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ],
    Orchestrator={
        'Eks': {
            'ClusterArn': 'string'
        },
        'Slurm': {
            'SlurmConfigStrategy': 'Overwrite'|'Managed'|'Merge',
            'AccountingDatabase': {
                'Endpoint': 'string',
                'Port': 123,
                'Name': 'string',
                'SecretArn': 'string'
            }
        }
    },
    NodeRecovery='Automatic'|'None',
    TieredStorageConfig={
        'Mode': 'Enable'|'Disable',
        'InstanceMemoryAllocationPercentage': 123
    },
    NodeProvisioningMode='Continuous',
    ClusterRole='string',
    AutoScaling={
        'Mode': 'Enable'|'Disable',
        'AutoScalerType': 'Karpenter'
    }
)
type ClusterName:

string

param ClusterName:

[REQUIRED]

The name for the new SageMaker HyperPod cluster.

type InstanceGroups:

list

param InstanceGroups:

The instance groups to be created in the SageMaker HyperPod cluster.

  • (dict) --

    The specifications of an instance group that you need to define.

    • InstanceCount (integer) -- [REQUIRED]

      Specifies the number of instances to add to the instance group of a SageMaker HyperPod cluster.

    • MinInstanceCount (integer) --

      Defines the minimum number of instances required for an instance group to become InService. If this threshold isn't met within 3 hours, the instance group rolls back to its previous state - zero instances for new instance groups, or previous settings for existing instance groups. MinInstanceCount only affects the initial transition to InService and does not guarantee maintaining this minimum afterward.

    • InstanceGroupName (string) -- [REQUIRED]

      Specifies the name of the instance group.

    • InstanceType (string) --

      Specifies the instance type of the instance group.

    • InstanceRequirements (dict) --

      The instance requirements for the instance group, including the instance types to use. Use this to create a flexible instance group that supports multiple instance types. The InstanceType and InstanceRequirements properties are mutually exclusive.

      • InstanceTypes (list) -- [REQUIRED]

        The list of instance types that the instance group can use. The order of instance types determines the priority—HyperPod attempts to provision instances using the first instance type in the list and falls back to subsequent types if capacity is unavailable.

        • (string) --

    • LifeCycleConfig (dict) --

      Specifies the LifeCycle configuration for the instance group.

      • SourceS3Uri (string) --

        An Amazon S3 bucket path where your lifecycle scripts are stored.

      • OnCreate (string) --

        The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.

      • OnInitComplete (string) --

        The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This script runs on the node after the AMI-based initialization is complete.

    • ExecutionRole (string) -- [REQUIRED]

      Specifies an IAM execution role to be assumed by the instance group.

    • ThreadsPerCore (integer) --

      Specifies the value for Threads per core. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading. For instance types that doesn't support multithreading, specify 1. For more information, see the reference table of CPU cores and threads per CPU core per instance type in the Amazon Elastic Compute Cloud User Guide.

    • InstanceStorageConfigs (list) --

      Specifies the additional storage configurations for the instances in the SageMaker HyperPod cluster instance group.

      • (dict) --

        Defines the configuration for attaching additional storage to the instances in the SageMaker HyperPod cluster instance group. To learn more, see SageMaker HyperPod release notes: June 20, 2024.

        • EbsVolumeConfig (dict) --

          Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.

          • VolumeSizeInGB (integer) --

            The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.

          • VolumeKmsKeyId (string) --

            The ID of a KMS key to encrypt the Amazon EBS volume.

          • RootVolume (boolean) --

            Specifies whether the configuration is for the cluster's root or secondary Amazon EBS volume. You can specify two ClusterEbsVolumeConfig fields to configure both the root and secondary volumes. Set the value to True if you'd like to provide your own customer managed Amazon Web Services KMS key to encrypt the root volume. When True:

            • The configuration is applied to the root volume.

            • You can't specify the VolumeSizeInGB field. The size of the root volume is determined for you.

            • You must specify a KMS key ID for VolumeKmsKeyId to encrypt the root volume with your own KMS key instead of an Amazon Web Services owned KMS key.

            Otherwise, by default, the value is False, and the following applies:

            • The configuration is applied to the secondary volume, while the root volume is encrypted with an Amazon Web Services owned key.

            • You must specify the VolumeSizeInGB field.

            • You can optionally specify the VolumeKmsKeyId to encrypt the secondary volume with your own KMS key instead of an Amazon Web Services owned KMS key.

        • FsxLustreConfig (dict) --

          Defines the configuration for attaching an Amazon FSx for Lustre file system to the instances in the SageMaker HyperPod cluster instance group.

          • DnsName (string) -- [REQUIRED]

            The DNS name of the Amazon FSx for Lustre file system.

          • MountName (string) -- [REQUIRED]

            The mount name of the Amazon FSx for Lustre file system.

          • MountPath (string) --

            The local path where the Amazon FSx for Lustre file system is mounted on instances.

        • FsxOpenZfsConfig (dict) --

          Defines the configuration for attaching an Amazon FSx for OpenZFS file system to the instances in the SageMaker HyperPod cluster instance group.

          • DnsName (string) -- [REQUIRED]

            The DNS name of the Amazon FSx for OpenZFS file system.

          • MountPath (string) --

            The local path where the Amazon FSx for OpenZFS file system is mounted on instances.

    • OnStartDeepHealthChecks (list) --

      A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.

      • (string) --

    • TrainingPlanArn (string) --

      The Amazon Resource Name (ARN); of the training plan to use for this cluster instance group.

      For more information about how to reserve GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see ``CreateTrainingPlan ``.

    • OverrideVpcConfig (dict) --

      To configure multi-AZ deployments, customize the Amazon VPC configuration at the instance group level. You can specify different subnets and security groups across different AZs in the instance group specification to override a SageMaker HyperPod cluster's default Amazon VPC configuration. For more information about deploying a cluster in multiple AZs, see Setting up SageMaker HyperPod clusters across multiple AZs.

      • SecurityGroupIds (list) -- [REQUIRED]

        The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

        • (string) --

      • Subnets (list) -- [REQUIRED]

        The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.

        • (string) --

    • ScheduledUpdateConfig (dict) --

      The configuration object of the schedule that SageMaker uses to update the AMI.

      • ScheduleExpression (string) -- [REQUIRED]

        A cron expression that specifies the schedule that SageMaker follows when updating the AMI.

      • DeploymentConfig (dict) --

        The configuration to use when updating the AMI versions.

        • RollingUpdatePolicy (dict) --

          The policy that SageMaker uses when updating the AMI versions of the cluster.

          • MaximumBatchSize (dict) -- [REQUIRED]

            The maximum amount of instances in the cluster that SageMaker can update at a time.

            • Type (string) -- [REQUIRED]

              Specifies whether SageMaker should process the update by amount or percentage of instances.

            • Value (integer) -- [REQUIRED]

              Specifies the amount or percentage of instances SageMaker updates at a time.

          • RollbackMaximumBatchSize (dict) --

            The maximum amount of instances in the cluster that SageMaker can roll back at a time.

            • Type (string) -- [REQUIRED]

              Specifies whether SageMaker should process the update by amount or percentage of instances.

            • Value (integer) -- [REQUIRED]

              Specifies the amount or percentage of instances SageMaker updates at a time.

        • WaitIntervalInSeconds (integer) --

          The duration in seconds that SageMaker waits before updating more instances in the cluster.

        • AutoRollbackConfiguration (list) --

          An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.

          • (dict) --

            The details of the alarm to monitor during the AMI update.

            • AlarmName (string) -- [REQUIRED]

              The name of the alarm.

    • ImageId (string) --

      When configuring your HyperPod cluster, you can specify an image ID using one of the following options:

      • HyperPodPublicAmiId: Use a HyperPod public AMI

      • CustomAmiId: Use your custom AMI

      • default: Use the default latest system image. For clusters with continuous scaling node provisioning mode, new instance groups inherit the AMI from the earliest existing instance group

      If you choose to use a custom AMI ( CustomAmiId), ensure it meets the following requirements:

      • Encryption: The custom AMI must be unencrypted.

      • Ownership: The custom AMI must be owned by the same Amazon Web Services account that is creating the HyperPod cluster.

      • Volume support: Only the primary AMI snapshot volume is supported; additional AMI volumes are not supported.

      When updating the instance group's AMI through the UpdateClusterSoftware operation, if an instance group uses a custom AMI, you must provide an ImageId or use the default as input. Note that if you don't specify an instance group in your UpdateClusterSoftware request, then all of the instance groups are patched with the specified image.

    • AutoPatchConfig (dict) --

      The configuration for automatic OS security patching. If present, the system automatically applies PATCH AMI updates to this instance group.

      • PatchingStrategy (string) -- [REQUIRED]

        The strategy for applying patches to instances in the group.

        • WhenIdle: Cordons all instances and patches each instance as it becomes idle (no running jobs). Each instance is uncordoned immediately after patching and becomes available for new jobs. If instances do not become idle, they remain on the previous AMI version. You can then use UpdateClusterSoftware with the desired ImageReleaseVersion to manually update the remaining instances.

        • WhenAllIdle: Cordons all instances and waits for all to become idle before patching. All instances are uncordoned after patching completes. If not all instances become idle, no patching occurs and all instances remain on the previous AMI version.

      • PatchSchedule (dict) --

        The schedule for automatic patching, including the next patch date.

        • NextPatchDate (datetime) --

          The date and time of the next scheduled automatic patch. The system sets this automatically when a patch is detected. Use this field to reschedule the patch to a different date.

      • DeploymentConfig (dict) --

        The deployment configuration for rolling patch updates, including rollback settings and batch sizes. Only applicable when using a rolling patching strategy.

        • RollingUpdatePolicy (dict) --

          The policy that SageMaker uses when updating the AMI versions of the cluster.

          • MaximumBatchSize (dict) -- [REQUIRED]

            The maximum amount of instances in the cluster that SageMaker can update at a time.

            • Type (string) -- [REQUIRED]

              Specifies whether SageMaker should process the update by amount or percentage of instances.

            • Value (integer) -- [REQUIRED]

              Specifies the amount or percentage of instances SageMaker updates at a time.

          • RollbackMaximumBatchSize (dict) --

            The maximum amount of instances in the cluster that SageMaker can roll back at a time.

            • Type (string) -- [REQUIRED]

              Specifies whether SageMaker should process the update by amount or percentage of instances.

            • Value (integer) -- [REQUIRED]

              Specifies the amount or percentage of instances SageMaker updates at a time.

        • WaitIntervalInSeconds (integer) --

          The duration in seconds that SageMaker waits before updating more instances in the cluster.

        • AutoRollbackConfiguration (list) --

          An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.

          • (dict) --

            The details of the alarm to monitor during the AMI update.

            • AlarmName (string) -- [REQUIRED]

              The name of the alarm.

    • ImageReleaseVersion (string) --

      The version of the HyperPod-managed AMI to use for the instance group. Uses semantic versioning in the format MAJOR.MINOR.PATCH (for example, 1.2.3). If omitted, the latest available version is used.

    • KubernetesConfig (dict) --

      Specifies the Kubernetes configuration for the instance group. You describe what you want the labels and taints to look like, and the cluster works to reconcile the actual state with the declared state for nodes in this instance group.

      • Labels (dict) --

        Key-value pairs of labels to be applied to cluster nodes.

        • (string) --

          • (string) --

      • Taints (list) --

        List of taints to be applied to cluster nodes.

        • (dict) --

          A Kubernetes taint that can be applied to cluster nodes.

          • Key (string) -- [REQUIRED]

            The key of the taint.

          • Value (string) --

            The value of the taint.

          • Effect (string) -- [REQUIRED]

            The effect of the taint. Valid values are NoSchedule, PreferNoSchedule, and NoExecute.

    • SlurmConfig (dict) --

      Specifies the Slurm configuration for the instance group.

      • NodeType (string) -- [REQUIRED]

        The type of Slurm node for the instance group. Valid values are Controller, Worker, and Login.

      • PartitionNames (list) --

        The list of Slurm partition names that the instance group belongs to.

        • (string) --

    • CapacityRequirements (dict) --

      Specifies the capacity requirements for the instance group.

      • Spot (dict) --

        Configuration options specific to Spot instances.

      • OnDemand (dict) --

        Configuration options specific to On-Demand instances.

    • NetworkInterface (dict) --

      The network interface configuration for the instance group.

      • InterfaceType (string) --

        The type of network interface for the instance group. Valid values:

        • efa – An EFA with ENA interface, which provides both the EFA device for low-latency, high-throughput communication and the ENA device for IP networking.

        • efa-only – An EFA-only interface, which provides only the EFA device capabilities without the ENA device for traditional IP networking.

        For more information, see Elastic Fabric Adapter.

type RestrictedInstanceGroups:

list

param RestrictedInstanceGroups:

The specialized instance groups for training models like Amazon Nova to be created in the SageMaker HyperPod cluster.

  • (dict) --

    The specifications of a restricted instance group that you need to define.

    • InstanceCount (integer) -- [REQUIRED]

      Specifies the number of instances to add to the restricted instance group of a SageMaker HyperPod cluster.

    • InstanceGroupName (string) -- [REQUIRED]

      Specifies the name of the restricted instance group.

    • InstanceType (string) -- [REQUIRED]

      Specifies the instance type of the restricted instance group.

    • ExecutionRole (string) -- [REQUIRED]

      Specifies an IAM execution role to be assumed by the restricted instance group.

    • ThreadsPerCore (integer) --

      The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading. For more information, see the reference table of CPU cores and threads per CPU core per instance type in the Amazon Elastic Compute Cloud User Guide.

    • InstanceStorageConfigs (list) --

      Specifies the additional storage configurations for the instances in the SageMaker HyperPod cluster restricted instance group.

      • (dict) --

        Defines the configuration for attaching additional storage to the instances in the SageMaker HyperPod cluster instance group. To learn more, see SageMaker HyperPod release notes: June 20, 2024.

        • EbsVolumeConfig (dict) --

          Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.

          • VolumeSizeInGB (integer) --

            The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.

          • VolumeKmsKeyId (string) --

            The ID of a KMS key to encrypt the Amazon EBS volume.

          • RootVolume (boolean) --

            Specifies whether the configuration is for the cluster's root or secondary Amazon EBS volume. You can specify two ClusterEbsVolumeConfig fields to configure both the root and secondary volumes. Set the value to True if you'd like to provide your own customer managed Amazon Web Services KMS key to encrypt the root volume. When True:

            • The configuration is applied to the root volume.

            • You can't specify the VolumeSizeInGB field. The size of the root volume is determined for you.

            • You must specify a KMS key ID for VolumeKmsKeyId to encrypt the root volume with your own KMS key instead of an Amazon Web Services owned KMS key.

            Otherwise, by default, the value is False, and the following applies:

            • The configuration is applied to the secondary volume, while the root volume is encrypted with an Amazon Web Services owned key.

            • You must specify the VolumeSizeInGB field.

            • You can optionally specify the VolumeKmsKeyId to encrypt the secondary volume with your own KMS key instead of an Amazon Web Services owned KMS key.

        • FsxLustreConfig (dict) --

          Defines the configuration for attaching an Amazon FSx for Lustre file system to the instances in the SageMaker HyperPod cluster instance group.

          • DnsName (string) -- [REQUIRED]

            The DNS name of the Amazon FSx for Lustre file system.

          • MountName (string) -- [REQUIRED]

            The mount name of the Amazon FSx for Lustre file system.

          • MountPath (string) --

            The local path where the Amazon FSx for Lustre file system is mounted on instances.

        • FsxOpenZfsConfig (dict) --

          Defines the configuration for attaching an Amazon FSx for OpenZFS file system to the instances in the SageMaker HyperPod cluster instance group.

          • DnsName (string) -- [REQUIRED]

            The DNS name of the Amazon FSx for OpenZFS file system.

          • MountPath (string) --

            The local path where the Amazon FSx for OpenZFS file system is mounted on instances.

    • OnStartDeepHealthChecks (list) --

      A flag indicating whether deep health checks should be performed when the cluster restricted instance group is created or updated.

      • (string) --

    • TrainingPlanArn (string) --

      The Amazon Resource Name (ARN) of the training plan to filter clusters by. For more information about reserving GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see ``CreateTrainingPlan ``.

    • OverrideVpcConfig (dict) --

      Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC.

      • SecurityGroupIds (list) -- [REQUIRED]

        The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

        • (string) --

      • Subnets (list) -- [REQUIRED]

        The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.

        • (string) --

    • ScheduledUpdateConfig (dict) --

      The configuration object of the schedule that SageMaker follows when updating the AMI.

      • ScheduleExpression (string) -- [REQUIRED]

        A cron expression that specifies the schedule that SageMaker follows when updating the AMI.

      • DeploymentConfig (dict) --

        The configuration to use when updating the AMI versions.

        • RollingUpdatePolicy (dict) --

          The policy that SageMaker uses when updating the AMI versions of the cluster.

          • MaximumBatchSize (dict) -- [REQUIRED]

            The maximum amount of instances in the cluster that SageMaker can update at a time.

            • Type (string) -- [REQUIRED]

              Specifies whether SageMaker should process the update by amount or percentage of instances.

            • Value (integer) -- [REQUIRED]

              Specifies the amount or percentage of instances SageMaker updates at a time.

          • RollbackMaximumBatchSize (dict) --

            The maximum amount of instances in the cluster that SageMaker can roll back at a time.

            • Type (string) -- [REQUIRED]

              Specifies whether SageMaker should process the update by amount or percentage of instances.

            • Value (integer) -- [REQUIRED]

              Specifies the amount or percentage of instances SageMaker updates at a time.

        • WaitIntervalInSeconds (integer) --

          The duration in seconds that SageMaker waits before updating more instances in the cluster.

        • AutoRollbackConfiguration (list) --

          An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.

          • (dict) --

            The details of the alarm to monitor during the AMI update.

            • AlarmName (string) -- [REQUIRED]

              The name of the alarm.

    • EnvironmentConfig (dict) --

      The configuration for the restricted instance groups (RIG) environment.

      • FSxLustreConfig (dict) --

        Configuration settings for an Amazon FSx for Lustre file system to be used with the cluster.

        • SizeInGiB (integer) -- [REQUIRED]

          The storage capacity of the Amazon FSx for Lustre file system, specified in gibibytes (GiB).

        • PerUnitStorageThroughput (integer) -- [REQUIRED]

          The throughput capacity of the Amazon FSx for Lustre file system, measured in MB/s per TiB of storage.

type RestrictedInstanceGroupsConfig:

dict

param RestrictedInstanceGroupsConfig:

The configuration for the restricted instance groups (RIG) in the SageMaker HyperPod cluster.

  • SharedEnvironmentConfig (dict) -- [REQUIRED]

    The shared environment configuration for the restricted instance groups (RIG).

    • FSxLustreDeletionPolicy (string) -- [REQUIRED]

      The deletion policy for the Amazon FSx for Lustre file system in the shared environment.

    • FSxLustreConfig (dict) -- [REQUIRED]

      Configuration settings for an Amazon FSx for Lustre file system in the shared environment.

      • SizeInGiB (integer) -- [REQUIRED]

        The storage capacity of the Amazon FSx for Lustre file system, specified in gibibytes (GiB).

      • PerUnitStorageThroughput (integer) -- [REQUIRED]

        The throughput capacity of the Amazon FSx for Lustre file system, measured in MB/s per TiB of storage.

type VpcConfig:

dict

param VpcConfig:

Specifies the Amazon Virtual Private Cloud (VPC) that is associated with the Amazon SageMaker HyperPod cluster. You can control access to and from your resources by configuring your VPC. For more information, see Give SageMaker access to resources in your Amazon VPC.

  • SecurityGroupIds (list) -- [REQUIRED]

    The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

    • (string) --

  • Subnets (list) -- [REQUIRED]

    The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.

    • (string) --

type Tags:

list

param Tags:

Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource. You can add tags to your cluster in the same way you add them in other Amazon Web Services services that support tagging. To learn more about tagging Amazon Web Services resources in general, see Tagging Amazon Web Services Resources User Guide.

  • (dict) --

    A tag object that consists of a key and an optional value, used to manage metadata for SageMaker Amazon Web Services resources.

    You can add tags to notebook instances, training jobs, hyperparameter tuning jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations, and endpoints. For more information on adding tags to SageMaker resources, see AddTags.

    For more information on adding metadata to your Amazon Web Services resources with tagging, see Tagging Amazon Web Services resources. For advice on best practices for managing Amazon Web Services resources with tagging, see Tagging Best Practices: Implement an Effective Amazon Web Services Resource Tagging Strategy.

    • Key (string) -- [REQUIRED]

      The tag key. Tag keys must be unique per resource.

    • Value (string) -- [REQUIRED]

      The tag value.

type Orchestrator:

dict

param Orchestrator:

The type of orchestrator to use for the SageMaker HyperPod cluster. Currently, supported values are "Eks" and "Slurm", which is to use an Amazon Elastic Kubernetes Service or Slurm cluster as the orchestrator.

  • Eks (dict) --

    The Amazon EKS cluster used as the orchestrator for the SageMaker HyperPod cluster.

    • ClusterArn (string) -- [REQUIRED]

      The Amazon Resource Name (ARN) of the Amazon EKS cluster associated with the SageMaker HyperPod cluster.

  • Slurm (dict) --

    The Slurm orchestrator configuration for the SageMaker HyperPod cluster.

    • SlurmConfigStrategy (string) --

      The strategy for managing partitions for the Slurm configuration. Valid values are Managed, Overwrite, and Merge.

    • AccountingDatabase (dict) --

      The external database that stores the Slurm accounting data for the cluster, such as job history, associations, and usage. When you omit this field, Slurm accounting uses a database on the cluster's controller node.

      • Endpoint (string) -- [REQUIRED]

        The hostname or endpoint of the accounting database, such as the endpoint of an Amazon RDS for MySQL or Aurora MySQL database. The database must be reachable from the subnets and security groups that you configure for the cluster.

      • Port (integer) --

        The port that the accounting database listens on. The default is 3306.

      • Name (string) --

        The name of the database schema that stores the Slurm accounting data. The default is slurm_acct_db_ followed by the cluster ID from the cluster ARN, for example slurm_acct_db_a1b2c3d4e5f6.

      • SecretArn (string) -- [REQUIRED]

        The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the user name and password for the accounting database. The database user must be able to create the schema and to read from and write to it.

type NodeRecovery:

string

param NodeRecovery:

The node recovery mode for the SageMaker HyperPod cluster. When set to Automatic, SageMaker HyperPod will automatically reboot or replace faulty nodes when issues are detected. When set to None, cluster administrators will need to manually manage any faulty cluster instances.

type TieredStorageConfig:

dict

param TieredStorageConfig:

The configuration for managed tier checkpointing on the HyperPod cluster. When enabled, this feature uses a multi-tier storage approach for storing model checkpoints, providing faster checkpoint operations and improved fault tolerance across cluster nodes.

  • Mode (string) -- [REQUIRED]

    Specifies whether managed tier checkpointing is enabled or disabled for the HyperPod cluster. When set to Enable, the system installs a memory management daemon that provides disaggregated memory as a service for checkpoint storage. When set to Disable, the feature is turned off and the memory management daemon is removed from the cluster.

  • InstanceMemoryAllocationPercentage (integer) --

    The percentage (int) of cluster memory to allocate for checkpointing.

type NodeProvisioningMode:

string

param NodeProvisioningMode:

The mode for provisioning nodes in the cluster. You can specify the following modes:

  • Continuous: Scaling behavior that enables 1) concurrent operation execution within instance groups, 2) continuous retry mechanisms for failed operations, 3) enhanced customer visibility into cluster events through detailed event streams, 4) partial provisioning capabilities. Your clusters and instance groups remain InService while scaling. This mode is only supported for EKS orchestrated clusters.

type ClusterRole:

string

param ClusterRole:

The Amazon Resource Name (ARN) of the IAM role that HyperPod assumes to perform cluster autoscaling operations. This role must have permissions for sagemaker:BatchAddClusterNodes and sagemaker:BatchDeleteClusterNodes. This is only required when autoscaling is enabled and when HyperPod is performing autoscaling operations.

type AutoScaling:

dict

param AutoScaling:

The autoscaling configuration for the cluster. Enables automatic scaling of cluster nodes based on workload demand using a Karpenter-based system.

  • Mode (string) -- [REQUIRED]

    Describes whether autoscaling is enabled or disabled for the cluster. Valid values are Enable and Disable.

  • AutoScalerType (string) --

    The type of autoscaler to use. Currently supported value is Karpenter.

rtype:

dict

returns:

Response Syntax

{
    'ClusterArn': 'string'
}

Response Structure

  • (dict) --

    • ClusterArn (string) --

      The Amazon Resource Name (ARN) of the cluster.

DescribeCluster (updated) Link ¶
Changes (response)
{'Orchestrator': {'Slurm': {'AccountingDatabase': {'Endpoint': 'string',
                                                   'Name': 'string',
                                                   'Port': 'integer',
                                                   'SecretArn': 'string'}}}}

Retrieves information of a SageMaker HyperPod cluster.

See also: AWS API Documentation

Request Syntax

client.describe_cluster(
    ClusterName='string'
)
type ClusterName:

string

param ClusterName:

[REQUIRED]

The string name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.

rtype:

dict

returns:

Response Syntax

{
    'ClusterArn': 'string',
    'ClusterName': 'string',
    'ClusterStatus': 'Creating'|'Deleting'|'Failed'|'InService'|'RollingBack'|'SystemUpdating'|'Updating',
    'CreationTime': datetime(2015, 1, 1),
    'FailureMessage': 'string',
    'InstanceGroups': [
        {
            'CurrentCount': 123,
            'TargetCount': 123,
            'MinCount': 123,
            'InstanceGroupName': 'string',
            'InstanceType': 'ml.p4d.24xlarge'|'ml.p4de.24xlarge'|'ml.p5.48xlarge'|'ml.p5.4xlarge'|'ml.p6e-gb200.36xlarge'|'ml.trn1.32xlarge'|'ml.trn1n.32xlarge'|'ml.g5.xlarge'|'ml.g5.2xlarge'|'ml.g5.4xlarge'|'ml.g5.8xlarge'|'ml.g5.12xlarge'|'ml.g5.16xlarge'|'ml.g5.24xlarge'|'ml.g5.48xlarge'|'ml.c5.large'|'ml.c5.xlarge'|'ml.c5.2xlarge'|'ml.c5.4xlarge'|'ml.c5.9xlarge'|'ml.c5.12xlarge'|'ml.c5.18xlarge'|'ml.c5.24xlarge'|'ml.c5n.large'|'ml.c5n.2xlarge'|'ml.c5n.4xlarge'|'ml.c5n.9xlarge'|'ml.c5n.18xlarge'|'ml.m5.large'|'ml.m5.xlarge'|'ml.m5.2xlarge'|'ml.m5.4xlarge'|'ml.m5.8xlarge'|'ml.m5.12xlarge'|'ml.m5.16xlarge'|'ml.m5.24xlarge'|'ml.t3.medium'|'ml.t3.large'|'ml.t3.xlarge'|'ml.t3.2xlarge'|'ml.g6.xlarge'|'ml.g6.2xlarge'|'ml.g6.4xlarge'|'ml.g6.8xlarge'|'ml.g6.16xlarge'|'ml.g6.12xlarge'|'ml.g6.24xlarge'|'ml.g6.48xlarge'|'ml.gr6.4xlarge'|'ml.gr6.8xlarge'|'ml.g6e.xlarge'|'ml.g6e.2xlarge'|'ml.g6e.4xlarge'|'ml.g6e.8xlarge'|'ml.g6e.16xlarge'|'ml.g6e.12xlarge'|'ml.g6e.24xlarge'|'ml.g6e.48xlarge'|'ml.p5e.48xlarge'|'ml.p5en.48xlarge'|'ml.p6-b200.48xlarge'|'ml.trn2.3xlarge'|'ml.trn2.48xlarge'|'ml.c6i.large'|'ml.c6i.xlarge'|'ml.c6i.2xlarge'|'ml.c6i.4xlarge'|'ml.c6i.8xlarge'|'ml.c6i.12xlarge'|'ml.c6i.16xlarge'|'ml.c6i.24xlarge'|'ml.c6i.32xlarge'|'ml.m6i.large'|'ml.m6i.xlarge'|'ml.m6i.2xlarge'|'ml.m6i.4xlarge'|'ml.m6i.8xlarge'|'ml.m6i.12xlarge'|'ml.m6i.16xlarge'|'ml.m6i.24xlarge'|'ml.m6i.32xlarge'|'ml.r6i.large'|'ml.r6i.xlarge'|'ml.r6i.2xlarge'|'ml.r6i.4xlarge'|'ml.r6i.8xlarge'|'ml.r6i.12xlarge'|'ml.r6i.16xlarge'|'ml.r6i.24xlarge'|'ml.r6i.32xlarge'|'ml.i3en.large'|'ml.i3en.xlarge'|'ml.i3en.2xlarge'|'ml.i3en.3xlarge'|'ml.i3en.6xlarge'|'ml.i3en.12xlarge'|'ml.i3en.24xlarge'|'ml.m7i.large'|'ml.m7i.xlarge'|'ml.m7i.2xlarge'|'ml.m7i.4xlarge'|'ml.m7i.8xlarge'|'ml.m7i.12xlarge'|'ml.m7i.16xlarge'|'ml.m7i.24xlarge'|'ml.m7i.48xlarge'|'ml.r7i.large'|'ml.r7i.xlarge'|'ml.r7i.2xlarge'|'ml.r7i.4xlarge'|'ml.r7i.8xlarge'|'ml.r7i.12xlarge'|'ml.r7i.16xlarge'|'ml.r7i.24xlarge'|'ml.r7i.48xlarge'|'ml.r5d.16xlarge'|'ml.g7e.2xlarge'|'ml.g7e.4xlarge'|'ml.g7e.8xlarge'|'ml.g7e.12xlarge'|'ml.g7e.24xlarge'|'ml.g7e.48xlarge'|'ml.p6-b300.48xlarge'|'ml.g4dn.xlarge'|'ml.g4dn.2xlarge'|'ml.g4dn.4xlarge'|'ml.g4dn.8xlarge'|'ml.g4dn.12xlarge'|'ml.g4dn.16xlarge'|'ml.c6g.medium'|'ml.c6g.large'|'ml.c6g.xlarge'|'ml.c6g.2xlarge'|'ml.c6g.4xlarge'|'ml.c6g.8xlarge'|'ml.c6g.12xlarge'|'ml.c6g.16xlarge'|'ml.c7g.medium'|'ml.c7g.large'|'ml.c7g.xlarge'|'ml.c7g.2xlarge'|'ml.c7g.4xlarge'|'ml.c7g.8xlarge'|'ml.c7g.12xlarge'|'ml.c7g.16xlarge'|'ml.c8g.medium'|'ml.c8g.large'|'ml.c8g.xlarge'|'ml.c8g.2xlarge'|'ml.c8g.4xlarge'|'ml.c8g.8xlarge'|'ml.c8g.12xlarge'|'ml.c8g.16xlarge'|'ml.c8g.24xlarge'|'ml.c8g.48xlarge'|'ml.c6a.large'|'ml.c6a.xlarge'|'ml.c6a.2xlarge'|'ml.c6a.4xlarge'|'ml.c6a.8xlarge'|'ml.c6a.12xlarge'|'ml.c6a.16xlarge'|'ml.c6a.24xlarge'|'ml.c6a.32xlarge'|'ml.c6a.48xlarge'|'ml.m6a.large'|'ml.m6a.xlarge'|'ml.m6a.2xlarge'|'ml.m6a.4xlarge'|'ml.m6a.8xlarge'|'ml.m6a.12xlarge'|'ml.m6a.16xlarge'|'ml.m6a.24xlarge'|'ml.m6a.32xlarge'|'ml.m6a.48xlarge'|'ml.m6g.medium'|'ml.m6g.large'|'ml.m6g.xlarge'|'ml.m6g.2xlarge'|'ml.m6g.4xlarge'|'ml.m6g.8xlarge'|'ml.m6g.12xlarge'|'ml.m6g.16xlarge'|'ml.m7g.medium'|'ml.m7g.large'|'ml.m7g.xlarge'|'ml.m7g.2xlarge'|'ml.m7g.4xlarge'|'ml.m7g.8xlarge'|'ml.m7g.12xlarge'|'ml.m7g.16xlarge'|'ml.m8g.medium'|'ml.m8g.large'|'ml.m8g.xlarge'|'ml.m8g.2xlarge'|'ml.m8g.4xlarge'|'ml.m8g.8xlarge'|'ml.m8g.12xlarge'|'ml.m8g.16xlarge'|'ml.m8g.24xlarge'|'ml.m8g.48xlarge'|'ml.g7.2xlarge'|'ml.g7.4xlarge'|'ml.g7.8xlarge'|'ml.g7.12xlarge'|'ml.g7.24xlarge'|'ml.g7.48xlarge',
            'InstanceRequirements': {
                'CurrentInstanceTypes': [
                    'ml.p4d.24xlarge'|'ml.p4de.24xlarge'|'ml.p5.48xlarge'|'ml.p5.4xlarge'|'ml.p6e-gb200.36xlarge'|'ml.trn1.32xlarge'|'ml.trn1n.32xlarge'|'ml.g5.xlarge'|'ml.g5.2xlarge'|'ml.g5.4xlarge'|'ml.g5.8xlarge'|'ml.g5.12xlarge'|'ml.g5.16xlarge'|'ml.g5.24xlarge'|'ml.g5.48xlarge'|'ml.c5.large'|'ml.c5.xlarge'|'ml.c5.2xlarge'|'ml.c5.4xlarge'|'ml.c5.9xlarge'|'ml.c5.12xlarge'|'ml.c5.18xlarge'|'ml.c5.24xlarge'|'ml.c5n.large'|'ml.c5n.2xlarge'|'ml.c5n.4xlarge'|'ml.c5n.9xlarge'|'ml.c5n.18xlarge'|'ml.m5.large'|'ml.m5.xlarge'|'ml.m5.2xlarge'|'ml.m5.4xlarge'|'ml.m5.8xlarge'|'ml.m5.12xlarge'|'ml.m5.16xlarge'|'ml.m5.24xlarge'|'ml.t3.medium'|'ml.t3.large'|'ml.t3.xlarge'|'ml.t3.2xlarge'|'ml.g6.xlarge'|'ml.g6.2xlarge'|'ml.g6.4xlarge'|'ml.g6.8xlarge'|'ml.g6.16xlarge'|'ml.g6.12xlarge'|'ml.g6.24xlarge'|'ml.g6.48xlarge'|'ml.gr6.4xlarge'|'ml.gr6.8xlarge'|'ml.g6e.xlarge'|'ml.g6e.2xlarge'|'ml.g6e.4xlarge'|'ml.g6e.8xlarge'|'ml.g6e.16xlarge'|'ml.g6e.12xlarge'|'ml.g6e.24xlarge'|'ml.g6e.48xlarge'|'ml.p5e.48xlarge'|'ml.p5en.48xlarge'|'ml.p6-b200.48xlarge'|'ml.trn2.3xlarge'|'ml.trn2.48xlarge'|'ml.c6i.large'|'ml.c6i.xlarge'|'ml.c6i.2xlarge'|'ml.c6i.4xlarge'|'ml.c6i.8xlarge'|'ml.c6i.12xlarge'|'ml.c6i.16xlarge'|'ml.c6i.24xlarge'|'ml.c6i.32xlarge'|'ml.m6i.large'|'ml.m6i.xlarge'|'ml.m6i.2xlarge'|'ml.m6i.4xlarge'|'ml.m6i.8xlarge'|'ml.m6i.12xlarge'|'ml.m6i.16xlarge'|'ml.m6i.24xlarge'|'ml.m6i.32xlarge'|'ml.r6i.large'|'ml.r6i.xlarge'|'ml.r6i.2xlarge'|'ml.r6i.4xlarge'|'ml.r6i.8xlarge'|'ml.r6i.12xlarge'|'ml.r6i.16xlarge'|'ml.r6i.24xlarge'|'ml.r6i.32xlarge'|'ml.i3en.large'|'ml.i3en.xlarge'|'ml.i3en.2xlarge'|'ml.i3en.3xlarge'|'ml.i3en.6xlarge'|'ml.i3en.12xlarge'|'ml.i3en.24xlarge'|'ml.m7i.large'|'ml.m7i.xlarge'|'ml.m7i.2xlarge'|'ml.m7i.4xlarge'|'ml.m7i.8xlarge'|'ml.m7i.12xlarge'|'ml.m7i.16xlarge'|'ml.m7i.24xlarge'|'ml.m7i.48xlarge'|'ml.r7i.large'|'ml.r7i.xlarge'|'ml.r7i.2xlarge'|'ml.r7i.4xlarge'|'ml.r7i.8xlarge'|'ml.r7i.12xlarge'|'ml.r7i.16xlarge'|'ml.r7i.24xlarge'|'ml.r7i.48xlarge'|'ml.r5d.16xlarge'|'ml.g7e.2xlarge'|'ml.g7e.4xlarge'|'ml.g7e.8xlarge'|'ml.g7e.12xlarge'|'ml.g7e.24xlarge'|'ml.g7e.48xlarge'|'ml.p6-b300.48xlarge'|'ml.g4dn.xlarge'|'ml.g4dn.2xlarge'|'ml.g4dn.4xlarge'|'ml.g4dn.8xlarge'|'ml.g4dn.12xlarge'|'ml.g4dn.16xlarge'|'ml.c6g.medium'|'ml.c6g.large'|'ml.c6g.xlarge'|'ml.c6g.2xlarge'|'ml.c6g.4xlarge'|'ml.c6g.8xlarge'|'ml.c6g.12xlarge'|'ml.c6g.16xlarge'|'ml.c7g.medium'|'ml.c7g.large'|'ml.c7g.xlarge'|'ml.c7g.2xlarge'|'ml.c7g.4xlarge'|'ml.c7g.8xlarge'|'ml.c7g.12xlarge'|'ml.c7g.16xlarge'|'ml.c8g.medium'|'ml.c8g.large'|'ml.c8g.xlarge'|'ml.c8g.2xlarge'|'ml.c8g.4xlarge'|'ml.c8g.8xlarge'|'ml.c8g.12xlarge'|'ml.c8g.16xlarge'|'ml.c8g.24xlarge'|'ml.c8g.48xlarge'|'ml.c6a.large'|'ml.c6a.xlarge'|'ml.c6a.2xlarge'|'ml.c6a.4xlarge'|'ml.c6a.8xlarge'|'ml.c6a.12xlarge'|'ml.c6a.16xlarge'|'ml.c6a.24xlarge'|'ml.c6a.32xlarge'|'ml.c6a.48xlarge'|'ml.m6a.large'|'ml.m6a.xlarge'|'ml.m6a.2xlarge'|'ml.m6a.4xlarge'|'ml.m6a.8xlarge'|'ml.m6a.12xlarge'|'ml.m6a.16xlarge'|'ml.m6a.24xlarge'|'ml.m6a.32xlarge'|'ml.m6a.48xlarge'|'ml.m6g.medium'|'ml.m6g.large'|'ml.m6g.xlarge'|'ml.m6g.2xlarge'|'ml.m6g.4xlarge'|'ml.m6g.8xlarge'|'ml.m6g.12xlarge'|'ml.m6g.16xlarge'|'ml.m7g.medium'|'ml.m7g.large'|'ml.m7g.xlarge'|'ml.m7g.2xlarge'|'ml.m7g.4xlarge'|'ml.m7g.8xlarge'|'ml.m7g.12xlarge'|'ml.m7g.16xlarge'|'ml.m8g.medium'|'ml.m8g.large'|'ml.m8g.xlarge'|'ml.m8g.2xlarge'|'ml.m8g.4xlarge'|'ml.m8g.8xlarge'|'ml.m8g.12xlarge'|'ml.m8g.16xlarge'|'ml.m8g.24xlarge'|'ml.m8g.48xlarge'|'ml.g7.2xlarge'|'ml.g7.4xlarge'|'ml.g7.8xlarge'|'ml.g7.12xlarge'|'ml.g7.24xlarge'|'ml.g7.48xlarge',
                ],
                'DesiredInstanceTypes': [
                    'ml.p4d.24xlarge'|'ml.p4de.24xlarge'|'ml.p5.48xlarge'|'ml.p5.4xlarge'|'ml.p6e-gb200.36xlarge'|'ml.trn1.32xlarge'|'ml.trn1n.32xlarge'|'ml.g5.xlarge'|'ml.g5.2xlarge'|'ml.g5.4xlarge'|'ml.g5.8xlarge'|'ml.g5.12xlarge'|'ml.g5.16xlarge'|'ml.g5.24xlarge'|'ml.g5.48xlarge'|'ml.c5.large'|'ml.c5.xlarge'|'ml.c5.2xlarge'|'ml.c5.4xlarge'|'ml.c5.9xlarge'|'ml.c5.12xlarge'|'ml.c5.18xlarge'|'ml.c5.24xlarge'|'ml.c5n.large'|'ml.c5n.2xlarge'|'ml.c5n.4xlarge'|'ml.c5n.9xlarge'|'ml.c5n.18xlarge'|'ml.m5.large'|'ml.m5.xlarge'|'ml.m5.2xlarge'|'ml.m5.4xlarge'|'ml.m5.8xlarge'|'ml.m5.12xlarge'|'ml.m5.16xlarge'|'ml.m5.24xlarge'|'ml.t3.medium'|'ml.t3.large'|'ml.t3.xlarge'|'ml.t3.2xlarge'|'ml.g6.xlarge'|'ml.g6.2xlarge'|'ml.g6.4xlarge'|'ml.g6.8xlarge'|'ml.g6.16xlarge'|'ml.g6.12xlarge'|'ml.g6.24xlarge'|'ml.g6.48xlarge'|'ml.gr6.4xlarge'|'ml.gr6.8xlarge'|'ml.g6e.xlarge'|'ml.g6e.2xlarge'|'ml.g6e.4xlarge'|'ml.g6e.8xlarge'|'ml.g6e.16xlarge'|'ml.g6e.12xlarge'|'ml.g6e.24xlarge'|'ml.g6e.48xlarge'|'ml.p5e.48xlarge'|'ml.p5en.48xlarge'|'ml.p6-b200.48xlarge'|'ml.trn2.3xlarge'|'ml.trn2.48xlarge'|'ml.c6i.large'|'ml.c6i.xlarge'|'ml.c6i.2xlarge'|'ml.c6i.4xlarge'|'ml.c6i.8xlarge'|'ml.c6i.12xlarge'|'ml.c6i.16xlarge'|'ml.c6i.24xlarge'|'ml.c6i.32xlarge'|'ml.m6i.large'|'ml.m6i.xlarge'|'ml.m6i.2xlarge'|'ml.m6i.4xlarge'|'ml.m6i.8xlarge'|'ml.m6i.12xlarge'|'ml.m6i.16xlarge'|'ml.m6i.24xlarge'|'ml.m6i.32xlarge'|'ml.r6i.large'|'ml.r6i.xlarge'|'ml.r6i.2xlarge'|'ml.r6i.4xlarge'|'ml.r6i.8xlarge'|'ml.r6i.12xlarge'|'ml.r6i.16xlarge'|'ml.r6i.24xlarge'|'ml.r6i.32xlarge'|'ml.i3en.large'|'ml.i3en.xlarge'|'ml.i3en.2xlarge'|'ml.i3en.3xlarge'|'ml.i3en.6xlarge'|'ml.i3en.12xlarge'|'ml.i3en.24xlarge'|'ml.m7i.large'|'ml.m7i.xlarge'|'ml.m7i.2xlarge'|'ml.m7i.4xlarge'|'ml.m7i.8xlarge'|'ml.m7i.12xlarge'|'ml.m7i.16xlarge'|'ml.m7i.24xlarge'|'ml.m7i.48xlarge'|'ml.r7i.large'|'ml.r7i.xlarge'|'ml.r7i.2xlarge'|'ml.r7i.4xlarge'|'ml.r7i.8xlarge'|'ml.r7i.12xlarge'|'ml.r7i.16xlarge'|'ml.r7i.24xlarge'|'ml.r7i.48xlarge'|'ml.r5d.16xlarge'|'ml.g7e.2xlarge'|'ml.g7e.4xlarge'|'ml.g7e.8xlarge'|'ml.g7e.12xlarge'|'ml.g7e.24xlarge'|'ml.g7e.48xlarge'|'ml.p6-b300.48xlarge'|'ml.g4dn.xlarge'|'ml.g4dn.2xlarge'|'ml.g4dn.4xlarge'|'ml.g4dn.8xlarge'|'ml.g4dn.12xlarge'|'ml.g4dn.16xlarge'|'ml.c6g.medium'|'ml.c6g.large'|'ml.c6g.xlarge'|'ml.c6g.2xlarge'|'ml.c6g.4xlarge'|'ml.c6g.8xlarge'|'ml.c6g.12xlarge'|'ml.c6g.16xlarge'|'ml.c7g.medium'|'ml.c7g.large'|'ml.c7g.xlarge'|'ml.c7g.2xlarge'|'ml.c7g.4xlarge'|'ml.c7g.8xlarge'|'ml.c7g.12xlarge'|'ml.c7g.16xlarge'|'ml.c8g.medium'|'ml.c8g.large'|'ml.c8g.xlarge'|'ml.c8g.2xlarge'|'ml.c8g.4xlarge'|'ml.c8g.8xlarge'|'ml.c8g.12xlarge'|'ml.c8g.16xlarge'|'ml.c8g.24xlarge'|'ml.c8g.48xlarge'|'ml.c6a.large'|'ml.c6a.xlarge'|'ml.c6a.2xlarge'|'ml.c6a.4xlarge'|'ml.c6a.8xlarge'|'ml.c6a.12xlarge'|'ml.c6a.16xlarge'|'ml.c6a.24xlarge'|'ml.c6a.32xlarge'|'ml.c6a.48xlarge'|'ml.m6a.large'|'ml.m6a.xlarge'|'ml.m6a.2xlarge'|'ml.m6a.4xlarge'|'ml.m6a.8xlarge'|'ml.m6a.12xlarge'|'ml.m6a.16xlarge'|'ml.m6a.24xlarge'|'ml.m6a.32xlarge'|'ml.m6a.48xlarge'|'ml.m6g.medium'|'ml.m6g.large'|'ml.m6g.xlarge'|'ml.m6g.2xlarge'|'ml.m6g.4xlarge'|'ml.m6g.8xlarge'|'ml.m6g.12xlarge'|'ml.m6g.16xlarge'|'ml.m7g.medium'|'ml.m7g.large'|'ml.m7g.xlarge'|'ml.m7g.2xlarge'|'ml.m7g.4xlarge'|'ml.m7g.8xlarge'|'ml.m7g.12xlarge'|'ml.m7g.16xlarge'|'ml.m8g.medium'|'ml.m8g.large'|'ml.m8g.xlarge'|'ml.m8g.2xlarge'|'ml.m8g.4xlarge'|'ml.m8g.8xlarge'|'ml.m8g.12xlarge'|'ml.m8g.16xlarge'|'ml.m8g.24xlarge'|'ml.m8g.48xlarge'|'ml.g7.2xlarge'|'ml.g7.4xlarge'|'ml.g7.8xlarge'|'ml.g7.12xlarge'|'ml.g7.24xlarge'|'ml.g7.48xlarge',
                ]
            },
            'InstanceTypeDetails': [
                {
                    'InstanceType': 'ml.p4d.24xlarge'|'ml.p4de.24xlarge'|'ml.p5.48xlarge'|'ml.p5.4xlarge'|'ml.p6e-gb200.36xlarge'|'ml.trn1.32xlarge'|'ml.trn1n.32xlarge'|'ml.g5.xlarge'|'ml.g5.2xlarge'|'ml.g5.4xlarge'|'ml.g5.8xlarge'|'ml.g5.12xlarge'|'ml.g5.16xlarge'|'ml.g5.24xlarge'|'ml.g5.48xlarge'|'ml.c5.large'|'ml.c5.xlarge'|'ml.c5.2xlarge'|'ml.c5.4xlarge'|'ml.c5.9xlarge'|'ml.c5.12xlarge'|'ml.c5.18xlarge'|'ml.c5.24xlarge'|'ml.c5n.large'|'ml.c5n.2xlarge'|'ml.c5n.4xlarge'|'ml.c5n.9xlarge'|'ml.c5n.18xlarge'|'ml.m5.large'|'ml.m5.xlarge'|'ml.m5.2xlarge'|'ml.m5.4xlarge'|'ml.m5.8xlarge'|'ml.m5.12xlarge'|'ml.m5.16xlarge'|'ml.m5.24xlarge'|'ml.t3.medium'|'ml.t3.large'|'ml.t3.xlarge'|'ml.t3.2xlarge'|'ml.g6.xlarge'|'ml.g6.2xlarge'|'ml.g6.4xlarge'|'ml.g6.8xlarge'|'ml.g6.16xlarge'|'ml.g6.12xlarge'|'ml.g6.24xlarge'|'ml.g6.48xlarge'|'ml.gr6.4xlarge'|'ml.gr6.8xlarge'|'ml.g6e.xlarge'|'ml.g6e.2xlarge'|'ml.g6e.4xlarge'|'ml.g6e.8xlarge'|'ml.g6e.16xlarge'|'ml.g6e.12xlarge'|'ml.g6e.24xlarge'|'ml.g6e.48xlarge'|'ml.p5e.48xlarge'|'ml.p5en.48xlarge'|'ml.p6-b200.48xlarge'|'ml.trn2.3xlarge'|'ml.trn2.48xlarge'|'ml.c6i.large'|'ml.c6i.xlarge'|'ml.c6i.2xlarge'|'ml.c6i.4xlarge'|'ml.c6i.8xlarge'|'ml.c6i.12xlarge'|'ml.c6i.16xlarge'|'ml.c6i.24xlarge'|'ml.c6i.32xlarge'|'ml.m6i.large'|'ml.m6i.xlarge'|'ml.m6i.2xlarge'|'ml.m6i.4xlarge'|'ml.m6i.8xlarge'|'ml.m6i.12xlarge'|'ml.m6i.16xlarge'|'ml.m6i.24xlarge'|'ml.m6i.32xlarge'|'ml.r6i.large'|'ml.r6i.xlarge'|'ml.r6i.2xlarge'|'ml.r6i.4xlarge'|'ml.r6i.8xlarge'|'ml.r6i.12xlarge'|'ml.r6i.16xlarge'|'ml.r6i.24xlarge'|'ml.r6i.32xlarge'|'ml.i3en.large'|'ml.i3en.xlarge'|'ml.i3en.2xlarge'|'ml.i3en.3xlarge'|'ml.i3en.6xlarge'|'ml.i3en.12xlarge'|'ml.i3en.24xlarge'|'ml.m7i.large'|'ml.m7i.xlarge'|'ml.m7i.2xlarge'|'ml.m7i.4xlarge'|'ml.m7i.8xlarge'|'ml.m7i.12xlarge'|'ml.m7i.16xlarge'|'ml.m7i.24xlarge'|'ml.m7i.48xlarge'|'ml.r7i.large'|'ml.r7i.xlarge'|'ml.r7i.2xlarge'|'ml.r7i.4xlarge'|'ml.r7i.8xlarge'|'ml.r7i.12xlarge'|'ml.r7i.16xlarge'|'ml.r7i.24xlarge'|'ml.r7i.48xlarge'|'ml.r5d.16xlarge'|'ml.g7e.2xlarge'|'ml.g7e.4xlarge'|'ml.g7e.8xlarge'|'ml.g7e.12xlarge'|'ml.g7e.24xlarge'|'ml.g7e.48xlarge'|'ml.p6-b300.48xlarge'|'ml.g4dn.xlarge'|'ml.g4dn.2xlarge'|'ml.g4dn.4xlarge'|'ml.g4dn.8xlarge'|'ml.g4dn.12xlarge'|'ml.g4dn.16xlarge'|'ml.c6g.medium'|'ml.c6g.large'|'ml.c6g.xlarge'|'ml.c6g.2xlarge'|'ml.c6g.4xlarge'|'ml.c6g.8xlarge'|'ml.c6g.12xlarge'|'ml.c6g.16xlarge'|'ml.c7g.medium'|'ml.c7g.large'|'ml.c7g.xlarge'|'ml.c7g.2xlarge'|'ml.c7g.4xlarge'|'ml.c7g.8xlarge'|'ml.c7g.12xlarge'|'ml.c7g.16xlarge'|'ml.c8g.medium'|'ml.c8g.large'|'ml.c8g.xlarge'|'ml.c8g.2xlarge'|'ml.c8g.4xlarge'|'ml.c8g.8xlarge'|'ml.c8g.12xlarge'|'ml.c8g.16xlarge'|'ml.c8g.24xlarge'|'ml.c8g.48xlarge'|'ml.c6a.large'|'ml.c6a.xlarge'|'ml.c6a.2xlarge'|'ml.c6a.4xlarge'|'ml.c6a.8xlarge'|'ml.c6a.12xlarge'|'ml.c6a.16xlarge'|'ml.c6a.24xlarge'|'ml.c6a.32xlarge'|'ml.c6a.48xlarge'|'ml.m6a.large'|'ml.m6a.xlarge'|'ml.m6a.2xlarge'|'ml.m6a.4xlarge'|'ml.m6a.8xlarge'|'ml.m6a.12xlarge'|'ml.m6a.16xlarge'|'ml.m6a.24xlarge'|'ml.m6a.32xlarge'|'ml.m6a.48xlarge'|'ml.m6g.medium'|'ml.m6g.large'|'ml.m6g.xlarge'|'ml.m6g.2xlarge'|'ml.m6g.4xlarge'|'ml.m6g.8xlarge'|'ml.m6g.12xlarge'|'ml.m6g.16xlarge'|'ml.m7g.medium'|'ml.m7g.large'|'ml.m7g.xlarge'|'ml.m7g.2xlarge'|'ml.m7g.4xlarge'|'ml.m7g.8xlarge'|'ml.m7g.12xlarge'|'ml.m7g.16xlarge'|'ml.m8g.medium'|'ml.m8g.large'|'ml.m8g.xlarge'|'ml.m8g.2xlarge'|'ml.m8g.4xlarge'|'ml.m8g.8xlarge'|'ml.m8g.12xlarge'|'ml.m8g.16xlarge'|'ml.m8g.24xlarge'|'ml.m8g.48xlarge'|'ml.g7.2xlarge'|'ml.g7.4xlarge'|'ml.g7.8xlarge'|'ml.g7.12xlarge'|'ml.g7.24xlarge'|'ml.g7.48xlarge',
                    'CurrentCount': 123,
                    'ThreadsPerCore': 123
                },
            ],
            'LifeCycleConfig': {
                'SourceS3Uri': 'string',
                'OnCreate': 'string',
                'OnInitComplete': 'string'
            },
            'ExecutionRole': 'string',
            'ThreadsPerCore': 123,
            'InstanceStorageConfigs': [
                {
                    'EbsVolumeConfig': {
                        'VolumeSizeInGB': 123,
                        'VolumeKmsKeyId': 'string',
                        'RootVolume': True|False
                    },
                    'FsxLustreConfig': {
                        'DnsName': 'string',
                        'MountName': 'string',
                        'MountPath': 'string'
                    },
                    'FsxOpenZfsConfig': {
                        'DnsName': 'string',
                        'MountPath': 'string'
                    }
                },
            ],
            'OnStartDeepHealthChecks': [
                'InstanceStress'|'InstanceConnectivity',
            ],
            'Status': 'InService'|'Creating'|'Updating'|'Failed'|'Degraded'|'SystemUpdating'|'Deleting',
            'TrainingPlanArn': 'string',
            'TrainingPlanStatus': 'string',
            'OverrideVpcConfig': {
                'SecurityGroupIds': [
                    'string',
                ],
                'Subnets': [
                    'string',
                ]
            },
            'ScheduledUpdateConfig': {
                'ScheduleExpression': 'string',
                'DeploymentConfig': {
                    'RollingUpdatePolicy': {
                        'MaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        },
                        'RollbackMaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        }
                    },
                    'WaitIntervalInSeconds': 123,
                    'AutoRollbackConfiguration': [
                        {
                            'AlarmName': 'string'
                        },
                    ]
                }
            },
            'AutoPatchConfig': {
                'PatchingStrategy': 'WhenIdle'|'WhenAllIdle',
                'CurrentPatchSchedule': {
                    'NextPatchDate': datetime(2015, 1, 1)
                },
                'DesiredPatchSchedule': {
                    'NextPatchDate': datetime(2015, 1, 1)
                },
                'DeploymentConfig': {
                    'RollingUpdatePolicy': {
                        'MaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        },
                        'RollbackMaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        }
                    },
                    'WaitIntervalInSeconds': 123,
                    'AutoRollbackConfiguration': [
                        {
                            'AlarmName': 'string'
                        },
                    ]
                }
            },
            'CurrentImageId': 'string',
            'DesiredImageId': 'string',
            'CurrentImageReleaseVersion': 'string',
            'DesiredImageReleaseVersion': 'string',
            'ImageVersionStatus': 'UpToDate'|'UpdateAvailable'|'SecurityUpdateRequired'|'EndOfLife',
            'ActiveOperations': {
                'string': 123
            },
            'KubernetesConfig': {
                'CurrentLabels': {
                    'string': 'string'
                },
                'DesiredLabels': {
                    'string': 'string'
                },
                'CurrentTaints': [
                    {
                        'Key': 'string',
                        'Value': 'string',
                        'Effect': 'NoSchedule'|'PreferNoSchedule'|'NoExecute'
                    },
                ],
                'DesiredTaints': [
                    {
                        'Key': 'string',
                        'Value': 'string',
                        'Effect': 'NoSchedule'|'PreferNoSchedule'|'NoExecute'
                    },
                ]
            },
            'CapacityRequirements': {
                'Spot': {},
                'OnDemand': {}
            },
            'TargetStateCount': 123,
            'SoftwareUpdateStatus': 'Pending'|'InProgress'|'Succeeded'|'Failed'|'RollbackInProgress'|'RollbackComplete',
            'ActiveSoftwareUpdateConfig': {
                'RollingUpdatePolicy': {
                    'MaximumBatchSize': {
                        'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                        'Value': 123
                    },
                    'RollbackMaximumBatchSize': {
                        'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                        'Value': 123
                    }
                },
                'WaitIntervalInSeconds': 123,
                'AutoRollbackConfiguration': [
                    {
                        'AlarmName': 'string'
                    },
                ]
            },
            'SlurmConfig': {
                'NodeType': 'Controller'|'Login'|'Compute',
                'PartitionNames': [
                    'string',
                ]
            },
            'NetworkInterface': {
                'InterfaceType': 'efa'|'efa-only'
            }
        },
    ],
    'RestrictedInstanceGroups': [
        {
            'CurrentCount': 123,
            'TargetCount': 123,
            'InstanceGroupName': 'string',
            'InstanceType': 'ml.p4d.24xlarge'|'ml.p4de.24xlarge'|'ml.p5.48xlarge'|'ml.p5.4xlarge'|'ml.p6e-gb200.36xlarge'|'ml.trn1.32xlarge'|'ml.trn1n.32xlarge'|'ml.g5.xlarge'|'ml.g5.2xlarge'|'ml.g5.4xlarge'|'ml.g5.8xlarge'|'ml.g5.12xlarge'|'ml.g5.16xlarge'|'ml.g5.24xlarge'|'ml.g5.48xlarge'|'ml.c5.large'|'ml.c5.xlarge'|'ml.c5.2xlarge'|'ml.c5.4xlarge'|'ml.c5.9xlarge'|'ml.c5.12xlarge'|'ml.c5.18xlarge'|'ml.c5.24xlarge'|'ml.c5n.large'|'ml.c5n.2xlarge'|'ml.c5n.4xlarge'|'ml.c5n.9xlarge'|'ml.c5n.18xlarge'|'ml.m5.large'|'ml.m5.xlarge'|'ml.m5.2xlarge'|'ml.m5.4xlarge'|'ml.m5.8xlarge'|'ml.m5.12xlarge'|'ml.m5.16xlarge'|'ml.m5.24xlarge'|'ml.t3.medium'|'ml.t3.large'|'ml.t3.xlarge'|'ml.t3.2xlarge'|'ml.g6.xlarge'|'ml.g6.2xlarge'|'ml.g6.4xlarge'|'ml.g6.8xlarge'|'ml.g6.16xlarge'|'ml.g6.12xlarge'|'ml.g6.24xlarge'|'ml.g6.48xlarge'|'ml.gr6.4xlarge'|'ml.gr6.8xlarge'|'ml.g6e.xlarge'|'ml.g6e.2xlarge'|'ml.g6e.4xlarge'|'ml.g6e.8xlarge'|'ml.g6e.16xlarge'|'ml.g6e.12xlarge'|'ml.g6e.24xlarge'|'ml.g6e.48xlarge'|'ml.p5e.48xlarge'|'ml.p5en.48xlarge'|'ml.p6-b200.48xlarge'|'ml.trn2.3xlarge'|'ml.trn2.48xlarge'|'ml.c6i.large'|'ml.c6i.xlarge'|'ml.c6i.2xlarge'|'ml.c6i.4xlarge'|'ml.c6i.8xlarge'|'ml.c6i.12xlarge'|'ml.c6i.16xlarge'|'ml.c6i.24xlarge'|'ml.c6i.32xlarge'|'ml.m6i.large'|'ml.m6i.xlarge'|'ml.m6i.2xlarge'|'ml.m6i.4xlarge'|'ml.m6i.8xlarge'|'ml.m6i.12xlarge'|'ml.m6i.16xlarge'|'ml.m6i.24xlarge'|'ml.m6i.32xlarge'|'ml.r6i.large'|'ml.r6i.xlarge'|'ml.r6i.2xlarge'|'ml.r6i.4xlarge'|'ml.r6i.8xlarge'|'ml.r6i.12xlarge'|'ml.r6i.16xlarge'|'ml.r6i.24xlarge'|'ml.r6i.32xlarge'|'ml.i3en.large'|'ml.i3en.xlarge'|'ml.i3en.2xlarge'|'ml.i3en.3xlarge'|'ml.i3en.6xlarge'|'ml.i3en.12xlarge'|'ml.i3en.24xlarge'|'ml.m7i.large'|'ml.m7i.xlarge'|'ml.m7i.2xlarge'|'ml.m7i.4xlarge'|'ml.m7i.8xlarge'|'ml.m7i.12xlarge'|'ml.m7i.16xlarge'|'ml.m7i.24xlarge'|'ml.m7i.48xlarge'|'ml.r7i.large'|'ml.r7i.xlarge'|'ml.r7i.2xlarge'|'ml.r7i.4xlarge'|'ml.r7i.8xlarge'|'ml.r7i.12xlarge'|'ml.r7i.16xlarge'|'ml.r7i.24xlarge'|'ml.r7i.48xlarge'|'ml.r5d.16xlarge'|'ml.g7e.2xlarge'|'ml.g7e.4xlarge'|'ml.g7e.8xlarge'|'ml.g7e.12xlarge'|'ml.g7e.24xlarge'|'ml.g7e.48xlarge'|'ml.p6-b300.48xlarge'|'ml.g4dn.xlarge'|'ml.g4dn.2xlarge'|'ml.g4dn.4xlarge'|'ml.g4dn.8xlarge'|'ml.g4dn.12xlarge'|'ml.g4dn.16xlarge'|'ml.c6g.medium'|'ml.c6g.large'|'ml.c6g.xlarge'|'ml.c6g.2xlarge'|'ml.c6g.4xlarge'|'ml.c6g.8xlarge'|'ml.c6g.12xlarge'|'ml.c6g.16xlarge'|'ml.c7g.medium'|'ml.c7g.large'|'ml.c7g.xlarge'|'ml.c7g.2xlarge'|'ml.c7g.4xlarge'|'ml.c7g.8xlarge'|'ml.c7g.12xlarge'|'ml.c7g.16xlarge'|'ml.c8g.medium'|'ml.c8g.large'|'ml.c8g.xlarge'|'ml.c8g.2xlarge'|'ml.c8g.4xlarge'|'ml.c8g.8xlarge'|'ml.c8g.12xlarge'|'ml.c8g.16xlarge'|'ml.c8g.24xlarge'|'ml.c8g.48xlarge'|'ml.c6a.large'|'ml.c6a.xlarge'|'ml.c6a.2xlarge'|'ml.c6a.4xlarge'|'ml.c6a.8xlarge'|'ml.c6a.12xlarge'|'ml.c6a.16xlarge'|'ml.c6a.24xlarge'|'ml.c6a.32xlarge'|'ml.c6a.48xlarge'|'ml.m6a.large'|'ml.m6a.xlarge'|'ml.m6a.2xlarge'|'ml.m6a.4xlarge'|'ml.m6a.8xlarge'|'ml.m6a.12xlarge'|'ml.m6a.16xlarge'|'ml.m6a.24xlarge'|'ml.m6a.32xlarge'|'ml.m6a.48xlarge'|'ml.m6g.medium'|'ml.m6g.large'|'ml.m6g.xlarge'|'ml.m6g.2xlarge'|'ml.m6g.4xlarge'|'ml.m6g.8xlarge'|'ml.m6g.12xlarge'|'ml.m6g.16xlarge'|'ml.m7g.medium'|'ml.m7g.large'|'ml.m7g.xlarge'|'ml.m7g.2xlarge'|'ml.m7g.4xlarge'|'ml.m7g.8xlarge'|'ml.m7g.12xlarge'|'ml.m7g.16xlarge'|'ml.m8g.medium'|'ml.m8g.large'|'ml.m8g.xlarge'|'ml.m8g.2xlarge'|'ml.m8g.4xlarge'|'ml.m8g.8xlarge'|'ml.m8g.12xlarge'|'ml.m8g.16xlarge'|'ml.m8g.24xlarge'|'ml.m8g.48xlarge'|'ml.g7.2xlarge'|'ml.g7.4xlarge'|'ml.g7.8xlarge'|'ml.g7.12xlarge'|'ml.g7.24xlarge'|'ml.g7.48xlarge',
            'ExecutionRole': 'string',
            'ThreadsPerCore': 123,
            'InstanceStorageConfigs': [
                {
                    'EbsVolumeConfig': {
                        'VolumeSizeInGB': 123,
                        'VolumeKmsKeyId': 'string',
                        'RootVolume': True|False
                    },
                    'FsxLustreConfig': {
                        'DnsName': 'string',
                        'MountName': 'string',
                        'MountPath': 'string'
                    },
                    'FsxOpenZfsConfig': {
                        'DnsName': 'string',
                        'MountPath': 'string'
                    }
                },
            ],
            'OnStartDeepHealthChecks': [
                'InstanceStress'|'InstanceConnectivity',
            ],
            'Status': 'InService'|'Creating'|'Updating'|'Failed'|'Degraded'|'SystemUpdating'|'Deleting',
            'TrainingPlanArn': 'string',
            'TrainingPlanStatus': 'string',
            'OverrideVpcConfig': {
                'SecurityGroupIds': [
                    'string',
                ],
                'Subnets': [
                    'string',
                ]
            },
            'ScheduledUpdateConfig': {
                'ScheduleExpression': 'string',
                'DeploymentConfig': {
                    'RollingUpdatePolicy': {
                        'MaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        },
                        'RollbackMaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        }
                    },
                    'WaitIntervalInSeconds': 123,
                    'AutoRollbackConfiguration': [
                        {
                            'AlarmName': 'string'
                        },
                    ]
                }
            },
            'EnvironmentConfig': {
                'FSxLustreConfig': {
                    'SizeInGiB': 123,
                    'PerUnitStorageThroughput': 123
                },
                'S3OutputPath': 'string'
            }
        },
    ],
    'RestrictedInstanceGroupsConfig': {
        'SharedEnvironmentConfig': {
            'CurrentFSxLustreConfig': {
                'SizeInGiB': 123,
                'PerUnitStorageThroughput': 123
            },
            'DesiredFSxLustreConfig': {
                'SizeInGiB': 123,
                'PerUnitStorageThroughput': 123
            },
            'CurrentFSxLustreDeletionPolicy': 'DeleteIfNotUsed'|'Keep',
            'DesiredFSxLustreDeletionPolicy': 'DeleteIfNotUsed'|'Keep'
        }
    },
    'VpcConfig': {
        'SecurityGroupIds': [
            'string',
        ],
        'Subnets': [
            'string',
        ]
    },
    'Orchestrator': {
        'Eks': {
            'ClusterArn': 'string'
        },
        'Slurm': {
            'SlurmConfigStrategy': 'Overwrite'|'Managed'|'Merge',
            'AccountingDatabase': {
                'Endpoint': 'string',
                'Port': 123,
                'Name': 'string',
                'SecretArn': 'string'
            }
        }
    },
    'TieredStorageConfig': {
        'Mode': 'Enable'|'Disable',
        'InstanceMemoryAllocationPercentage': 123
    },
    'NodeRecovery': 'Automatic'|'None',
    'NodeProvisioningMode': 'Continuous',
    'ClusterRole': 'string',
    'AutoScaling': {
        'Mode': 'Enable'|'Disable',
        'AutoScalerType': 'Karpenter',
        'Status': 'InService'|'Failed'|'Creating'|'Deleting',
        'FailureMessage': 'string'
    }
}

Response Structure

  • (dict) --

    • ClusterArn (string) --

      The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster.

    • ClusterName (string) --

      The name of the SageMaker HyperPod cluster.

    • ClusterStatus (string) --

      The status of the SageMaker HyperPod cluster.

    • CreationTime (datetime) --

      The time when the SageMaker Cluster is created.

    • FailureMessage (string) --

      The failure message of the SageMaker HyperPod cluster.

    • InstanceGroups (list) --

      The instance groups of the SageMaker HyperPod cluster.

      • (dict) --

        Details of an instance group in a SageMaker HyperPod cluster.

        • CurrentCount (integer) --

          The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.

        • TargetCount (integer) --

          The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.

        • MinCount (integer) --

          The minimum number of instances that must be available in the instance group of a SageMaker HyperPod cluster before it transitions to InService status.

        • InstanceGroupName (string) --

          The name of the instance group of a SageMaker HyperPod cluster.

        • InstanceType (string) --

          The instance type of the instance group of a SageMaker HyperPod cluster.

        • InstanceRequirements (dict) --

          The instance requirements for the instance group, including the current and desired instance types. This field is present for flexible instance groups that support multiple instance types.

          • CurrentInstanceTypes (list) --

            The instance types currently in use by the instance group.

            • (string) --

          • DesiredInstanceTypes (list) --

            The desired instance types for the instance group, as specified in the most recent update request.

            • (string) --

        • InstanceTypeDetails (list) --

          Details about the instance types in the instance group, including the count and configuration of each instance type. This field is present for flexible instance groups that support multiple instance types.

          • (dict) --

            Details about a specific instance type within a flexible instance group, including the count and configuration.

            • InstanceType (string) --

              The instance type.

            • CurrentCount (integer) --

              The number of instances of this type currently running in the instance group.

            • ThreadsPerCore (integer) --

              The number of threads per CPU core for this instance type.

        • LifeCycleConfig (dict) --

          Details of LifeCycle configuration for the instance group.

          • SourceS3Uri (string) --

            An Amazon S3 bucket path where your lifecycle scripts are stored.

          • OnCreate (string) --

            The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.

          • OnInitComplete (string) --

            The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This script runs on the node after the AMI-based initialization is complete.

        • ExecutionRole (string) --

          The execution role for the instance group to assume.

        • ThreadsPerCore (integer) --

          The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading. For more information, see the reference table of CPU cores and threads per CPU core per instance type in the Amazon Elastic Compute Cloud User Guide.

        • InstanceStorageConfigs (list) --

          The additional storage configurations for the instances in the SageMaker HyperPod cluster instance group.

          • (dict) --

            Defines the configuration for attaching additional storage to the instances in the SageMaker HyperPod cluster instance group. To learn more, see SageMaker HyperPod release notes: June 20, 2024.

            • EbsVolumeConfig (dict) --

              Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.

              • VolumeSizeInGB (integer) --

                The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.

              • VolumeKmsKeyId (string) --

                The ID of a KMS key to encrypt the Amazon EBS volume.

              • RootVolume (boolean) --

                Specifies whether the configuration is for the cluster's root or secondary Amazon EBS volume. You can specify two ClusterEbsVolumeConfig fields to configure both the root and secondary volumes. Set the value to True if you'd like to provide your own customer managed Amazon Web Services KMS key to encrypt the root volume. When True:

                • The configuration is applied to the root volume.

                • You can't specify the VolumeSizeInGB field. The size of the root volume is determined for you.

                • You must specify a KMS key ID for VolumeKmsKeyId to encrypt the root volume with your own KMS key instead of an Amazon Web Services owned KMS key.

                Otherwise, by default, the value is False, and the following applies:

                • The configuration is applied to the secondary volume, while the root volume is encrypted with an Amazon Web Services owned key.

                • You must specify the VolumeSizeInGB field.

                • You can optionally specify the VolumeKmsKeyId to encrypt the secondary volume with your own KMS key instead of an Amazon Web Services owned KMS key.

            • FsxLustreConfig (dict) --

              Defines the configuration for attaching an Amazon FSx for Lustre file system to the instances in the SageMaker HyperPod cluster instance group.

              • DnsName (string) --

                The DNS name of the Amazon FSx for Lustre file system.

              • MountName (string) --

                The mount name of the Amazon FSx for Lustre file system.

              • MountPath (string) --

                The local path where the Amazon FSx for Lustre file system is mounted on instances.

            • FsxOpenZfsConfig (dict) --

              Defines the configuration for attaching an Amazon FSx for OpenZFS file system to the instances in the SageMaker HyperPod cluster instance group.

              • DnsName (string) --

                The DNS name of the Amazon FSx for OpenZFS file system.

              • MountPath (string) --

                The local path where the Amazon FSx for OpenZFS file system is mounted on instances.

        • OnStartDeepHealthChecks (list) --

          A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.

          • (string) --

        • Status (string) --

          The current status of the cluster instance group.

          • InService: The instance group is active and healthy.

          • Creating: The instance group is being provisioned.

          • Updating: The instance group is being updated.

          • Failed: The instance group has failed to provision or is no longer healthy.

          • Degraded: The instance group is degraded, meaning that some instances have failed to provision or are no longer healthy.

          • Deleting: The instance group is being deleted.

        • TrainingPlanArn (string) --

          The Amazon Resource Name (ARN); of the training plan associated with this cluster instance group.

          For more information about how to reserve GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see ``CreateTrainingPlan ``.

        • TrainingPlanStatus (string) --

          The current status of the training plan associated with this cluster instance group.

        • OverrideVpcConfig (dict) --

          The customized Amazon VPC configuration at the instance group level that overrides the default Amazon VPC configuration of the SageMaker HyperPod cluster.

          • SecurityGroupIds (list) --

            The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

            • (string) --

          • Subnets (list) --

            The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.

            • (string) --

        • ScheduledUpdateConfig (dict) --

          The configuration object of the schedule that SageMaker follows when updating the AMI.

          • ScheduleExpression (string) --

            A cron expression that specifies the schedule that SageMaker follows when updating the AMI.

          • DeploymentConfig (dict) --

            The configuration to use when updating the AMI versions.

            • RollingUpdatePolicy (dict) --

              The policy that SageMaker uses when updating the AMI versions of the cluster.

              • MaximumBatchSize (dict) --

                The maximum amount of instances in the cluster that SageMaker can update at a time.

                • Type (string) --

                  Specifies whether SageMaker should process the update by amount or percentage of instances.

                • Value (integer) --

                  Specifies the amount or percentage of instances SageMaker updates at a time.

              • RollbackMaximumBatchSize (dict) --

                The maximum amount of instances in the cluster that SageMaker can roll back at a time.

                • Type (string) --

                  Specifies whether SageMaker should process the update by amount or percentage of instances.

                • Value (integer) --

                  Specifies the amount or percentage of instances SageMaker updates at a time.

            • WaitIntervalInSeconds (integer) --

              The duration in seconds that SageMaker waits before updating more instances in the cluster.

            • AutoRollbackConfiguration (list) --

              An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.

              • (dict) --

                The details of the alarm to monitor during the AMI update.

                • AlarmName (string) --

                  The name of the alarm.

        • AutoPatchConfig (dict) --

          The auto-patching configuration for the instance group, including the current patching strategy and next scheduled patch date.

          • PatchingStrategy (string) --

            The strategy used for applying patches to instances in the group.

            • WhenIdle: Cordons all instances and patches each instance as it becomes idle (no running jobs). Each instance is uncordoned immediately after patching and becomes available for new jobs. If instances do not become idle, they remain on the previous AMI version. You can then use UpdateClusterSoftware with the desired ImageReleaseVersion to manually update the remaining instances.

            • WhenAllIdle: Cordons all instances and waits for all to become idle before patching. All instances are uncordoned after patching completes. If not all instances become idle, no patching occurs and all instances remain on the previous AMI version.

          • CurrentPatchSchedule (dict) --

            The currently active patch schedule that the system will execute.

            • NextPatchDate (datetime) --

              The date and time of the next scheduled automatic patch.

          • DesiredPatchSchedule (dict) --

            The requested patch schedule. Differs from CurrentPatchSchedule when a reschedule request is pending.

            • NextPatchDate (datetime) --

              The date and time of the next scheduled automatic patch.

          • DeploymentConfig (dict) --

            The deployment configuration for rolling patch updates.

            • RollingUpdatePolicy (dict) --

              The policy that SageMaker uses when updating the AMI versions of the cluster.

              • MaximumBatchSize (dict) --

                The maximum amount of instances in the cluster that SageMaker can update at a time.

                • Type (string) --

                  Specifies whether SageMaker should process the update by amount or percentage of instances.

                • Value (integer) --

                  Specifies the amount or percentage of instances SageMaker updates at a time.

              • RollbackMaximumBatchSize (dict) --

                The maximum amount of instances in the cluster that SageMaker can roll back at a time.

                • Type (string) --

                  Specifies whether SageMaker should process the update by amount or percentage of instances.

                • Value (integer) --

                  Specifies the amount or percentage of instances SageMaker updates at a time.

            • WaitIntervalInSeconds (integer) --

              The duration in seconds that SageMaker waits before updating more instances in the cluster.

            • AutoRollbackConfiguration (list) --

              An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.

              • (dict) --

                The details of the alarm to monitor during the AMI update.

                • AlarmName (string) --

                  The name of the alarm.

        • CurrentImageId (string) --

          The ID of the Amazon Machine Image (AMI) currently in use by the instance group.

        • DesiredImageId (string) --

          The ID of the Amazon Machine Image (AMI) desired for the instance group.

        • CurrentImageReleaseVersion (string) --

          The version of the HyperPod-managed AMI currently running on the instance group.

        • DesiredImageReleaseVersion (string) --

          The desired version of the HyperPod-managed AMI for the instance group. This may differ from the current version when an update is pending.

        • ImageVersionStatus (string) --

          The status of the image version for the instance group. Indicates whether the instance group is running the latest image version or if an update is available.

        • ActiveOperations (dict) --

          A map indicating active operations currently in progress for the instance group of a SageMaker HyperPod cluster. When there is a scaling operation in progress, this map contains a key Scaling with value 1.

          • (string) --

            • (integer) --

        • KubernetesConfig (dict) --

          The Kubernetes configuration for the instance group that contains labels and taints to be applied for the nodes in this instance group.

          • CurrentLabels (dict) --

            The current labels applied to cluster nodes of an instance group.

            • (string) --

              • (string) --

          • DesiredLabels (dict) --

            The desired labels to be applied to cluster nodes of an instance group.

            • (string) --

              • (string) --

          • CurrentTaints (list) --

            The current taints applied to cluster nodes of an instance group.

            • (dict) --

              A Kubernetes taint that can be applied to cluster nodes.

              • Key (string) --

                The key of the taint.

              • Value (string) --

                The value of the taint.

              • Effect (string) --

                The effect of the taint. Valid values are NoSchedule, PreferNoSchedule, and NoExecute.

          • DesiredTaints (list) --

            The desired taints to be applied to cluster nodes of an instance group.

            • (dict) --

              A Kubernetes taint that can be applied to cluster nodes.

              • Key (string) --

                The key of the taint.

              • Value (string) --

                The value of the taint.

              • Effect (string) --

                The effect of the taint. Valid values are NoSchedule, PreferNoSchedule, and NoExecute.

        • CapacityRequirements (dict) --

          The instance capacity requirements for the instance group.

          • Spot (dict) --

            Configuration options specific to Spot instances.

          • OnDemand (dict) --

            Configuration options specific to On-Demand instances.

        • TargetStateCount (integer) --

          Represents the number of running nodes using the desired Image ID.

          • During software update operations: This count shows the number of nodes running on the desired Image ID. If a rollback occurs, the current image ID and desired image ID (both included in the describe cluster response) swap values. The TargetStateCount then shows the number of nodes running on the newly designated desired image ID (which was previously the current image ID).

          • During simultaneous scaling and software update operations: This count shows the number of instances running on the desired image ID, including any new instances created as part of the scaling request. New nodes are always created using the desired image ID, so TargetStateCount reflects the total count of nodes running on the desired image ID, even during rollback scenarios.

        • SoftwareUpdateStatus (string) --

          Status of the last software udpate request.

          Status transitions follow these possible sequences:

          • Pending -> InProgress -> Succeeded

          • Pending -> InProgress -> RollbackInProgress -> RollbackComplete

          • Pending -> InProgress -> RollbackInProgress -> Failed

        • ActiveSoftwareUpdateConfig (dict) --

          The configuration to use when updating the AMI versions.

          • RollingUpdatePolicy (dict) --

            The policy that SageMaker uses when updating the AMI versions of the cluster.

            • MaximumBatchSize (dict) --

              The maximum amount of instances in the cluster that SageMaker can update at a time.

              • Type (string) --

                Specifies whether SageMaker should process the update by amount or percentage of instances.

              • Value (integer) --

                Specifies the amount or percentage of instances SageMaker updates at a time.

            • RollbackMaximumBatchSize (dict) --

              The maximum amount of instances in the cluster that SageMaker can roll back at a time.

              • Type (string) --

                Specifies whether SageMaker should process the update by amount or percentage of instances.

              • Value (integer) --

                Specifies the amount or percentage of instances SageMaker updates at a time.

          • WaitIntervalInSeconds (integer) --

            The duration in seconds that SageMaker waits before updating more instances in the cluster.

          • AutoRollbackConfiguration (list) --

            An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.

            • (dict) --

              The details of the alarm to monitor during the AMI update.

              • AlarmName (string) --

                The name of the alarm.

        • SlurmConfig (dict) --

          The Slurm configuration for the instance group.

          • NodeType (string) --

            The type of Slurm node for the instance group. Valid values are Controller, Worker, and Login.

          • PartitionNames (list) --

            The list of Slurm partition names that the instance group belongs to.

            • (string) --

        • NetworkInterface (dict) --

          The network interface configuration for the instance group.

          • InterfaceType (string) --

            The type of network interface for the instance group. Valid values are efa and efa-only.

    • RestrictedInstanceGroups (list) --

      The specialized instance groups for training models like Amazon Nova to be created in the SageMaker HyperPod cluster.

      • (dict) --

        The instance group details of the restricted instance group (RIG).

        • CurrentCount (integer) --

          The number of instances that are currently in the restricted instance group of a SageMaker HyperPod cluster.

        • TargetCount (integer) --

          The number of instances you specified to add to the restricted instance group of a SageMaker HyperPod cluster.

        • InstanceGroupName (string) --

          The name of the restricted instance group of a SageMaker HyperPod cluster.

        • InstanceType (string) --

          The instance type of the restricted instance group of a SageMaker HyperPod cluster.

        • ExecutionRole (string) --

          The execution role for the restricted instance group to assume.

        • ThreadsPerCore (integer) --

          The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading. For more information, see the reference table of CPU cores and threads per CPU core per instance type in the Amazon Elastic Compute Cloud User Guide.

        • InstanceStorageConfigs (list) --

          The additional storage configurations for the instances in the SageMaker HyperPod cluster restricted instance group.

          • (dict) --

            Defines the configuration for attaching additional storage to the instances in the SageMaker HyperPod cluster instance group. To learn more, see SageMaker HyperPod release notes: June 20, 2024.

            • EbsVolumeConfig (dict) --

              Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.

              • VolumeSizeInGB (integer) --

                The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.

              • VolumeKmsKeyId (string) --

                The ID of a KMS key to encrypt the Amazon EBS volume.

              • RootVolume (boolean) --

                Specifies whether the configuration is for the cluster's root or secondary Amazon EBS volume. You can specify two ClusterEbsVolumeConfig fields to configure both the root and secondary volumes. Set the value to True if you'd like to provide your own customer managed Amazon Web Services KMS key to encrypt the root volume. When True:

                • The configuration is applied to the root volume.

                • You can't specify the VolumeSizeInGB field. The size of the root volume is determined for you.

                • You must specify a KMS key ID for VolumeKmsKeyId to encrypt the root volume with your own KMS key instead of an Amazon Web Services owned KMS key.

                Otherwise, by default, the value is False, and the following applies:

                • The configuration is applied to the secondary volume, while the root volume is encrypted with an Amazon Web Services owned key.

                • You must specify the VolumeSizeInGB field.

                • You can optionally specify the VolumeKmsKeyId to encrypt the secondary volume with your own KMS key instead of an Amazon Web Services owned KMS key.

            • FsxLustreConfig (dict) --

              Defines the configuration for attaching an Amazon FSx for Lustre file system to the instances in the SageMaker HyperPod cluster instance group.

              • DnsName (string) --

                The DNS name of the Amazon FSx for Lustre file system.

              • MountName (string) --

                The mount name of the Amazon FSx for Lustre file system.

              • MountPath (string) --

                The local path where the Amazon FSx for Lustre file system is mounted on instances.

            • FsxOpenZfsConfig (dict) --

              Defines the configuration for attaching an Amazon FSx for OpenZFS file system to the instances in the SageMaker HyperPod cluster instance group.

              • DnsName (string) --

                The DNS name of the Amazon FSx for OpenZFS file system.

              • MountPath (string) --

                The local path where the Amazon FSx for OpenZFS file system is mounted on instances.

        • OnStartDeepHealthChecks (list) --

          A flag indicating whether deep health checks should be performed when the cluster's restricted instance group is created or updated.

          • (string) --

        • Status (string) --

          The current status of the cluster's restricted instance group.

          • InService: The restricted instance group is active and healthy.

          • Creating: The restricted instance group is being provisioned.

          • Updating: The restricted instance group is being updated.

          • Failed: The restricted instance group has failed to provision or is no longer healthy.

          • Degraded: The restricted instance group is degraded, meaning that some instances have failed to provision or are no longer healthy.

          • Deleting: The restricted instance group is being deleted.

        • TrainingPlanArn (string) --

          The Amazon Resource Name (ARN) of the training plan to filter clusters by. For more information about reserving GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see ``CreateTrainingPlan ``.

        • TrainingPlanStatus (string) --

          The current status of the training plan associated with this cluster restricted instance group.

        • OverrideVpcConfig (dict) --

          Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC.

          • SecurityGroupIds (list) --

            The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

            • (string) --

          • Subnets (list) --

            The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.

            • (string) --

        • ScheduledUpdateConfig (dict) --

          The configuration object of the schedule that SageMaker follows when updating the AMI.

          • ScheduleExpression (string) --

            A cron expression that specifies the schedule that SageMaker follows when updating the AMI.

          • DeploymentConfig (dict) --

            The configuration to use when updating the AMI versions.

            • RollingUpdatePolicy (dict) --

              The policy that SageMaker uses when updating the AMI versions of the cluster.

              • MaximumBatchSize (dict) --

                The maximum amount of instances in the cluster that SageMaker can update at a time.

                • Type (string) --

                  Specifies whether SageMaker should process the update by amount or percentage of instances.

                • Value (integer) --

                  Specifies the amount or percentage of instances SageMaker updates at a time.

              • RollbackMaximumBatchSize (dict) --

                The maximum amount of instances in the cluster that SageMaker can roll back at a time.

                • Type (string) --

                  Specifies whether SageMaker should process the update by amount or percentage of instances.

                • Value (integer) --

                  Specifies the amount or percentage of instances SageMaker updates at a time.

            • WaitIntervalInSeconds (integer) --

              The duration in seconds that SageMaker waits before updating more instances in the cluster.

            • AutoRollbackConfiguration (list) --

              An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.

              • (dict) --

                The details of the alarm to monitor during the AMI update.

                • AlarmName (string) --

                  The name of the alarm.

        • EnvironmentConfig (dict) --

          The configuration for the restricted instance groups (RIG) environment.

          • FSxLustreConfig (dict) --

            Configuration settings for an Amazon FSx for Lustre file system to be used with the cluster.

            • SizeInGiB (integer) --

              The storage capacity of the Amazon FSx for Lustre file system, specified in gibibytes (GiB).

            • PerUnitStorageThroughput (integer) --

              The throughput capacity of the Amazon FSx for Lustre file system, measured in MB/s per TiB of storage.

          • S3OutputPath (string) --

            The Amazon S3 path where output data from the restricted instance group (RIG) environment will be stored.

    • RestrictedInstanceGroupsConfig (dict) --

      The configuration for the restricted instance groups (RIG) in the SageMaker HyperPod cluster.

      • SharedEnvironmentConfig (dict) --

        The shared environment configuration details for the restricted instance groups (RIG).

        • CurrentFSxLustreConfig (dict) --

          The current Amazon FSx for Lustre file system configuration in the shared environment.

          • SizeInGiB (integer) --

            The storage capacity of the Amazon FSx for Lustre file system, specified in gibibytes (GiB).

          • PerUnitStorageThroughput (integer) --

            The throughput capacity of the Amazon FSx for Lustre file system, measured in MB/s per TiB of storage.

        • DesiredFSxLustreConfig (dict) --

          The desired Amazon FSx for Lustre file system configuration in the shared environment.

          • SizeInGiB (integer) --

            The storage capacity of the Amazon FSx for Lustre file system, specified in gibibytes (GiB).

          • PerUnitStorageThroughput (integer) --

            The throughput capacity of the Amazon FSx for Lustre file system, measured in MB/s per TiB of storage.

        • CurrentFSxLustreDeletionPolicy (string) --

          The current deletion policy for the Amazon FSx for Lustre file system in the shared environment.

        • DesiredFSxLustreDeletionPolicy (string) --

          The desired deletion policy for the Amazon FSx for Lustre file system in the shared environment.

    • VpcConfig (dict) --

      Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC.

      • SecurityGroupIds (list) --

        The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

        • (string) --

      • Subnets (list) --

        The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.

        • (string) --

    • Orchestrator (dict) --

      The type of orchestrator used for the SageMaker HyperPod cluster.

      • Eks (dict) --

        The Amazon EKS cluster used as the orchestrator for the SageMaker HyperPod cluster.

        • ClusterArn (string) --

          The Amazon Resource Name (ARN) of the Amazon EKS cluster associated with the SageMaker HyperPod cluster.

      • Slurm (dict) --

        The Slurm orchestrator configuration for the SageMaker HyperPod cluster.

        • SlurmConfigStrategy (string) --

          The strategy for managing partitions for the Slurm configuration. Valid values are Managed, Overwrite, and Merge.

        • AccountingDatabase (dict) --

          The external database that stores the Slurm accounting data for the cluster, such as job history, associations, and usage. When you omit this field, Slurm accounting uses a database on the cluster's controller node.

          • Endpoint (string) --

            The hostname or endpoint of the accounting database, such as the endpoint of an Amazon RDS for MySQL or Aurora MySQL database. The database must be reachable from the subnets and security groups that you configure for the cluster.

          • Port (integer) --

            The port that the accounting database listens on. The default is 3306.

          • Name (string) --

            The name of the database schema that stores the Slurm accounting data. The default is slurm_acct_db_ followed by the cluster ID from the cluster ARN, for example slurm_acct_db_a1b2c3d4e5f6.

          • SecretArn (string) --

            The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the user name and password for the accounting database. The database user must be able to create the schema and to read from and write to it.

    • TieredStorageConfig (dict) --

      The current configuration for managed tier checkpointing on the HyperPod cluster. For example, this shows whether the feature is enabled and the percentage of cluster memory allocated for checkpoint storage.

      • Mode (string) --

        Specifies whether managed tier checkpointing is enabled or disabled for the HyperPod cluster. When set to Enable, the system installs a memory management daemon that provides disaggregated memory as a service for checkpoint storage. When set to Disable, the feature is turned off and the memory management daemon is removed from the cluster.

      • InstanceMemoryAllocationPercentage (integer) --

        The percentage (int) of cluster memory to allocate for checkpointing.

    • NodeRecovery (string) --

      The node recovery mode configured for the SageMaker HyperPod cluster.

    • NodeProvisioningMode (string) --

      The mode used for provisioning nodes in the cluster.

    • ClusterRole (string) --

      The Amazon Resource Name (ARN) of the IAM role that HyperPod uses for cluster autoscaling operations.

    • AutoScaling (dict) --

      The current autoscaling configuration and status for the autoscaler.

      • Mode (string) --

        Describes whether autoscaling is enabled or disabled for the cluster.

      • AutoScalerType (string) --

        The type of autoscaler configured for the cluster.

      • Status (string) --

        The current status of the autoscaling configuration. Valid values are InService, Failed, Creating, and Deleting.

      • FailureMessage (string) --

        If the autoscaling status is Failed, this field contains a message describing the failure.

DescribeClusterEvent (updated) Link ¶
Changes (response)
{'EventDetails': {'EventDetails': {'EventMetadata': {'DatabaseConfiguration': {'Advisory': 'string',
                                                                               'FailureMessage': 'string',
                                                                               'RollbackStatus': 'NotApplicable '
                                                                                                 '| '
                                                                                                 'Reverted '
                                                                                                 '| '
                                                                                                 'RevertFailed'},
                                                     'SlurmHealth': {'Component': 'Slurmdbd',
                                                                     'Reason': 'DaemonDown '
                                                                               '| '
                                                                               'DaemonDisabled '
                                                                               '| '
                                                                               'DbUnreachable',
                                                                     'Status': 'Healthy '
                                                                               '| '
                                                                               'Unhealthy'}}}}}

Retrieves detailed information about a specific event for a given HyperPod cluster. This functionality is only supported when the NodeProvisioningMode is set to Continuous.

See also: AWS API Documentation

Request Syntax

client.describe_cluster_event(
    EventId='string',
    ClusterName='string'
)
type EventId:

string

param EventId:

[REQUIRED]

The unique identifier (UUID) of the event to describe. This ID can be obtained from the ListClusterEvents operation.

type ClusterName:

string

param ClusterName:

[REQUIRED]

The name or Amazon Resource Name (ARN) of the HyperPod cluster associated with the event.

rtype:

dict

returns:

Response Syntax

{
    'EventDetails': {
        'EventId': 'string',
        'ClusterArn': 'string',
        'ClusterName': 'string',
        'InstanceGroupName': 'string',
        'InstanceId': 'string',
        'ResourceType': 'Cluster'|'InstanceGroup'|'Instance',
        'EventTime': datetime(2015, 1, 1),
        'EventDetails': {
            'EventMetadata': {
                'Cluster': {
                    'FailureMessage': 'string',
                    'EksRoleAccessEntries': [
                        'string',
                    ],
                    'SlrAccessEntry': 'string'
                },
                'InstanceGroup': {
                    'FailureMessage': 'string',
                    'AvailabilityZoneId': 'string',
                    'CapacityReservation': {
                        'Arn': 'string',
                        'Type': 'ODCR'|'CRG'
                    },
                    'SubnetId': 'string',
                    'SecurityGroupIds': [
                        'string',
                    ],
                    'AmiOverride': 'string'
                },
                'InstanceGroupScaling': {
                    'InstanceCount': 123,
                    'TargetCount': 123,
                    'MinCount': 123,
                    'FailureMessage': 'string'
                },
                'Instance': {
                    'CustomerEni': 'string',
                    'AdditionalEnis': {
                        'EfaEnis': [
                            'string',
                        ]
                    },
                    'InstanceRequirementsEniConfigurations': [
                        {
                            'CustomerEni': 'string',
                            'AdditionalEnis': {
                                'EfaEnis': [
                                    'string',
                                ]
                            }
                        },
                    ],
                    'CapacityReservation': {
                        'Arn': 'string',
                        'Type': 'ODCR'|'CRG'
                    },
                    'FailureMessage': 'string',
                    'LcsExecutionState': 'string',
                    'NodeLogicalId': 'string'
                },
                'DatabaseConfiguration': {
                    'RollbackStatus': 'NotApplicable'|'Reverted'|'RevertFailed',
                    'Advisory': 'string',
                    'FailureMessage': 'string'
                },
                'SlurmHealth': {
                    'Component': 'Slurmdbd',
                    'Status': 'Healthy'|'Unhealthy',
                    'Reason': 'DaemonDown'|'DaemonDisabled'|'DbUnreachable'
                }
            }
        },
        'Description': 'string',
        'EventLevel': 'Info'|'Warn'|'Error'
    }
}

Response Structure

  • (dict) --

    • EventDetails (dict) --

      Detailed information about the requested cluster event, including event metadata for various resource types such as Cluster, InstanceGroup, Instance, and their associated attributes.

      • EventId (string) --

        The unique identifier (UUID) of the event.

      • ClusterArn (string) --

        The Amazon Resource Name (ARN) of the HyperPod cluster associated with the event.

      • ClusterName (string) --

        The name of the HyperPod cluster associated with the event.

      • InstanceGroupName (string) --

        The name of the instance group associated with the event, if applicable.

      • InstanceId (string) --

        The EC2 instance ID associated with the event, if applicable.

      • ResourceType (string) --

        The type of resource associated with the event. Valid values are Cluster, InstanceGroup, or Instance.

      • EventTime (datetime) --

        The timestamp when the event occurred.

      • EventDetails (dict) --

        Additional details about the event, including event-specific metadata.

        • EventMetadata (dict) --

          Metadata specific to the event, which may include information about the cluster, instance group, or instance involved.

          • Cluster (dict) --

            Metadata specific to cluster-level events.

            • FailureMessage (string) --

              An error message describing why the cluster level operation (such as creating, updating, or deleting) failed.

            • EksRoleAccessEntries (list) --

              A list of Amazon EKS IAM role ARNs associated with the cluster. This is created by HyperPod on your behalf and only applies for EKS orchestrated clusters.

              • (string) --

            • SlrAccessEntry (string) --

              The Service-Linked Role (SLR) associated with the cluster. This is created by HyperPod on your behalf and only applies for EKS orchestrated clusters.

          • InstanceGroup (dict) --

            Metadata specific to instance group-level events.

            • FailureMessage (string) --

              An error message describing why the instance group level operation (such as creating, scaling, or deleting) failed.

            • AvailabilityZoneId (string) --

              The ID of the Availability Zone where the instance group is located.

            • CapacityReservation (dict) --

              Information about the Capacity Reservation used by the instance group.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the Capacity Reservation.

              • Type (string) --

                The type of Capacity Reservation. Valid values are ODCR (On-Demand Capacity Reservation) or CRG (Capacity Reservation Group).

            • SubnetId (string) --

              The ID of the subnet where the instance group is located.

            • SecurityGroupIds (list) --

              A list of security group IDs associated with the instance group.

              • (string) --

            • AmiOverride (string) --

              If you use a custom Amazon Machine Image (AMI) for the instance group, this field shows the ID of the custom AMI.

          • InstanceGroupScaling (dict) --

            Metadata related to instance group scaling events.

            • InstanceCount (integer) --

              The current number of instances in the group.

            • TargetCount (integer) --

              The desired number of instances for the group after scaling.

            • MinCount (integer) --

              Minimum instance count of the instance group.

            • FailureMessage (string) --

              An error message describing why the scaling operation failed, if applicable.

          • Instance (dict) --

            Metadata specific to instance-level events.

            • CustomerEni (string) --

              The ID of the customer-managed Elastic Network Interface (ENI) associated with the instance.

            • AdditionalEnis (dict) --

              Information about additional Elastic Network Interfaces (ENIs) associated with the instance.

              • EfaEnis (list) --

                A list of Elastic Fabric Adapter (EFA) ENIs associated with the instance.

                • (string) --

            • InstanceRequirementsEniConfigurations (list) --

              The ENI configurations for the instance types in the instance requirements, grouped by network interface category (for example, ENI-only or EFA with ENIs). At most one configuration per category.

              • (dict) --

                The customer ENI and additional ENIs associated with a network interface category.

                • CustomerEni (string) --

                  The ID of the customer-managed Elastic Network Interface (ENI) associated with the instance type category.

                • AdditionalEnis (dict) --

                  Information about additional Elastic Network Interfaces (ENIs) associated with the instance type category.

                  • EfaEnis (list) --

                    A list of Elastic Fabric Adapter (EFA) ENIs associated with the instance.

                    • (string) --

            • CapacityReservation (dict) --

              Information about the Capacity Reservation used by the instance.

              • Arn (string) --

                The Amazon Resource Name (ARN) of the Capacity Reservation.

              • Type (string) --

                The type of Capacity Reservation. Valid values are ODCR (On-Demand Capacity Reservation) or CRG (Capacity Reservation Group).

            • FailureMessage (string) --

              An error message describing why the instance creation or update failed, if applicable.

            • LcsExecutionState (string) --

              The execution state of the Lifecycle Script (LCS) for the instance.

            • NodeLogicalId (string) --

              The unique logical identifier of the node within the cluster. The ID used here is the same object as in the BatchAddClusterNodes API.

          • DatabaseConfiguration (dict) --

            Metadata specific to events about the external Slurm accounting database of the cluster.

            • RollbackStatus (string) --

              Whether HyperPod restored the previous accounting database configuration after the change failed. Valid values:

              • NotApplicable: The change failed before HyperPod modified the cluster, for example because the database could not be reached or rejected the credentials, so there was nothing to restore.

              • Reverted: The change failed after it was applied, and HyperPod restored the previous configuration. The cluster continues to use the previous accounting database.

              • RevertFailed: The change failed and HyperPod could not restore the previous configuration, so Slurm accounting on the cluster might not be working.

              This field is omitted when the change succeeds.

            • Advisory (string) --

              Additional information about a change that succeeded, such as an action to take on the cluster.

            • FailureMessage (string) --

              An error message describing why the accounting database change failed, and how to resolve it.

          • SlurmHealth (dict) --

            Metadata specific to events about the health of the Slurm components on the controller node of the cluster.

            • Component (string) --

              The Slurm component that the health information describes. The valid value is Slurmdbd, the Slurm accounting daemon.

            • Status (string) --

              The health of the component. Valid values are Healthy and Unhealthy.

            • Reason (string) --

              The reason the component is unhealthy. Valid values:

              • DaemonDown: The daemon is not running, so job accounting records are not being written.

              • DaemonDisabled: The daemon is running and its accounting database is responding, but the daemon is not enabled to start automatically. Job accounting stops the next time the controller node restarts.

              • DbUnreachable: The daemon is running, but its accounting database did not respond. Job accounting records might not be written.

              This field is omitted when the component is healthy.

      • Description (string) --

        A human-readable description of the event.

      • EventLevel (string) --

        The severity level of the event. Valid values are Info, Warn, and Error.

UpdateCluster (updated) Link ¶
Changes (request)
{'Orchestrator': {'Slurm': {'AccountingDatabase': {'Endpoint': 'string',
                                                   'Name': 'string',
                                                   'Port': 'integer',
                                                   'SecretArn': 'string'}}}}

Updates a SageMaker HyperPod cluster.

See also: AWS API Documentation

Request Syntax

client.update_cluster(
    ClusterName='string',
    InstanceGroups=[
        {
            'InstanceCount': 123,
            'MinInstanceCount': 123,
            'InstanceGroupName': 'string',
            'InstanceType': 'ml.p4d.24xlarge'|'ml.p4de.24xlarge'|'ml.p5.48xlarge'|'ml.p5.4xlarge'|'ml.p6e-gb200.36xlarge'|'ml.trn1.32xlarge'|'ml.trn1n.32xlarge'|'ml.g5.xlarge'|'ml.g5.2xlarge'|'ml.g5.4xlarge'|'ml.g5.8xlarge'|'ml.g5.12xlarge'|'ml.g5.16xlarge'|'ml.g5.24xlarge'|'ml.g5.48xlarge'|'ml.c5.large'|'ml.c5.xlarge'|'ml.c5.2xlarge'|'ml.c5.4xlarge'|'ml.c5.9xlarge'|'ml.c5.12xlarge'|'ml.c5.18xlarge'|'ml.c5.24xlarge'|'ml.c5n.large'|'ml.c5n.2xlarge'|'ml.c5n.4xlarge'|'ml.c5n.9xlarge'|'ml.c5n.18xlarge'|'ml.m5.large'|'ml.m5.xlarge'|'ml.m5.2xlarge'|'ml.m5.4xlarge'|'ml.m5.8xlarge'|'ml.m5.12xlarge'|'ml.m5.16xlarge'|'ml.m5.24xlarge'|'ml.t3.medium'|'ml.t3.large'|'ml.t3.xlarge'|'ml.t3.2xlarge'|'ml.g6.xlarge'|'ml.g6.2xlarge'|'ml.g6.4xlarge'|'ml.g6.8xlarge'|'ml.g6.16xlarge'|'ml.g6.12xlarge'|'ml.g6.24xlarge'|'ml.g6.48xlarge'|'ml.gr6.4xlarge'|'ml.gr6.8xlarge'|'ml.g6e.xlarge'|'ml.g6e.2xlarge'|'ml.g6e.4xlarge'|'ml.g6e.8xlarge'|'ml.g6e.16xlarge'|'ml.g6e.12xlarge'|'ml.g6e.24xlarge'|'ml.g6e.48xlarge'|'ml.p5e.48xlarge'|'ml.p5en.48xlarge'|'ml.p6-b200.48xlarge'|'ml.trn2.3xlarge'|'ml.trn2.48xlarge'|'ml.c6i.large'|'ml.c6i.xlarge'|'ml.c6i.2xlarge'|'ml.c6i.4xlarge'|'ml.c6i.8xlarge'|'ml.c6i.12xlarge'|'ml.c6i.16xlarge'|'ml.c6i.24xlarge'|'ml.c6i.32xlarge'|'ml.m6i.large'|'ml.m6i.xlarge'|'ml.m6i.2xlarge'|'ml.m6i.4xlarge'|'ml.m6i.8xlarge'|'ml.m6i.12xlarge'|'ml.m6i.16xlarge'|'ml.m6i.24xlarge'|'ml.m6i.32xlarge'|'ml.r6i.large'|'ml.r6i.xlarge'|'ml.r6i.2xlarge'|'ml.r6i.4xlarge'|'ml.r6i.8xlarge'|'ml.r6i.12xlarge'|'ml.r6i.16xlarge'|'ml.r6i.24xlarge'|'ml.r6i.32xlarge'|'ml.i3en.large'|'ml.i3en.xlarge'|'ml.i3en.2xlarge'|'ml.i3en.3xlarge'|'ml.i3en.6xlarge'|'ml.i3en.12xlarge'|'ml.i3en.24xlarge'|'ml.m7i.large'|'ml.m7i.xlarge'|'ml.m7i.2xlarge'|'ml.m7i.4xlarge'|'ml.m7i.8xlarge'|'ml.m7i.12xlarge'|'ml.m7i.16xlarge'|'ml.m7i.24xlarge'|'ml.m7i.48xlarge'|'ml.r7i.large'|'ml.r7i.xlarge'|'ml.r7i.2xlarge'|'ml.r7i.4xlarge'|'ml.r7i.8xlarge'|'ml.r7i.12xlarge'|'ml.r7i.16xlarge'|'ml.r7i.24xlarge'|'ml.r7i.48xlarge'|'ml.r5d.16xlarge'|'ml.g7e.2xlarge'|'ml.g7e.4xlarge'|'ml.g7e.8xlarge'|'ml.g7e.12xlarge'|'ml.g7e.24xlarge'|'ml.g7e.48xlarge'|'ml.p6-b300.48xlarge'|'ml.g4dn.xlarge'|'ml.g4dn.2xlarge'|'ml.g4dn.4xlarge'|'ml.g4dn.8xlarge'|'ml.g4dn.12xlarge'|'ml.g4dn.16xlarge'|'ml.c6g.medium'|'ml.c6g.large'|'ml.c6g.xlarge'|'ml.c6g.2xlarge'|'ml.c6g.4xlarge'|'ml.c6g.8xlarge'|'ml.c6g.12xlarge'|'ml.c6g.16xlarge'|'ml.c7g.medium'|'ml.c7g.large'|'ml.c7g.xlarge'|'ml.c7g.2xlarge'|'ml.c7g.4xlarge'|'ml.c7g.8xlarge'|'ml.c7g.12xlarge'|'ml.c7g.16xlarge'|'ml.c8g.medium'|'ml.c8g.large'|'ml.c8g.xlarge'|'ml.c8g.2xlarge'|'ml.c8g.4xlarge'|'ml.c8g.8xlarge'|'ml.c8g.12xlarge'|'ml.c8g.16xlarge'|'ml.c8g.24xlarge'|'ml.c8g.48xlarge'|'ml.c6a.large'|'ml.c6a.xlarge'|'ml.c6a.2xlarge'|'ml.c6a.4xlarge'|'ml.c6a.8xlarge'|'ml.c6a.12xlarge'|'ml.c6a.16xlarge'|'ml.c6a.24xlarge'|'ml.c6a.32xlarge'|'ml.c6a.48xlarge'|'ml.m6a.large'|'ml.m6a.xlarge'|'ml.m6a.2xlarge'|'ml.m6a.4xlarge'|'ml.m6a.8xlarge'|'ml.m6a.12xlarge'|'ml.m6a.16xlarge'|'ml.m6a.24xlarge'|'ml.m6a.32xlarge'|'ml.m6a.48xlarge'|'ml.m6g.medium'|'ml.m6g.large'|'ml.m6g.xlarge'|'ml.m6g.2xlarge'|'ml.m6g.4xlarge'|'ml.m6g.8xlarge'|'ml.m6g.12xlarge'|'ml.m6g.16xlarge'|'ml.m7g.medium'|'ml.m7g.large'|'ml.m7g.xlarge'|'ml.m7g.2xlarge'|'ml.m7g.4xlarge'|'ml.m7g.8xlarge'|'ml.m7g.12xlarge'|'ml.m7g.16xlarge'|'ml.m8g.medium'|'ml.m8g.large'|'ml.m8g.xlarge'|'ml.m8g.2xlarge'|'ml.m8g.4xlarge'|'ml.m8g.8xlarge'|'ml.m8g.12xlarge'|'ml.m8g.16xlarge'|'ml.m8g.24xlarge'|'ml.m8g.48xlarge'|'ml.g7.2xlarge'|'ml.g7.4xlarge'|'ml.g7.8xlarge'|'ml.g7.12xlarge'|'ml.g7.24xlarge'|'ml.g7.48xlarge',
            'InstanceRequirements': {
                'InstanceTypes': [
                    'ml.p4d.24xlarge'|'ml.p4de.24xlarge'|'ml.p5.48xlarge'|'ml.p5.4xlarge'|'ml.p6e-gb200.36xlarge'|'ml.trn1.32xlarge'|'ml.trn1n.32xlarge'|'ml.g5.xlarge'|'ml.g5.2xlarge'|'ml.g5.4xlarge'|'ml.g5.8xlarge'|'ml.g5.12xlarge'|'ml.g5.16xlarge'|'ml.g5.24xlarge'|'ml.g5.48xlarge'|'ml.c5.large'|'ml.c5.xlarge'|'ml.c5.2xlarge'|'ml.c5.4xlarge'|'ml.c5.9xlarge'|'ml.c5.12xlarge'|'ml.c5.18xlarge'|'ml.c5.24xlarge'|'ml.c5n.large'|'ml.c5n.2xlarge'|'ml.c5n.4xlarge'|'ml.c5n.9xlarge'|'ml.c5n.18xlarge'|'ml.m5.large'|'ml.m5.xlarge'|'ml.m5.2xlarge'|'ml.m5.4xlarge'|'ml.m5.8xlarge'|'ml.m5.12xlarge'|'ml.m5.16xlarge'|'ml.m5.24xlarge'|'ml.t3.medium'|'ml.t3.large'|'ml.t3.xlarge'|'ml.t3.2xlarge'|'ml.g6.xlarge'|'ml.g6.2xlarge'|'ml.g6.4xlarge'|'ml.g6.8xlarge'|'ml.g6.16xlarge'|'ml.g6.12xlarge'|'ml.g6.24xlarge'|'ml.g6.48xlarge'|'ml.gr6.4xlarge'|'ml.gr6.8xlarge'|'ml.g6e.xlarge'|'ml.g6e.2xlarge'|'ml.g6e.4xlarge'|'ml.g6e.8xlarge'|'ml.g6e.16xlarge'|'ml.g6e.12xlarge'|'ml.g6e.24xlarge'|'ml.g6e.48xlarge'|'ml.p5e.48xlarge'|'ml.p5en.48xlarge'|'ml.p6-b200.48xlarge'|'ml.trn2.3xlarge'|'ml.trn2.48xlarge'|'ml.c6i.large'|'ml.c6i.xlarge'|'ml.c6i.2xlarge'|'ml.c6i.4xlarge'|'ml.c6i.8xlarge'|'ml.c6i.12xlarge'|'ml.c6i.16xlarge'|'ml.c6i.24xlarge'|'ml.c6i.32xlarge'|'ml.m6i.large'|'ml.m6i.xlarge'|'ml.m6i.2xlarge'|'ml.m6i.4xlarge'|'ml.m6i.8xlarge'|'ml.m6i.12xlarge'|'ml.m6i.16xlarge'|'ml.m6i.24xlarge'|'ml.m6i.32xlarge'|'ml.r6i.large'|'ml.r6i.xlarge'|'ml.r6i.2xlarge'|'ml.r6i.4xlarge'|'ml.r6i.8xlarge'|'ml.r6i.12xlarge'|'ml.r6i.16xlarge'|'ml.r6i.24xlarge'|'ml.r6i.32xlarge'|'ml.i3en.large'|'ml.i3en.xlarge'|'ml.i3en.2xlarge'|'ml.i3en.3xlarge'|'ml.i3en.6xlarge'|'ml.i3en.12xlarge'|'ml.i3en.24xlarge'|'ml.m7i.large'|'ml.m7i.xlarge'|'ml.m7i.2xlarge'|'ml.m7i.4xlarge'|'ml.m7i.8xlarge'|'ml.m7i.12xlarge'|'ml.m7i.16xlarge'|'ml.m7i.24xlarge'|'ml.m7i.48xlarge'|'ml.r7i.large'|'ml.r7i.xlarge'|'ml.r7i.2xlarge'|'ml.r7i.4xlarge'|'ml.r7i.8xlarge'|'ml.r7i.12xlarge'|'ml.r7i.16xlarge'|'ml.r7i.24xlarge'|'ml.r7i.48xlarge'|'ml.r5d.16xlarge'|'ml.g7e.2xlarge'|'ml.g7e.4xlarge'|'ml.g7e.8xlarge'|'ml.g7e.12xlarge'|'ml.g7e.24xlarge'|'ml.g7e.48xlarge'|'ml.p6-b300.48xlarge'|'ml.g4dn.xlarge'|'ml.g4dn.2xlarge'|'ml.g4dn.4xlarge'|'ml.g4dn.8xlarge'|'ml.g4dn.12xlarge'|'ml.g4dn.16xlarge'|'ml.c6g.medium'|'ml.c6g.large'|'ml.c6g.xlarge'|'ml.c6g.2xlarge'|'ml.c6g.4xlarge'|'ml.c6g.8xlarge'|'ml.c6g.12xlarge'|'ml.c6g.16xlarge'|'ml.c7g.medium'|'ml.c7g.large'|'ml.c7g.xlarge'|'ml.c7g.2xlarge'|'ml.c7g.4xlarge'|'ml.c7g.8xlarge'|'ml.c7g.12xlarge'|'ml.c7g.16xlarge'|'ml.c8g.medium'|'ml.c8g.large'|'ml.c8g.xlarge'|'ml.c8g.2xlarge'|'ml.c8g.4xlarge'|'ml.c8g.8xlarge'|'ml.c8g.12xlarge'|'ml.c8g.16xlarge'|'ml.c8g.24xlarge'|'ml.c8g.48xlarge'|'ml.c6a.large'|'ml.c6a.xlarge'|'ml.c6a.2xlarge'|'ml.c6a.4xlarge'|'ml.c6a.8xlarge'|'ml.c6a.12xlarge'|'ml.c6a.16xlarge'|'ml.c6a.24xlarge'|'ml.c6a.32xlarge'|'ml.c6a.48xlarge'|'ml.m6a.large'|'ml.m6a.xlarge'|'ml.m6a.2xlarge'|'ml.m6a.4xlarge'|'ml.m6a.8xlarge'|'ml.m6a.12xlarge'|'ml.m6a.16xlarge'|'ml.m6a.24xlarge'|'ml.m6a.32xlarge'|'ml.m6a.48xlarge'|'ml.m6g.medium'|'ml.m6g.large'|'ml.m6g.xlarge'|'ml.m6g.2xlarge'|'ml.m6g.4xlarge'|'ml.m6g.8xlarge'|'ml.m6g.12xlarge'|'ml.m6g.16xlarge'|'ml.m7g.medium'|'ml.m7g.large'|'ml.m7g.xlarge'|'ml.m7g.2xlarge'|'ml.m7g.4xlarge'|'ml.m7g.8xlarge'|'ml.m7g.12xlarge'|'ml.m7g.16xlarge'|'ml.m8g.medium'|'ml.m8g.large'|'ml.m8g.xlarge'|'ml.m8g.2xlarge'|'ml.m8g.4xlarge'|'ml.m8g.8xlarge'|'ml.m8g.12xlarge'|'ml.m8g.16xlarge'|'ml.m8g.24xlarge'|'ml.m8g.48xlarge'|'ml.g7.2xlarge'|'ml.g7.4xlarge'|'ml.g7.8xlarge'|'ml.g7.12xlarge'|'ml.g7.24xlarge'|'ml.g7.48xlarge',
                ]
            },
            'LifeCycleConfig': {
                'SourceS3Uri': 'string',
                'OnCreate': 'string',
                'OnInitComplete': 'string'
            },
            'ExecutionRole': 'string',
            'ThreadsPerCore': 123,
            'InstanceStorageConfigs': [
                {
                    'EbsVolumeConfig': {
                        'VolumeSizeInGB': 123,
                        'VolumeKmsKeyId': 'string',
                        'RootVolume': True|False
                    },
                    'FsxLustreConfig': {
                        'DnsName': 'string',
                        'MountName': 'string',
                        'MountPath': 'string'
                    },
                    'FsxOpenZfsConfig': {
                        'DnsName': 'string',
                        'MountPath': 'string'
                    }
                },
            ],
            'OnStartDeepHealthChecks': [
                'InstanceStress'|'InstanceConnectivity',
            ],
            'TrainingPlanArn': 'string',
            'OverrideVpcConfig': {
                'SecurityGroupIds': [
                    'string',
                ],
                'Subnets': [
                    'string',
                ]
            },
            'ScheduledUpdateConfig': {
                'ScheduleExpression': 'string',
                'DeploymentConfig': {
                    'RollingUpdatePolicy': {
                        'MaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        },
                        'RollbackMaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        }
                    },
                    'WaitIntervalInSeconds': 123,
                    'AutoRollbackConfiguration': [
                        {
                            'AlarmName': 'string'
                        },
                    ]
                }
            },
            'ImageId': 'string',
            'AutoPatchConfig': {
                'PatchingStrategy': 'WhenIdle'|'WhenAllIdle',
                'PatchSchedule': {
                    'NextPatchDate': datetime(2015, 1, 1)
                },
                'DeploymentConfig': {
                    'RollingUpdatePolicy': {
                        'MaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        },
                        'RollbackMaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        }
                    },
                    'WaitIntervalInSeconds': 123,
                    'AutoRollbackConfiguration': [
                        {
                            'AlarmName': 'string'
                        },
                    ]
                }
            },
            'ImageReleaseVersion': 'string',
            'KubernetesConfig': {
                'Labels': {
                    'string': 'string'
                },
                'Taints': [
                    {
                        'Key': 'string',
                        'Value': 'string',
                        'Effect': 'NoSchedule'|'PreferNoSchedule'|'NoExecute'
                    },
                ]
            },
            'SlurmConfig': {
                'NodeType': 'Controller'|'Login'|'Compute',
                'PartitionNames': [
                    'string',
                ]
            },
            'CapacityRequirements': {
                'Spot': {}
                ,
                'OnDemand': {}

            },
            'NetworkInterface': {
                'InterfaceType': 'efa'|'efa-only'
            }
        },
    ],
    RestrictedInstanceGroups=[
        {
            'InstanceCount': 123,
            'InstanceGroupName': 'string',
            'InstanceType': 'ml.p4d.24xlarge'|'ml.p4de.24xlarge'|'ml.p5.48xlarge'|'ml.p5.4xlarge'|'ml.p6e-gb200.36xlarge'|'ml.trn1.32xlarge'|'ml.trn1n.32xlarge'|'ml.g5.xlarge'|'ml.g5.2xlarge'|'ml.g5.4xlarge'|'ml.g5.8xlarge'|'ml.g5.12xlarge'|'ml.g5.16xlarge'|'ml.g5.24xlarge'|'ml.g5.48xlarge'|'ml.c5.large'|'ml.c5.xlarge'|'ml.c5.2xlarge'|'ml.c5.4xlarge'|'ml.c5.9xlarge'|'ml.c5.12xlarge'|'ml.c5.18xlarge'|'ml.c5.24xlarge'|'ml.c5n.large'|'ml.c5n.2xlarge'|'ml.c5n.4xlarge'|'ml.c5n.9xlarge'|'ml.c5n.18xlarge'|'ml.m5.large'|'ml.m5.xlarge'|'ml.m5.2xlarge'|'ml.m5.4xlarge'|'ml.m5.8xlarge'|'ml.m5.12xlarge'|'ml.m5.16xlarge'|'ml.m5.24xlarge'|'ml.t3.medium'|'ml.t3.large'|'ml.t3.xlarge'|'ml.t3.2xlarge'|'ml.g6.xlarge'|'ml.g6.2xlarge'|'ml.g6.4xlarge'|'ml.g6.8xlarge'|'ml.g6.16xlarge'|'ml.g6.12xlarge'|'ml.g6.24xlarge'|'ml.g6.48xlarge'|'ml.gr6.4xlarge'|'ml.gr6.8xlarge'|'ml.g6e.xlarge'|'ml.g6e.2xlarge'|'ml.g6e.4xlarge'|'ml.g6e.8xlarge'|'ml.g6e.16xlarge'|'ml.g6e.12xlarge'|'ml.g6e.24xlarge'|'ml.g6e.48xlarge'|'ml.p5e.48xlarge'|'ml.p5en.48xlarge'|'ml.p6-b200.48xlarge'|'ml.trn2.3xlarge'|'ml.trn2.48xlarge'|'ml.c6i.large'|'ml.c6i.xlarge'|'ml.c6i.2xlarge'|'ml.c6i.4xlarge'|'ml.c6i.8xlarge'|'ml.c6i.12xlarge'|'ml.c6i.16xlarge'|'ml.c6i.24xlarge'|'ml.c6i.32xlarge'|'ml.m6i.large'|'ml.m6i.xlarge'|'ml.m6i.2xlarge'|'ml.m6i.4xlarge'|'ml.m6i.8xlarge'|'ml.m6i.12xlarge'|'ml.m6i.16xlarge'|'ml.m6i.24xlarge'|'ml.m6i.32xlarge'|'ml.r6i.large'|'ml.r6i.xlarge'|'ml.r6i.2xlarge'|'ml.r6i.4xlarge'|'ml.r6i.8xlarge'|'ml.r6i.12xlarge'|'ml.r6i.16xlarge'|'ml.r6i.24xlarge'|'ml.r6i.32xlarge'|'ml.i3en.large'|'ml.i3en.xlarge'|'ml.i3en.2xlarge'|'ml.i3en.3xlarge'|'ml.i3en.6xlarge'|'ml.i3en.12xlarge'|'ml.i3en.24xlarge'|'ml.m7i.large'|'ml.m7i.xlarge'|'ml.m7i.2xlarge'|'ml.m7i.4xlarge'|'ml.m7i.8xlarge'|'ml.m7i.12xlarge'|'ml.m7i.16xlarge'|'ml.m7i.24xlarge'|'ml.m7i.48xlarge'|'ml.r7i.large'|'ml.r7i.xlarge'|'ml.r7i.2xlarge'|'ml.r7i.4xlarge'|'ml.r7i.8xlarge'|'ml.r7i.12xlarge'|'ml.r7i.16xlarge'|'ml.r7i.24xlarge'|'ml.r7i.48xlarge'|'ml.r5d.16xlarge'|'ml.g7e.2xlarge'|'ml.g7e.4xlarge'|'ml.g7e.8xlarge'|'ml.g7e.12xlarge'|'ml.g7e.24xlarge'|'ml.g7e.48xlarge'|'ml.p6-b300.48xlarge'|'ml.g4dn.xlarge'|'ml.g4dn.2xlarge'|'ml.g4dn.4xlarge'|'ml.g4dn.8xlarge'|'ml.g4dn.12xlarge'|'ml.g4dn.16xlarge'|'ml.c6g.medium'|'ml.c6g.large'|'ml.c6g.xlarge'|'ml.c6g.2xlarge'|'ml.c6g.4xlarge'|'ml.c6g.8xlarge'|'ml.c6g.12xlarge'|'ml.c6g.16xlarge'|'ml.c7g.medium'|'ml.c7g.large'|'ml.c7g.xlarge'|'ml.c7g.2xlarge'|'ml.c7g.4xlarge'|'ml.c7g.8xlarge'|'ml.c7g.12xlarge'|'ml.c7g.16xlarge'|'ml.c8g.medium'|'ml.c8g.large'|'ml.c8g.xlarge'|'ml.c8g.2xlarge'|'ml.c8g.4xlarge'|'ml.c8g.8xlarge'|'ml.c8g.12xlarge'|'ml.c8g.16xlarge'|'ml.c8g.24xlarge'|'ml.c8g.48xlarge'|'ml.c6a.large'|'ml.c6a.xlarge'|'ml.c6a.2xlarge'|'ml.c6a.4xlarge'|'ml.c6a.8xlarge'|'ml.c6a.12xlarge'|'ml.c6a.16xlarge'|'ml.c6a.24xlarge'|'ml.c6a.32xlarge'|'ml.c6a.48xlarge'|'ml.m6a.large'|'ml.m6a.xlarge'|'ml.m6a.2xlarge'|'ml.m6a.4xlarge'|'ml.m6a.8xlarge'|'ml.m6a.12xlarge'|'ml.m6a.16xlarge'|'ml.m6a.24xlarge'|'ml.m6a.32xlarge'|'ml.m6a.48xlarge'|'ml.m6g.medium'|'ml.m6g.large'|'ml.m6g.xlarge'|'ml.m6g.2xlarge'|'ml.m6g.4xlarge'|'ml.m6g.8xlarge'|'ml.m6g.12xlarge'|'ml.m6g.16xlarge'|'ml.m7g.medium'|'ml.m7g.large'|'ml.m7g.xlarge'|'ml.m7g.2xlarge'|'ml.m7g.4xlarge'|'ml.m7g.8xlarge'|'ml.m7g.12xlarge'|'ml.m7g.16xlarge'|'ml.m8g.medium'|'ml.m8g.large'|'ml.m8g.xlarge'|'ml.m8g.2xlarge'|'ml.m8g.4xlarge'|'ml.m8g.8xlarge'|'ml.m8g.12xlarge'|'ml.m8g.16xlarge'|'ml.m8g.24xlarge'|'ml.m8g.48xlarge'|'ml.g7.2xlarge'|'ml.g7.4xlarge'|'ml.g7.8xlarge'|'ml.g7.12xlarge'|'ml.g7.24xlarge'|'ml.g7.48xlarge',
            'ExecutionRole': 'string',
            'ThreadsPerCore': 123,
            'InstanceStorageConfigs': [
                {
                    'EbsVolumeConfig': {
                        'VolumeSizeInGB': 123,
                        'VolumeKmsKeyId': 'string',
                        'RootVolume': True|False
                    },
                    'FsxLustreConfig': {
                        'DnsName': 'string',
                        'MountName': 'string',
                        'MountPath': 'string'
                    },
                    'FsxOpenZfsConfig': {
                        'DnsName': 'string',
                        'MountPath': 'string'
                    }
                },
            ],
            'OnStartDeepHealthChecks': [
                'InstanceStress'|'InstanceConnectivity',
            ],
            'TrainingPlanArn': 'string',
            'OverrideVpcConfig': {
                'SecurityGroupIds': [
                    'string',
                ],
                'Subnets': [
                    'string',
                ]
            },
            'ScheduledUpdateConfig': {
                'ScheduleExpression': 'string',
                'DeploymentConfig': {
                    'RollingUpdatePolicy': {
                        'MaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        },
                        'RollbackMaximumBatchSize': {
                            'Type': 'INSTANCE_COUNT'|'CAPACITY_PERCENTAGE',
                            'Value': 123
                        }
                    },
                    'WaitIntervalInSeconds': 123,
                    'AutoRollbackConfiguration': [
                        {
                            'AlarmName': 'string'
                        },
                    ]
                }
            },
            'EnvironmentConfig': {
                'FSxLustreConfig': {
                    'SizeInGiB': 123,
                    'PerUnitStorageThroughput': 123
                }
            }
        },
    ],
    RestrictedInstanceGroupsConfig={
        'SharedEnvironmentConfig': {
            'FSxLustreDeletionPolicy': 'DeleteIfNotUsed'|'Keep',
            'FSxLustreConfig': {
                'SizeInGiB': 123,
                'PerUnitStorageThroughput': 123
            }
        }
    },
    TieredStorageConfig={
        'Mode': 'Enable'|'Disable',
        'InstanceMemoryAllocationPercentage': 123
    },
    NodeRecovery='Automatic'|'None',
    InstanceGroupsToDelete=[
        'string',
    ],
    NodeProvisioningMode='Continuous',
    ClusterRole='string',
    AutoScaling={
        'Mode': 'Enable'|'Disable',
        'AutoScalerType': 'Karpenter'
    },
    Orchestrator={
        'Eks': {
            'ClusterArn': 'string'
        },
        'Slurm': {
            'SlurmConfigStrategy': 'Overwrite'|'Managed'|'Merge',
            'AccountingDatabase': {
                'Endpoint': 'string',
                'Port': 123,
                'Name': 'string',
                'SecretArn': 'string'
            }
        }
    }
)
type ClusterName:

string

param ClusterName:

[REQUIRED]

Specify the name of the SageMaker HyperPod cluster you want to update.

type InstanceGroups:

list

param InstanceGroups:

Specify the instance groups to update.

  • (dict) --

    The specifications of an instance group that you need to define.

    • InstanceCount (integer) -- [REQUIRED]

      Specifies the number of instances to add to the instance group of a SageMaker HyperPod cluster.

    • MinInstanceCount (integer) --

      Defines the minimum number of instances required for an instance group to become InService. If this threshold isn't met within 3 hours, the instance group rolls back to its previous state - zero instances for new instance groups, or previous settings for existing instance groups. MinInstanceCount only affects the initial transition to InService and does not guarantee maintaining this minimum afterward.

    • InstanceGroupName (string) -- [REQUIRED]

      Specifies the name of the instance group.

    • InstanceType (string) --

      Specifies the instance type of the instance group.

    • InstanceRequirements (dict) --

      The instance requirements for the instance group, including the instance types to use. Use this to create a flexible instance group that supports multiple instance types. The InstanceType and InstanceRequirements properties are mutually exclusive.

      • InstanceTypes (list) -- [REQUIRED]

        The list of instance types that the instance group can use. The order of instance types determines the priority—HyperPod attempts to provision instances using the first instance type in the list and falls back to subsequent types if capacity is unavailable.

        • (string) --

    • LifeCycleConfig (dict) --

      Specifies the LifeCycle configuration for the instance group.

      • SourceS3Uri (string) --

        An Amazon S3 bucket path where your lifecycle scripts are stored.

      • OnCreate (string) --

        The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.

      • OnInitComplete (string) --

        The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This script runs on the node after the AMI-based initialization is complete.

    • ExecutionRole (string) -- [REQUIRED]

      Specifies an IAM execution role to be assumed by the instance group.

    • ThreadsPerCore (integer) --

      Specifies the value for Threads per core. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading. For instance types that doesn't support multithreading, specify 1. For more information, see the reference table of CPU cores and threads per CPU core per instance type in the Amazon Elastic Compute Cloud User Guide.

    • InstanceStorageConfigs (list) --

      Specifies the additional storage configurations for the instances in the SageMaker HyperPod cluster instance group.

      • (dict) --

        Defines the configuration for attaching additional storage to the instances in the SageMaker HyperPod cluster instance group. To learn more, see SageMaker HyperPod release notes: June 20, 2024.

        • EbsVolumeConfig (dict) --

          Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.

          • VolumeSizeInGB (integer) --

            The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.

          • VolumeKmsKeyId (string) --

            The ID of a KMS key to encrypt the Amazon EBS volume.

          • RootVolume (boolean) --

            Specifies whether the configuration is for the cluster's root or secondary Amazon EBS volume. You can specify two ClusterEbsVolumeConfig fields to configure both the root and secondary volumes. Set the value to True if you'd like to provide your own customer managed Amazon Web Services KMS key to encrypt the root volume. When True:

            • The configuration is applied to the root volume.

            • You can't specify the VolumeSizeInGB field. The size of the root volume is determined for you.

            • You must specify a KMS key ID for VolumeKmsKeyId to encrypt the root volume with your own KMS key instead of an Amazon Web Services owned KMS key.

            Otherwise, by default, the value is False, and the following applies:

            • The configuration is applied to the secondary volume, while the root volume is encrypted with an Amazon Web Services owned key.

            • You must specify the VolumeSizeInGB field.

            • You can optionally specify the VolumeKmsKeyId to encrypt the secondary volume with your own KMS key instead of an Amazon Web Services owned KMS key.

        • FsxLustreConfig (dict) --

          Defines the configuration for attaching an Amazon FSx for Lustre file system to the instances in the SageMaker HyperPod cluster instance group.

          • DnsName (string) -- [REQUIRED]

            The DNS name of the Amazon FSx for Lustre file system.

          • MountName (string) -- [REQUIRED]

            The mount name of the Amazon FSx for Lustre file system.

          • MountPath (string) --

            The local path where the Amazon FSx for Lustre file system is mounted on instances.

        • FsxOpenZfsConfig (dict) --

          Defines the configuration for attaching an Amazon FSx for OpenZFS file system to the instances in the SageMaker HyperPod cluster instance group.

          • DnsName (string) -- [REQUIRED]

            The DNS name of the Amazon FSx for OpenZFS file system.

          • MountPath (string) --

            The local path where the Amazon FSx for OpenZFS file system is mounted on instances.

    • OnStartDeepHealthChecks (list) --

      A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.

      • (string) --

    • TrainingPlanArn (string) --

      The Amazon Resource Name (ARN); of the training plan to use for this cluster instance group.

      For more information about how to reserve GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see ``CreateTrainingPlan ``.

    • OverrideVpcConfig (dict) --

      To configure multi-AZ deployments, customize the Amazon VPC configuration at the instance group level. You can specify different subnets and security groups across different AZs in the instance group specification to override a SageMaker HyperPod cluster's default Amazon VPC configuration. For more information about deploying a cluster in multiple AZs, see Setting up SageMaker HyperPod clusters across multiple AZs.

      • SecurityGroupIds (list) -- [REQUIRED]

        The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

        • (string) --

      • Subnets (list) -- [REQUIRED]

        The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.

        • (string) --

    • ScheduledUpdateConfig (dict) --

      The configuration object of the schedule that SageMaker uses to update the AMI.

      • ScheduleExpression (string) -- [REQUIRED]

        A cron expression that specifies the schedule that SageMaker follows when updating the AMI.

      • DeploymentConfig (dict) --

        The configuration to use when updating the AMI versions.

        • RollingUpdatePolicy (dict) --

          The policy that SageMaker uses when updating the AMI versions of the cluster.

          • MaximumBatchSize (dict) -- [REQUIRED]

            The maximum amount of instances in the cluster that SageMaker can update at a time.

            • Type (string) -- [REQUIRED]

              Specifies whether SageMaker should process the update by amount or percentage of instances.

            • Value (integer) -- [REQUIRED]

              Specifies the amount or percentage of instances SageMaker updates at a time.

          • RollbackMaximumBatchSize (dict) --

            The maximum amount of instances in the cluster that SageMaker can roll back at a time.

            • Type (string) -- [REQUIRED]

              Specifies whether SageMaker should process the update by amount or percentage of instances.

            • Value (integer) -- [REQUIRED]

              Specifies the amount or percentage of instances SageMaker updates at a time.

        • WaitIntervalInSeconds (integer) --

          The duration in seconds that SageMaker waits before updating more instances in the cluster.

        • AutoRollbackConfiguration (list) --

          An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.

          • (dict) --

            The details of the alarm to monitor during the AMI update.

            • AlarmName (string) -- [REQUIRED]

              The name of the alarm.

    • ImageId (string) --

      When configuring your HyperPod cluster, you can specify an image ID using one of the following options:

      • HyperPodPublicAmiId: Use a HyperPod public AMI

      • CustomAmiId: Use your custom AMI

      • default: Use the default latest system image. For clusters with continuous scaling node provisioning mode, new instance groups inherit the AMI from the earliest existing instance group

      If you choose to use a custom AMI ( CustomAmiId), ensure it meets the following requirements:

      • Encryption: The custom AMI must be unencrypted.

      • Ownership: The custom AMI must be owned by the same Amazon Web Services account that is creating the HyperPod cluster.

      • Volume support: Only the primary AMI snapshot volume is supported; additional AMI volumes are not supported.

      When updating the instance group's AMI through the UpdateClusterSoftware operation, if an instance group uses a custom AMI, you must provide an ImageId or use the default as input. Note that if you don't specify an instance group in your UpdateClusterSoftware request, then all of the instance groups are patched with the specified image.

    • AutoPatchConfig (dict) --

      The configuration for automatic OS security patching. If present, the system automatically applies PATCH AMI updates to this instance group.

      • PatchingStrategy (string) -- [REQUIRED]

        The strategy for applying patches to instances in the group.

        • WhenIdle: Cordons all instances and patches each instance as it becomes idle (no running jobs). Each instance is uncordoned immediately after patching and becomes available for new jobs. If instances do not become idle, they remain on the previous AMI version. You can then use UpdateClusterSoftware with the desired ImageReleaseVersion to manually update the remaining instances.

        • WhenAllIdle: Cordons all instances and waits for all to become idle before patching. All instances are uncordoned after patching completes. If not all instances become idle, no patching occurs and all instances remain on the previous AMI version.

      • PatchSchedule (dict) --

        The schedule for automatic patching, including the next patch date.

        • NextPatchDate (datetime) --

          The date and time of the next scheduled automatic patch. The system sets this automatically when a patch is detected. Use this field to reschedule the patch to a different date.

      • DeploymentConfig (dict) --

        The deployment configuration for rolling patch updates, including rollback settings and batch sizes. Only applicable when using a rolling patching strategy.

        • RollingUpdatePolicy (dict) --

          The policy that SageMaker uses when updating the AMI versions of the cluster.

          • MaximumBatchSize (dict) -- [REQUIRED]

            The maximum amount of instances in the cluster that SageMaker can update at a time.

            • Type (string) -- [REQUIRED]

              Specifies whether SageMaker should process the update by amount or percentage of instances.

            • Value (integer) -- [REQUIRED]

              Specifies the amount or percentage of instances SageMaker updates at a time.

          • RollbackMaximumBatchSize (dict) --

            The maximum amount of instances in the cluster that SageMaker can roll back at a time.

            • Type (string) -- [REQUIRED]

              Specifies whether SageMaker should process the update by amount or percentage of instances.

            • Value (integer) -- [REQUIRED]

              Specifies the amount or percentage of instances SageMaker updates at a time.

        • WaitIntervalInSeconds (integer) --

          The duration in seconds that SageMaker waits before updating more instances in the cluster.

        • AutoRollbackConfiguration (list) --

          An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.

          • (dict) --

            The details of the alarm to monitor during the AMI update.

            • AlarmName (string) -- [REQUIRED]

              The name of the alarm.

    • ImageReleaseVersion (string) --

      The version of the HyperPod-managed AMI to use for the instance group. Uses semantic versioning in the format MAJOR.MINOR.PATCH (for example, 1.2.3). If omitted, the latest available version is used.

    • KubernetesConfig (dict) --

      Specifies the Kubernetes configuration for the instance group. You describe what you want the labels and taints to look like, and the cluster works to reconcile the actual state with the declared state for nodes in this instance group.

      • Labels (dict) --

        Key-value pairs of labels to be applied to cluster nodes.

        • (string) --

          • (string) --

      • Taints (list) --

        List of taints to be applied to cluster nodes.

        • (dict) --

          A Kubernetes taint that can be applied to cluster nodes.

          • Key (string) -- [REQUIRED]

            The key of the taint.

          • Value (string) --

            The value of the taint.

          • Effect (string) -- [REQUIRED]

            The effect of the taint. Valid values are NoSchedule, PreferNoSchedule, and NoExecute.

    • SlurmConfig (dict) --

      Specifies the Slurm configuration for the instance group.

      • NodeType (string) -- [REQUIRED]

        The type of Slurm node for the instance group. Valid values are Controller, Worker, and Login.

      • PartitionNames (list) --

        The list of Slurm partition names that the instance group belongs to.

        • (string) --

    • CapacityRequirements (dict) --

      Specifies the capacity requirements for the instance group.

      • Spot (dict) --

        Configuration options specific to Spot instances.

      • OnDemand (dict) --

        Configuration options specific to On-Demand instances.

    • NetworkInterface (dict) --

      The network interface configuration for the instance group.

      • InterfaceType (string) --

        The type of network interface for the instance group. Valid values:

        • efa – An EFA with ENA interface, which provides both the EFA device for low-latency, high-throughput communication and the ENA device for IP networking.

        • efa-only – An EFA-only interface, which provides only the EFA device capabilities without the ENA device for traditional IP networking.

        For more information, see Elastic Fabric Adapter.

type RestrictedInstanceGroups:

list

param RestrictedInstanceGroups:

The specialized instance groups for training models like Amazon Nova to be created in the SageMaker HyperPod cluster.

  • (dict) --

    The specifications of a restricted instance group that you need to define.

    • InstanceCount (integer) -- [REQUIRED]

      Specifies the number of instances to add to the restricted instance group of a SageMaker HyperPod cluster.

    • InstanceGroupName (string) -- [REQUIRED]

      Specifies the name of the restricted instance group.

    • InstanceType (string) -- [REQUIRED]

      Specifies the instance type of the restricted instance group.

    • ExecutionRole (string) -- [REQUIRED]

      Specifies an IAM execution role to be assumed by the restricted instance group.

    • ThreadsPerCore (integer) --

      The number you specified to TreadsPerCore in CreateCluster for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading. For more information, see the reference table of CPU cores and threads per CPU core per instance type in the Amazon Elastic Compute Cloud User Guide.

    • InstanceStorageConfigs (list) --

      Specifies the additional storage configurations for the instances in the SageMaker HyperPod cluster restricted instance group.

      • (dict) --

        Defines the configuration for attaching additional storage to the instances in the SageMaker HyperPod cluster instance group. To learn more, see SageMaker HyperPod release notes: June 20, 2024.

        • EbsVolumeConfig (dict) --

          Defines the configuration for attaching additional Amazon Elastic Block Store (EBS) volumes to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.

          • VolumeSizeInGB (integer) --

            The size in gigabytes (GB) of the additional EBS volume to be attached to the instances in the SageMaker HyperPod cluster instance group. The additional EBS volume is attached to each instance within the SageMaker HyperPod cluster instance group and mounted to /opt/sagemaker.

          • VolumeKmsKeyId (string) --

            The ID of a KMS key to encrypt the Amazon EBS volume.

          • RootVolume (boolean) --

            Specifies whether the configuration is for the cluster's root or secondary Amazon EBS volume. You can specify two ClusterEbsVolumeConfig fields to configure both the root and secondary volumes. Set the value to True if you'd like to provide your own customer managed Amazon Web Services KMS key to encrypt the root volume. When True:

            • The configuration is applied to the root volume.

            • You can't specify the VolumeSizeInGB field. The size of the root volume is determined for you.

            • You must specify a KMS key ID for VolumeKmsKeyId to encrypt the root volume with your own KMS key instead of an Amazon Web Services owned KMS key.

            Otherwise, by default, the value is False, and the following applies:

            • The configuration is applied to the secondary volume, while the root volume is encrypted with an Amazon Web Services owned key.

            • You must specify the VolumeSizeInGB field.

            • You can optionally specify the VolumeKmsKeyId to encrypt the secondary volume with your own KMS key instead of an Amazon Web Services owned KMS key.

        • FsxLustreConfig (dict) --

          Defines the configuration for attaching an Amazon FSx for Lustre file system to the instances in the SageMaker HyperPod cluster instance group.

          • DnsName (string) -- [REQUIRED]

            The DNS name of the Amazon FSx for Lustre file system.

          • MountName (string) -- [REQUIRED]

            The mount name of the Amazon FSx for Lustre file system.

          • MountPath (string) --

            The local path where the Amazon FSx for Lustre file system is mounted on instances.

        • FsxOpenZfsConfig (dict) --

          Defines the configuration for attaching an Amazon FSx for OpenZFS file system to the instances in the SageMaker HyperPod cluster instance group.

          • DnsName (string) -- [REQUIRED]

            The DNS name of the Amazon FSx for OpenZFS file system.

          • MountPath (string) --

            The local path where the Amazon FSx for OpenZFS file system is mounted on instances.

    • OnStartDeepHealthChecks (list) --

      A flag indicating whether deep health checks should be performed when the cluster restricted instance group is created or updated.

      • (string) --

    • TrainingPlanArn (string) --

      The Amazon Resource Name (ARN) of the training plan to filter clusters by. For more information about reserving GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see ``CreateTrainingPlan ``.

    • OverrideVpcConfig (dict) --

      Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see Give SageMaker Access to Resources in your Amazon VPC.

      • SecurityGroupIds (list) -- [REQUIRED]

        The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security groups for the VPC that is specified in the Subnets field.

        • (string) --

      • Subnets (list) -- [REQUIRED]

        The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.

        • (string) --

    • ScheduledUpdateConfig (dict) --

      The configuration object of the schedule that SageMaker follows when updating the AMI.

      • ScheduleExpression (string) -- [REQUIRED]

        A cron expression that specifies the schedule that SageMaker follows when updating the AMI.

      • DeploymentConfig (dict) --

        The configuration to use when updating the AMI versions.

        • RollingUpdatePolicy (dict) --

          The policy that SageMaker uses when updating the AMI versions of the cluster.

          • MaximumBatchSize (dict) -- [REQUIRED]

            The maximum amount of instances in the cluster that SageMaker can update at a time.

            • Type (string) -- [REQUIRED]

              Specifies whether SageMaker should process the update by amount or percentage of instances.

            • Value (integer) -- [REQUIRED]

              Specifies the amount or percentage of instances SageMaker updates at a time.

          • RollbackMaximumBatchSize (dict) --

            The maximum amount of instances in the cluster that SageMaker can roll back at a time.

            • Type (string) -- [REQUIRED]

              Specifies whether SageMaker should process the update by amount or percentage of instances.

            • Value (integer) -- [REQUIRED]

              Specifies the amount or percentage of instances SageMaker updates at a time.

        • WaitIntervalInSeconds (integer) --

          The duration in seconds that SageMaker waits before updating more instances in the cluster.

        • AutoRollbackConfiguration (list) --

          An array that contains the alarms that SageMaker monitors to know whether to roll back the AMI update.

          • (dict) --

            The details of the alarm to monitor during the AMI update.

            • AlarmName (string) -- [REQUIRED]

              The name of the alarm.

    • EnvironmentConfig (dict) --

      The configuration for the restricted instance groups (RIG) environment.

      • FSxLustreConfig (dict) --

        Configuration settings for an Amazon FSx for Lustre file system to be used with the cluster.

        • SizeInGiB (integer) -- [REQUIRED]

          The storage capacity of the Amazon FSx for Lustre file system, specified in gibibytes (GiB).

        • PerUnitStorageThroughput (integer) -- [REQUIRED]

          The throughput capacity of the Amazon FSx for Lustre file system, measured in MB/s per TiB of storage.

type RestrictedInstanceGroupsConfig:

dict

param RestrictedInstanceGroupsConfig:

The configuration for the restricted instance groups (RIG) in the SageMaker HyperPod cluster.

  • SharedEnvironmentConfig (dict) -- [REQUIRED]

    The shared environment configuration for the restricted instance groups (RIG).

    • FSxLustreDeletionPolicy (string) -- [REQUIRED]

      The deletion policy for the Amazon FSx for Lustre file system in the shared environment.

    • FSxLustreConfig (dict) -- [REQUIRED]

      Configuration settings for an Amazon FSx for Lustre file system in the shared environment.

      • SizeInGiB (integer) -- [REQUIRED]

        The storage capacity of the Amazon FSx for Lustre file system, specified in gibibytes (GiB).

      • PerUnitStorageThroughput (integer) -- [REQUIRED]

        The throughput capacity of the Amazon FSx for Lustre file system, measured in MB/s per TiB of storage.

type TieredStorageConfig:

dict

param TieredStorageConfig:

Updates the configuration for managed tier checkpointing on the HyperPod cluster. For example, you can enable or disable the feature and modify the percentage of cluster memory allocated for checkpoint storage.

  • Mode (string) -- [REQUIRED]

    Specifies whether managed tier checkpointing is enabled or disabled for the HyperPod cluster. When set to Enable, the system installs a memory management daemon that provides disaggregated memory as a service for checkpoint storage. When set to Disable, the feature is turned off and the memory management daemon is removed from the cluster.

  • InstanceMemoryAllocationPercentage (integer) --

    The percentage (int) of cluster memory to allocate for checkpointing.

type NodeRecovery:

string

param NodeRecovery:

The node recovery mode to be applied to the SageMaker HyperPod cluster.

type InstanceGroupsToDelete:

list

param InstanceGroupsToDelete:

Specify the names of the instance groups to delete. Use a single , as the separator between multiple names.

  • (string) --

type NodeProvisioningMode:

string

param NodeProvisioningMode:

Determines how instance provisioning is handled during cluster operations. In Continuous mode, the cluster provisions available instances incrementally and retries until the target count is reached. The cluster becomes operational once cluster-level resources are ready. Use CurrentCount and TargetCount in DescribeCluster to track provisioning progress.

type ClusterRole:

string

param ClusterRole:

The Amazon Resource Name (ARN) of the IAM role that HyperPod assumes for cluster autoscaling operations. Cannot be updated while autoscaling is enabled.

type AutoScaling:

dict

param AutoScaling:

Updates the autoscaling configuration for the cluster. Use to enable or disable automatic node scaling.

  • Mode (string) -- [REQUIRED]

    Describes whether autoscaling is enabled or disabled for the cluster. Valid values are Enable and Disable.

  • AutoScalerType (string) --

    The type of autoscaler to use. Currently supported value is Karpenter.

type Orchestrator:

dict

param Orchestrator:

The type of orchestrator used for the SageMaker HyperPod cluster.

  • Eks (dict) --

    The Amazon EKS cluster used as the orchestrator for the SageMaker HyperPod cluster.

    • ClusterArn (string) -- [REQUIRED]

      The Amazon Resource Name (ARN) of the Amazon EKS cluster associated with the SageMaker HyperPod cluster.

  • Slurm (dict) --

    The Slurm orchestrator configuration for the SageMaker HyperPod cluster.

    • SlurmConfigStrategy (string) --

      The strategy for managing partitions for the Slurm configuration. Valid values are Managed, Overwrite, and Merge.

    • AccountingDatabase (dict) --

      The external database that stores the Slurm accounting data for the cluster, such as job history, associations, and usage. When you omit this field, Slurm accounting uses a database on the cluster's controller node.

      • Endpoint (string) -- [REQUIRED]

        The hostname or endpoint of the accounting database, such as the endpoint of an Amazon RDS for MySQL or Aurora MySQL database. The database must be reachable from the subnets and security groups that you configure for the cluster.

      • Port (integer) --

        The port that the accounting database listens on. The default is 3306.

      • Name (string) --

        The name of the database schema that stores the Slurm accounting data. The default is slurm_acct_db_ followed by the cluster ID from the cluster ARN, for example slurm_acct_db_a1b2c3d4e5f6.

      • SecretArn (string) -- [REQUIRED]

        The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the user name and password for the accounting database. The database user must be able to create the schema and to read from and write to it.

rtype:

dict

returns:

Response Syntax

{
    'ClusterArn': 'string'
}

Response Structure

  • (dict) --

    • ClusterArn (string) --

      The Amazon Resource Name (ARN) of the updated SageMaker HyperPod cluster.