Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Screenshot 2024-04-15 at 13.16.36.png

Update Profile

Screenshot 2024-04-15 at 13.34.01.png

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.

Screenshot 2024-04-15 at 13.31.41.png

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

  1. Edit the profile.json file according to the sample provided below:

 profile.json fields Example
{
   "Worker": {
       "IamInstanceProfile": "arn:aws:iam::374070299695:instance-profile/IntegrationInstaller-ExostellarInstanceProfile-f6FuntTOKYnn"
   },
   "NodeGroupName": "eksnodegroup"
}
  1. After updating the profile, submit the changes with a PUT request using curl:

curl -X PUT $HEADNODE/v1/profile \
  -H 'Content-Type: application/json'

  • No labels