What is the correct way to have Nextflow tell AWS ...
# nostupidquestions
a
What is the correct way to have Nextflow tell AWS Batch to automatically restart reclaimed spot instances? I found
aws.batch.maxSpotAttempts
in https://nextflow.io/docs/latest/reference/config.html#aws, but it doesn’t seem to have an effect on job definitions. Do I need to delete existing job definitions in AWS Batch and let Nextflow recreate them? Running
nf-core/rnaseq
on Nextflow 25.10.2 with
-profile docker
My custom config is
Copy code
process {
    executor = 'awsbatch'
    queue = 'sequence-alignment-queue'
}

aws {
    batch {
        cliPath = '/home/ec2-user/miniconda/bin/aws'
        maxSpotAttempts = 5
    }
    region = 'us-east-1'
}
t
This question probably better suited for the
#infrastructure-aws
channel over in the Nextflow Slack.
🙏 1