2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
6 {%- set _workers = ("__CONTROLLER_MAX_WORKERS__" or grains['num_cpus']*2)|int %}
7 {%- set max_workers = [_workers, 8]|max %}
8 {%- set max_reqs = ("__CONTROLLER_MAX_QUEUED_REQUESTS__" or 128)|int %}
10 # The variables commented out are the default values that the formula uses.
11 # The uncommented values are REQUIRED values. If you don't set them, running
12 # this formula will fail.
15 version: '__VERSION__'
16 ## It makes little sense to disable this flag, but you can, if you want :)
17 # use_upstream_repo: true
19 ## Repo URL is built with grains values. If desired, it can be completely
20 ## overwritten with the pillar parameter 'repo_url'
22 # humanname: Arvados Official Repository
27 ## api, workbench and shell require some gems, so you need to make sure ruby
28 ## and deps are installed in order to install and compile the gems.
29 ## We default to `false` in these two variables as it's expected you already
30 ## manage OS packages with some other tool and you don't want us messing up
33 ## We set these to `true` here for testing purposes.
34 ## They both default to `false`.
36 manage_gems_deps: true
44 # - libcurl4-gnutls-dev
54 # file: /etc/arvados/config.yml
57 ## If you're intalling any of the rails apps (api, workbench), the group
58 ## should be set to that of the web server, usually `www-data`
63 name: arvados-dispatch-cloud
65 name: arvados-dispatch-cloud
67 ### ARVADOS CLUSTER CONFIG
73 # max concurrent connections per arvados server daemon
74 # connection_pool_max: 32
75 name: __CLUSTER___arvados
76 host: __DATABASE_INT_IP__
77 password: "__DATABASE_PASSWORD__"
78 user: __CLUSTER___arvados
85 # required to test with arvados-snakeoil certs
91 name: shell.__DOMAIN__
92 backend: __SHELL_INT_IP__
97 system_root: __SYSTEM_ROOT_TOKEN__
98 management: __MANAGEMENT_TOKEN__
99 anonymous_user: __ANONYMOUS_USER_TOKEN__
103 blob_signing_key: __BLOB_SIGNING_KEY__
104 workbench_secret_key: __WORKBENCH_SECRET_KEY__
111 Email: __INITIAL_USER_EMAIL__
112 Password: __INITIAL_USER_PASSWORD__
116 MaxConcurrentRequests: {{ max_workers * 2 }}
117 MaxQueuedRequests: {{ max_reqs }}
120 {%- set dispatcher_ssh_privkey = "__DISPATCHER_SSH_PRIVKEY__" %}
125 Name: __CLUSTER__-compute-node
126 BootProbeCommand: 'systemctl is-system-running'
127 ImageID: __COMPUTE_AMI__
130 Region: __COMPUTE_AWS_REGION__
132 AdminUsername: __COMPUTE_USER__
133 ### This SG should allow SSH from the dispatcher to the compute nodes
134 SecurityGroupIDs: ['__COMPUTE_SG__']
135 SubnetID: __COMPUTE_SUBNET__
136 IAMInstanceProfile: __CLUSTER__-compute-node-00-iam-role
137 DispatchPrivateKey: {{ dispatcher_ssh_privkey|yaml_dquote }}
140 ## This should usually match all your `keepstore` instances
142 # the volume name will be composed with
143 # <cluster>-nyw5e-<volume>
144 __CLUSTER__-nyw5e-000000000000000:
148 Bucket: __CLUSTER__-nyw5e-000000000000000-volume
149 IAMRole: __CLUSTER__-keepstore-00-iam-role
150 Region: __KEEP_AWS_REGION__
153 NewUsersAreActive: true
154 AutoAdminFirstUser: true
155 AutoSetupNewUsers: true
156 AutoSetupNewUsersWithRepository: true
160 ExternalURL: 'https://__DOMAIN__:__CONTROLLER_EXT_SSL_PORT__'
162 'http://localhost:8003': {}
165 'http://__DISPATCHER_INT_IP__:9006': {}
168 'http://__KEEPBALANCE_INT_IP__:9005': {}
170 ExternalURL: 'https://keep.__DOMAIN__:__KEEP_EXT_SSL_PORT__'
172 'http://localhost:25107': {}
175 'http://__KEEPSTORE0_INT_IP__:25107': {}
178 'http://localhost:8004': {}
180 ExternalURL: 'https://*.collections.__DOMAIN__:__KEEPWEB_EXT_SSL_PORT__/'
182 'http://__KEEPWEB_INT_IP__:9002': {}
184 ExternalURL: 'https://download.__DOMAIN__:__KEEPWEB_EXT_SSL_PORT__'
186 ExternalURL: 'https://webshell.__DOMAIN__:__KEEPWEB_EXT_SSL_PORT__'
188 ExternalURL: 'wss://ws.__DOMAIN__/websocket'
190 'http://localhost:8005': {}
192 ExternalURL: 'https://workbench.__DOMAIN__:__WORKBENCH1_EXT_SSL_PORT__'
194 ExternalURL: 'https://workbench2.__DOMAIN__:__WORKBENCH2_EXT_SSL_PORT__'
198 ProviderType: t3.small
204 ProviderType: c5.large
210 ProviderType: m5.large
216 ProviderType: c5.xlarge
222 ProviderType: m5.xlarge
228 ProviderType: m5.xlarge
234 ProviderType: c5.2xlarge
240 ProviderType: m5.2xlarge
246 ProviderType: c5.4xlarge
252 ProviderType: m5.4xlarge