seqeralabs / nf-tower

Nextflow Tower system
https://tower.nf
Mozilla Public License 2.0
144 stars 51 forks source link

Define zones instead of region #288

Closed phiweger closed 3 years ago

phiweger commented 3 years ago

In my config profiles I am used to write something like this when using nextflow (local instance) with cloud execution (google life science api on GCP):

        google { 
            lifeSciences.preemptible = false
            lifeSciences.bootDiskSize = 50.GB
            zone = 'europe-west3-a,europe-west3-b,europe-west3-c'
        }

However, on Tower, when I configure a compute env, I can only set a region, not a zone, ie I cannot specify "europe-west3-a" in the Tower compute env configuration. Neither can I do this in the nextflow.config bc/ then I get an error saying that I need to specify either region or zone, not both.

How can I supply multiple zones to Tower for the wf execution?

pditommaso commented 3 years ago

I think currently there's no support for it. A good point to add it.

replikation commented 3 years ago

nice. zones have unlimited resource access. regions are quite restricted currently (for google cloud)

pditommaso commented 3 years ago

The ability to specify one or more zones has been added.

Screenshot 2021-02-17 at 09 46 15
replikation commented 3 years ago

nice thank you.

phiweger commented 3 years ago

awesome @pditommaso !