AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy

System.Object
  Amazon.SageMaker.Model.ClusterInstanceGroupSpecification

Namespace: Amazon.SageMaker.Model
Assembly: AWSSDK.SageMaker.dll
Version: 3.x.y.z

Syntax

C#
public class ClusterInstanceGroupSpecification

The ClusterInstanceGroupSpecification type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ExecutionRole System.String

Gets and sets the property ExecutionRole.

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

Public Property ImageId System.String

Gets and sets the property ImageId.

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

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.

Public Property InstanceCount System.Int32

Gets and sets the property InstanceCount.

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

Public Property InstanceGroupName System.String

Gets and sets the property InstanceGroupName.

Specifies the name of the instance group.

Public Property InstanceStorageConfigs System.Collections.Generic.List<Amazon.SageMaker.Model.ClusterInstanceStorageConfig>

Gets and sets the property InstanceStorageConfigs.

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

Public Property InstanceType Amazon.SageMaker.ClusterInstanceType

Gets and sets the property InstanceType.

Specifies the instance type of the instance group.

Public Property LifeCycleConfig Amazon.SageMaker.Model.ClusterLifeCycleConfig

Gets and sets the property LifeCycleConfig.

Specifies the LifeCycle configuration for the instance group.

Public Property OnStartDeepHealthChecks System.Collections.Generic.List<System.String>

Gets and sets the property OnStartDeepHealthChecks.

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

Public Property OverrideVpcConfig Amazon.SageMaker.Model.VpcConfig

Gets and sets the property OverrideVpcConfig.

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.

When your Amazon VPC and subnets support IPv6, network communications differ based on the cluster orchestration platform:

  • Slurm-orchestrated clusters automatically configure nodes with dual IPv6 and IPv4 addresses, allowing immediate IPv6 network communications.

  • In Amazon EKS-orchestrated clusters, nodes receive dual-stack addressing, but pods can only use IPv6 when the Amazon EKS cluster is explicitly IPv6-enabled. For information about deploying an IPv6 Amazon EKS cluster, see Amazon EKS IPv6 Cluster Deployment.

Additional resources for IPv6 configuration:

Public Property ScheduledUpdateConfig Amazon.SageMaker.Model.ScheduledUpdateConfig

Gets and sets the property ScheduledUpdateConfig.

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

Public Property ThreadsPerCore System.Int32

Gets and sets the property ThreadsPerCore.

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.

Public Property TrainingPlanArn System.String

Gets and sets the property TrainingPlanArn.

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 .

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5