coiled uses Dask’s built in
configuration system to
manage configuration options. Namely, configuration settings can be set:
In the configuration file
Using environment variables like
Configured directly in Python code using
The YAML snippet below shows the possible configuration options, along with their default values:
coiled: account: null # Default account backend-options: null # Default backend_options server: https://cloud.coiled.io # Default server token: "" # Default token user: "" # Default username
If you are part of a teams account, and you know that you will
launch clusters mostly in your team account, you can set the
to point to to your team slug. By setting this option, the default behavior of
launching clusters or any other service in your account is overwritten and will
use the team account instead.
You can pass your team account slug in the
coiled login command line tool
--account flag as follows:
$ coiled login --account team_slug
account keyword argument is also accepted in most of our API,
this keyword argument gives you the flexibility of switching between your team
and personal accounts when using the Coiled API.
You don’t need a distinct token to use your team account – please continue to use your personal token
There are several backend specific options that you can specify to customize Coiled’s behaviour. For example, if you are using a specific region to keep your assets and you want always to use this region when using Coiled, then you could add it to this configuration file to overwrite Coiled’s default region choice.