Now, we are heading back to our CloudShell from the setup chapter. You might have lost the connection and cloudshell will reestablish one. Depending on how long the connection was lost, you might get the same instance, or software needs to be reinstalled.


In an production environment it is best practice to keep the configuration from which a cluster was created somewhere safe (git repository, gist or just downloaded). This will help to reproduce the exact setup and also allows to update a cluster without access to the initial environment where pcluster create was executed.

Now, we list and delete the ParallelCluster instance, in my case it was called pcluster-x86.

pcluster list
pcluster delete pcluster-x86


aws s3 rb s3://${BUCKET_NAME} --force


This will take a couple of minutes. Afterwards you can remove the HOME directory of the CloudShell instance to tidy up CloudShell.