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

« Previous Version 6 Next »

Administrator Guide

Screenshot 2024-04-15 at 13.16.36.png

Update Profile

  • Access Profile Editing: Click on the pencil icon to begin editing your profile.

Screenshot 2024-04-15 at 13.34.01.png
  • Modify Node Group Name: Enter the name for your node group in the designated field.

Screenshot 2024-04-18 at 10.05.28.png
  • Update IAM Instance Profile: Replace the default IAM Instance Profile string with the ARN (Amazon Resource Name) of your Worker IAM Instance Profile.

Screenshot 2024-04-18 at 10.11.03.pngScreenshot 2024-04-18 at 10.12.53.png
  • Completion: A confirmation message, "Submission Successful!" will appear once the profile has been successfully updated.

Screenshot 2024-04-18 at 10.13.20.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

To manage profiles, navigate to the following directory: /xcompute/slurm/aws/xcompute-daemon/data/profiles.

Create Profile

  1. Create a Configuration File:
    Start by creating a JSON file named profile.json with the following content:

 profile.json Example
{
    "AvailabilityZone": "us-east-2a",
    "Controller": {        "IamInstanceProfile": "arn:aws:iam::374070299695:instance-profile/integration-controller-iam-for-eks",
        "InstanceType": "c5d.xlarge",
        "ImageId": "ami-0fca70f6666621267",
        "SecurityGroupIds": [
            "sg-09871da66230f449f",
            "sg-01bf7f52602239d99"
        ],
        "SubnetId": "subnet-048cdbb7c1bf6ba84",
        "VolumeSize": 100,
        "InstanceTags": ""
    },
    "Description": "",
    "Id": "01dafc6c-4efe-47d2-ab55-70a1eb1e6b31",
    "LogPath": "/xcompute/logs",
    "MaxControllers": 10,
    "NodeGroupName": "eksodegroup",
    "ProfileName": "az2",
    "Region": "us-east-2",
    "Worker": {
        "IamInstanceProfile": "arn:aws:iam::374070299695:instance-profile/integration-worker-iam-for-eks",
        "InstanceTypes": [
            "m5:0"
        ],
        "ImageId": "ami-0d0ce00e83164d460",
        "SecurityGroupIds": [
            "sg-09871da66230f449f",
            "sg-01bf7f52602239d99"
        ],
        "SpotFleetTypes": [
            "m5:1",
            "m5d:0",
            "m5n:0"
        ],
        "SubnetId": "subnet-048cdbb7c1bf6ba84",
        "InstanceTags": ""
    },
    "Xspot": [
        {
            "HyperthreadingDisabled": null
        }
    ],
    "XspotVersion": "xspot-2.2.0.0"
}
  1. Submit the Profile:
    Once the configuration file is ready, submit it with the following curl command:

    curl -X POST http://localhost:5000/v1/profile \
      -H 'Content-Type: application/json' \
      -H 'Accept: application/json' \
      -d "@profile.json"
  2. 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

  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 http://localhost:5000/v1/profile \
      -H 'Content-Type: application/json' \
      -d @profile.json

  • No labels