The ID of the Amazon Machine Image (AMI) that PCS uses to launch compute nodes (Amazon EC2 instances). If you don't provide this value, PCS uses the AMI ID specified in the custom launch template.
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
Amazon.PowerShell.Cmdlets.PCS.AmazonPCSClientCmdlet.ClientConfig
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate 1 for you.
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
The name or ID of the cluster to create a compute node group in.
| Required? | True |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
-ComputeNodeGroupName <
String>
A name to identify the cluster. Example: MyCluster
| Required? | True |
| Position? | 1 |
| Accept pipeline input? | True (ByValue, ByPropertyName) |
-CustomLaunchTemplate_Id <
String>
The ID of the EC2 launch template to use to provision instances. Example: lt-xxxx
| Required? | True |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
-CustomLaunchTemplate_Version <
String>
The version of the EC2 launch template to use to provision instances.
| Required? | True |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
This parameter overrides confirmation prompts to force the cmdlet to continue its operation. This parameter should always be used with caution.
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
-IamInstanceProfileArn <
String>
The Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM role when launching EC2 instances. The role contained in your instance profile must have the
pcs:RegisterComputeNodeGroupInstance permission and the role name must start with
AWSPCS or must have the path
/aws-pcs/. For more information, see
IAM instance profiles for PCS in the
PCS User Guide.
| Required? | True |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
A list of EC2 instance configurations that PCS can provision in the compute node group. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
| Required? | True |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Aliases | InstanceConfigs |
Specifies how EC2 instances are purchased on your behalf. PCS supports On-Demand Instances, Spot Instances, Interruptible Capacity Reservations, On-Demand Capacity Reservations, and Amazon EC2 Capacity Blocks for ML. For more information, see
Amazon EC2 billing and purchasing options in the
Amazon Elastic Compute Cloud User Guide. For more information about PCS support for Capacity Blocks, see
Using Amazon EC2 Capacity Blocks for ML with PCS in the
PCS User Guide. For more information about PCS support for interruptible capacity reservations, see
Using I-ODCRs with PCS in the
PCS User Guide. Choose On-Demand if you plan to use an On-Demand Capacity Reservation (ODCR). For more information, see
Using ODCRs with PCS. If you don't provide this option, it defaults to On-Demand.
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
-ScalingConfiguration_MaxInstanceCount <
Int32>
The upper bound of the number of instances allowed in the compute fleet.
| Required? | True |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
-ScalingConfiguration_MinInstanceCount <
Int32>
The lower bound of the number of instances allowed in the compute fleet.
| Required? | True |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
Use the -Select parameter to control the cmdlet output. The default value is 'ComputeNodeGroup'. Specifying -Select '*' will result in the cmdlet returning the whole service response (Amazon.PCS.Model.CreateComputeNodeGroupResponse). Specifying the name of a property of type Amazon.PCS.Model.CreateComputeNodeGroupResponse will result in that property being returned. Specifying -Select '^ParameterName' will result in the cmdlet returning the selected cmdlet parameter value.
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
-SlurmConfiguration_ScaleDownIdleTimeInSecond <
Int32>
The time (in seconds) before an idle node is scaled down. If not specified, the cluster-level setting applies. This overrides the cluster-level scaleDownIdleTimeInSeconds setting. A value of -1 removes the override and applies the cluster-level setting to this compute node group. Requires Slurm version 25.11 or later.
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Aliases | SlurmConfiguration_ScaleDownIdleTimeInSeconds |
Additional Slurm-specific configuration that directly maps to Slurm settings. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Aliases | SlurmConfiguration_SlurmCustomSettings |
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
The list of subnet IDs where the compute node group launches instances. Subnets must be in the same VPC as the cluster. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
| Required? | True |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Aliases | SubnetIds |
1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true.
| Required? | False |
| Position? | Named |
| Accept pipeline input? | True (ByPropertyName) |
| Aliases | Tags |