b. Cloud9

1. Cloud9

In the previous section we created a hpc cluster using AWS CloudFormation and AWS ParallelCluster.

Navigate to your ResearchWorkspaceUrl, as shown at the end of the last section, and your web browser will be re-directed to an AWS Cloud9 interactive console like this:

You’ll see a popup about AWS Managed Temporary Credentials. Click Enable

Cloud9

Cloud9 is a powerful Integrated Development Environment where you can write, run, and debug code via your browser. Cloud9 provides the software and tooling needed for dynamic programming languages including JavaScript, Python, PHP, Ruby, Go, and C++. Visit the AWS Cloud9 Features page for more information.

💡 Pro Tip: Change Cloud9 Theme

2. Connect to the HPC Environment

Confirm the name of your AWS Parallel Cluster:

pcluster list --color

The name should be hpc-cluster and the state should be CREATE_COMPLETE. It may be hpc-cluster-* if it’s the second cluster created on the account.

pcluster list

Connect to the cluster:

pcluster ssh hpc-cluster

pcluster ssh

The Cloud9 Instance is not the Master Instance of the cluster, to connect to the master instance you’ll need to run pcluster ssh hpc-cluster.