AlexsLemonade / alsf-scpca

Management and analysis tools for ALSF Single-cell Pediatric Cancer Atlas data.
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Create AWS Batch job queue for running nextflow #150

Open kurtwheeler opened 2 years ago

kurtwheeler commented 2 years ago

Right now @jashapiro runs nextflow locally as his user and it submits jobs which run within Batch. However, if Josh's temporary AWS credentials expire, nextflow is unable to continue submitting jobs.

To prevent this from happening, we should create a separate job queue and compute environment which runs on On Demand instances to run nextflow. This can then use a specific bot user which won't be affected by MFA.

The new flow would then be submit a job to the nextflow-runner queue, which then sends all the nextflow sub-jobs to the currently existing job queue.