Update Profile
Developer Guide
You can SSH into the head node to issue commands. To do this, locate your instance in the Resources tab of the CloudFormation stack, and connect to the EC2 instance.
Before you start managing from the Head Node, establish the connection with the following command:
export HEADNODE="http://192.0.7.76:5000"
To manage profiles, navigate to the following directory: /xcompute/slurm/aws/xcompute-daemon/data/profiles
.
Update Profile
Edit the
profile.json
file according to the sample provided below:
After updating the profile, submit the changes with a PUT request using
curl
:
curl -X PUT $HEADNODE/v1/profile \ -H 'Content-Type: application/json'