Versions Compared

Key

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

Compute Environment

To prepare the nested-vm compute node we need to process an AMI. If you have an existing AMI for your compute environment we can leverage that. If the site already uses the AWS Provider for Resource Connector, using the AMI from the awsprov_templates.json will suffice. If an AMI needs to be created from an existing compute node the following steps walk through that process.

The key concepts to keep in mind about getting a good AMI is that it should boot fast and do little to no work, for example in bootstrapping or user_data. Also, it should have everything required to run the workflows and authenticate users.

To use the same AMI as AWS Provider for Resource Connector

  • Find the AMI_ID from the configuration:

    Code Block
    badmin rc view -c templates
    • Make a note of the AMI_ID for subsequent steps.

To create an AMI from an LSF compute node

  • Allocate a compute node:

    Code Block
    bsub -J ami-creation sleep 5000

...