Skip to content

Create a queue

A Queue is a processing queue managed by GCP Cloud Batch. The workflow orchestrator — Nextflow or Cromwell — submits jobs to it.

You can register several queues to keep work organised and to manage cost. Queues also configure the instance type used.

Terminal window
export ENVIRONMENT_ID=<environment-id>
geni queue create \
--name "SPOT" \
--environment-id $ENVIRONMENT_ID \
--execution-mode spot

Create a second queue in on-demand mode. Analysts then pick per submission, and can name it as the fallback for spot-capacity failures — see Managing submissions.

Terminal window
geni queue create \
--name "ONDEMAND" \
--environment-id $ENVIRONMENT_ID \
--execution-mode ondemand
Terminal window
geni queue list
geni engine list

With an environment, an engine and at least one queue in place, the project is ready. An analyst can now register a workflow and submit — see Managing workflows.