Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Administrator Guide

...

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.

...

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:

Expand
titleprofile.json fields Example
Code Block
{
   "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:

...

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

...

Step 1: Update Basic Information

...

Step 2: Update Controller Configuration

  • Update IAM Instance Profile: Replace the default IAM Instance Profile string with the Instance Profile ARN (Amazon Resource Name) of your Controller IAM.

  • Deploy in a Private Subnet: Change the Subnet ID to the same private Subnet ID that the EKS Cluster has.

  • Add Instances Tags: Add “Key|Value" pair as tags to your instances and press "Enter" before proceeding.

Screenshot 2024-07-16 at 13.55.05.pngImage Added

Step 3: Update Worker Configuration

  • Update IAM Instance Profile: Replace the default IAM Instance Profile string with the Instance Profile ARN (Amazon Resource Name) of your Worker IAM.

  • Deploy in a Private Subnet: Update the Subnet ID to use the same subnet as the above used for the Controller.

  • Allow Communication to your EKS Cluster: Add your EKS Cluster Security Group to the Security Group IDs field.

  • Define On-Demand Types: Enter instance families or specific instance types. This field is required. We suggest 5 or more instance types, including a mix of different instance families and generations (m5, m6i, or c5, etc.), for Amazon EC2 Spot Instances.

  • Enter Spot Fleet: Enter instance families or specific instance types. We suggest 5 or more instance types, including a mix of different instance families and generations (m5, m6i, or c5, etc.), for Amazon EC2 Spot Instances.

  • Add Instances Tags: Add “Key|Value" pair as tags to your instances and press "Enter" before proceeding.

...

Step 4: Update XSpot Version if needed

...

Completion

  • A confirmation message, "Submission Successful!" will appear once the profile has been successfully updated.

...