Skip to content

Starting and Testing a ParallelCluster in CloudShell

Ben Trumbore edited this page Dec 1, 2023 · 2 revisions

Test the Virtual Cluster

Once the ParallelCluster is configured, it is a good idea to test the configuration by creating a cluster, connecting to it and running a simple test program there.

running a Hello World application:

  • Create and start the cluster using the configuration file and giving the cluster a name:
    • pcluster create-cluster --cluster-name hello-world --cluster-configuration hello-world.yaml
    • When the cluster creation is complete, JSON describing the cluster will be printed. This is the output of pcluster list-clusters
    • Repeatedly issue the list-clusters command until the status changes to CREATE_COMPLETE before using the cluster
    • My cluster took longer to create than Bennett's, or so we think. How long did it take? Was it because of min 2 workers? Other reasons?
    • When Bennett tried to start a cluster while Ben's was still starting, it terminated Ben's. Not clear why - are there limitations, or bugs?

Clone this wiki locally