-
Notifications
You must be signed in to change notification settings - Fork 0
Configuring a Cluster on AWS
Ben Trumbore edited this page Nov 10, 2023
·
3 revisions
Note: This content has not yet been completed or fully arranged and formatted!
- Log in to the head node of the cluster (must supply the private SSH key to be allowed in) and run a test
-
pcluster ssh --cluster-name hello-world -i /path/to/keyfile.pem
- Note: Ben got an error here about Boto3 no longer supporting Python 3.7 after December 3, 2023. Use a different Python?
- You will need to accept the connection even though the authenticity is not known - just this one time
-
You can look at the EC2 dashboard to see the new instances
-
Create a file called hellojob.sh with the following contents:
#!/bin/bash sleep 30 echo "Hello World from $(hostname)"
-