pcluster configure
Begins an AWS ParallelCluster configuration.
pcluster configure [ -h ] [ -c
CONFIG_FILE
] [ -rREGION
]
Named arguments
-h, --help
-
Shows the help text for
pcluster configure
. -c
CONFIG_FILE
, --configCONFIG_FILE
-
Specifies the full path of the alternative configuration file to use.
Defaults to
~/.parallelcluster/config
.For more information, see Configuring AWS ParallelCluster.
-r
REGION
, --regionREGION
-
Specifies the AWS Region to use. If this is specified, the configuration will skip the region detection.
If pcluster configure created a new VPC, you can delete that VPC by deleting the AWS CloudFormation stack it created. The name will start with "parallelclusternetworking-" and contain the creation time in a "YYYYMMDDHHMMSS" format. You can list the stacks using the list-stacks command.
$
aws --region
us-east-2
cloudformation list-stacks \ --stack-status-filter "CREATE_COMPLETE" \ --query "StackSummaries[].StackName" | \ grep -e "parallelclusternetworking-""
parallelclusternetworking-pubpriv-20191029205804
"
The stack can be deleted using the delete-stack command.
$
aws --region
us-west-2
cloudformation delete-stack \ --stack-nameparallelclusternetworking-pubpriv-20191029205804