Administrator Guide
Update Profile
Access Profile Editing: Click on the pencil icon to begin editing your profile.
Modify Node Group Name: Enter the name for your node group in the designated field.
Update IAM Instance Profile: Replace the default IAM Instance Profile string with the ARN (Amazon Resource Name) of your Worker IAM Instance Profile.
Completion: A confirmation message, "Submission Successful!" will appear once the profile has been successfully updated.
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.
To manage profiles, navigate to the following directory: /xcompute/slurm/aws/xcompute-daemon/data/profiles
.
Existing profiles can be viewed using sinfo
:
Create Profile
Create a Configuration File:
Start by creating a JSON file namedprofile.json
with the following content:
Submit the Profile:
Once the configuration file is ready, submit it with the followingcurl
command:curl -X POST http://localhost:5000/v1/profile \ -H 'Content-Type: application/json' \ -H 'Accept: application/json' \ -d "@profile.json"
Confirm Profile Creation:
Upon successful submission, the response will include a new profile ID, confirming that the profile has been created. Example response:{"Id": "13167214-4da7-4a53-8b09-a019046cf053"}
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 http://localhost:5000/v1/profile \ -H 'Content-Type: application/json' \ -d @profile.json