Skip to main content
Skip table of contents

Creating JSON Assets for the SLURM Image

An image.json file will be needed on the EMS with customizations based on your AMI.

image.json Example
CODE
{
    "Architecture": "x86_64",
    "ImageId": "<YOUR_AMI_ID>",
    "ImageName": "< a name of your choosing that will be needed later >",
    "ImageType": "cloud",
    "Md5Sum": "",
    "Platform": "Linux/Unix",
    "VmBoot": "< contents of /proc/cmdline from previous steps >",
    "VmInit": "< name of the initramfs image or initrd file from previous steps >",
    "VolumeSize": <SIZE_OF_AMI_VOLUME>,
    "VmImage": "<SNAPSHOT_ID>",
    "Id": "45486cb9-4x4x-4dde-acaf-edded25ed7cb"
}

The following values from above need to be modified based on your AMI:

  1. "ImageId": "<YOUR_AMI_ID>"

  2. "ImageName": "< a name of your choosing that will be needed later >"

  3. "VmBoot": "< contents of /proc/cmdline from previous steps >"

  4. "VmInit": "< name of the initramfs image or initrd file from previous steps >"

  5. "VolumeSize": <SIZE_OF_AMI_VOLUME>

    1. Note: VolumeSize is an integer, so no quotes

  6. "Id": "45486cb9-4x4x-4dde-acaf-edded25ed7cb"

    1. Note: This string must be unique for any image.

This image.json file will be added to the EMS in the next step.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.