pcluster create
Creates a new cluster.
pcluster create [ -h ] [ -cCONFIG_FILE] [ -rREGION] [ -nw ] [ -nr ] [ -uTEMPLATE_URL] [ -tCLUSTER_TEMPLATE] [ -pEXTRA_PARAMETERS] [ -gTAGS]cluster_name
Positional arguments
cluster_name-
Defines the name of the cluster. The Amazon CloudFormation stack name is
parallelcluster-.cluster_name
Named arguments
-h, --help-
Shows the help text for
pcluster create. -cCONFIG_FILE, --configCONFIG_FILE-
Specifies the alternative configuration file to use.
Defaults to
~/.parallelcluster/config. -rREGION, --regionREGION-
Specifies the Amazon Web Services Region to use. The priority order used to select the Amazon Web Services Region for a new cluster is as follows:
-
-ror--regionparameter to pcluster create. -
AWS_DEFAULT_REGIONenvironment variable. -
aws_region_namesetting in[aws]section of Amazon ParallelCluster config file (default location is~/.parallelcluster/config.) This is the location updated by the pcluster configure command. -
regionsetting in[default]section of Amazon CLI config file (~/.aws/config.)
-
-nw, --nowait-
Indicates not to wait for stack events after running a stack command.
Defaults to
False. -nr, --norollback-
Disables stack rollback on error.
Defaults to
False. -uTEMPLATE_URL, --template-urlTEMPLATE_URL-
Specifies a URL for the custom Amazon CloudFormation template if it was used when created.
-tCLUSTER_TEMPLATE, --cluster-templateCLUSTER_TEMPLATE-
Indicates the cluster template to use.
-pEXTRA_PARAMETERS, --extra-parametersEXTRA_PARAMETERS-
Adds extra parameters to stack create.
-gTAGS, --tagsTAGS-
Specifies additional tags to add to the stack.
When the command is called and begins polling for the status of that call, it's safe to use "Ctrl-C" to exit.
You can return to viewing the current status by calling pcluster status mycluster.
Examples using Amazon ParallelCluster version 2.11.7:
$pcluster createmyclusterBeginning cluster creation for cluster: mycluster Info: There is a newer version 3.1.4 of AWS ParallelCluster available. Creating stack named: parallelcluster-mycluster Status: ComputeFleetHITSubstack - CREATE_IN_PROGRESS$pcluster createmycluster--tags '{"Key1":"Value1","Key2":"Value2"}'