Following up on Revant’s questions about spot instances & Nextflow, I have a few questions about how aws.batch.maxSpotAttempts
works.
If I
- set
aws.batch.maxSpotAttempts
to 0, - launch a Nextflow pipeline run with AWS Batch, and then
- manually initiate a Spot Instance interruption (AWS documentation link) while a Nextflow task is running on a Spot Instance worker,
what should I expect to see happen? Should the Nextflow task fail and require resubmission? Do those sorts of manual spot instance interruptions fall under “Spot Attempts” for Nextflow and therefore trigger use of aws.batch.maxSpotAttempts
? What information would be captured in the Nextflow log files?
Thanks in advance! - Deepank