aws pcs create-compute-node-group
Creates a managed set of compute nodes. AWS CLI reference
14 options Its page in the AWS CLI reference
Options
--ami-idThe ID of the Amazon Machine Image (AMI) that PCS uses to launch compute nodes (Amazon EC2 instances).--client-tokenA unique, case-sensitive identifier that you provide to ensure the idempotency of the request.--cluster-identifierThe name or ID of the cluster to create a compute node group in.--compute-node-group-nameA name to identify the cluster.--custom-launch-templateAn Amazon EC2 launch template PCS uses to launch compute nodes.--iam-instance-profile-arnThe Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM role when launching EC2 instances.--instance-configsA list of EC2 instance configurations that PCS can provision in the compute node group.--node-lifecycle-actionsThe lifecycle actions to run on compute nodes in the compute node group.--purchase-optionSpecifies how EC2 instances are purchased on your behalf.--scaling-configurationSpecifies the boundaries of the compute node group auto scaling.--slurm-configurationAdditional options related to the Slurm scheduler.--spot-optionsAdditional configuration when you specify SPOT as the purchaseOption for the CreateComputeNodeGroup API action.--subnet-idsThe list of subnet IDs where the compute node group launches instances.--tags1 or more tags added to the resource.