Region: us-east-1
Imds:
  ImdsSupport: v2.0
Image:
  Os: ubuntu2004
HeadNode:
  InstanceType: c7g.4xlarge
  Networking:
    SubnetId: subnet-xxxxxxxxxxxxxxxxx
  Ssh:
    KeyName: xxxxxxxxx
  Iam:
    S3Access:
      - EnableWriteAccess: true
        BucketName: '*'
  CustomActions:
    OnNodeConfigured:
      Script: s3://<s3_bucket>/install-gcc-11.sh
Scheduling:
  Scheduler: slurm
  SlurmQueues:
  - Name: compute
    ComputeResources:
    - Name: hpc7g
      InstanceType: hpc7g.16xlarge
      MinCount: 0
      MaxCount: 64
      Efa:
        Enabled: true
    Networking:
      SubnetIds:
      - subnet-xxxxxxxxxxxxxxxxx
      PlacementGroup:
       Enabled: true
    Iam:
      AdditionalIamPolicies:
      - Policy: arn:aws:iam::aws:policy/AmazonS3ReadOnlyAccess
    CustomActions:
      OnNodeConfigured:
        Script: s3://<s3_bucket>/install-gcc-11.sh
SharedStorage:
  - Name: FsxLustre0
    StorageType: FsxLustre
    MountDir: /shared
    FsxLustreSettings:
      StorageCapacity: 1200
      DeploymentType: PERSISTENT_2
      PerUnitStorageThroughput: 125
      DataCompressionType: LZ4

