View a markdown version of this page

pcluster delete-cluster-instances - AWS ParallelCluster

This documentation references AWS ParallelCluster. For running HPC and AI workloads, we recommend AWS Parallel Computing Service (AWS PCS), our managed Slurm service that lets you focus on running your workloads rather than managing infrastructure.

pcluster delete-cluster-instances

Initiate the forced termination of all cluster compute nodes. This does not work with AWS Batch clusters.

pcluster delete-cluster-instances [-h] --cluster-name CLUSTER_NAME [--debug] [--force FORCE] [--query QUERY] [--region REGION]

Named arguments

-h, --help

Shows the help text for pcluster delete-cluster-instances.

--cluster-name, -n CLUSTER_NAME

Specifies the name of the cluster.

--debug

Enables debug logging.

--force FORCE

When true, forces the deletion by ignoring validation errors. (Defaults to false.)

--query QUERY

Specifies the JMESPath query to perform on the output.

--region, -r REGION

Specifies the AWS Region to use. The AWS Region must be specified, using the AWS_DEFAULT_REGION environment variable, the region setting in the [default] section of the ~/.aws/config file, or the --region parameter.

$ pcluster delete-cluster-instances -n cluster-v3