2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: AGPL-3.0
6 {%- set max_workers = ("__CONTROLLER_MAX_WORKERS__" or grains['num_cpus'])|int %}
7 {%- set max_reqs = ("__CONTROLLER_MAX_QUEUED_REQUESTS__" or 128)|int %}
9 # The variables commented out are the default values that the formula uses.
10 # The uncommented values are REQUIRED values. If you don't set them, running
11 # this formula will fail.
14 version: '__VERSION__'
15 ## It makes little sense to disable this flag, but you can, if you want :)
16 # use_upstream_repo: true
18 ## Repo URL is built with grains values. If desired, it can be completely
19 ## overwritten with the pillar parameter 'repo_url'
21 # humanname: Arvados Official Repository
26 ## api, workbench and shell require some gems, so you need to make sure ruby
27 ## and deps are installed in order to install and compile the gems.
28 ## We default to `false` in these two variables as it's expected you already
29 ## manage OS packages with some other tool and you don't want us messing up
32 ## We set these to `true` here for testing purposes.
33 ## They both default to `false`.
35 manage_gems_deps: true
43 # - libcurl4-gnutls-dev
53 # file: /etc/arvados/config.yml
56 ## If you're intalling any of the rails apps (api, workbench), the group
57 ## should be set to that of the web server, usually `www-data`
62 name: arvados-dispatch-cloud
64 name: arvados-dispatch-cloud
66 ### ARVADOS CLUSTER CONFIG
72 # max concurrent connections per arvados server daemon
73 # connection_pool_max: 32
74 name: __CLUSTER___arvados
75 host: __DATABASE_INT_IP__
76 password: "__DATABASE_PASSWORD__"
77 user: __CLUSTER___arvados
84 # required to test with arvados-snakeoil certs
90 name: shell.__DOMAIN__
91 backend: __SHELL_INT_IP__
96 system_root: __SYSTEM_ROOT_TOKEN__
97 management: __MANAGEMENT_TOKEN__
98 anonymous_user: __ANONYMOUS_USER_TOKEN__
102 blob_signing_key: __BLOB_SIGNING_KEY__
103 workbench_secret_key: __WORKBENCH_SECRET_KEY__
110 Email: __INITIAL_USER_EMAIL__
111 Password: __INITIAL_USER_PASSWORD__
115 MaxConcurrentRequests: {{ max_workers * 2 }}
116 MaxQueuedRequests: {{ max_reqs }}
119 {%- set dispatcher_ssh_privkey = "__DISPATCHER_SSH_PRIVKEY__" %}
124 Name: __CLUSTER__-compute-node
125 BootProbeCommand: 'systemctl is-system-running'
126 ImageID: __COMPUTE_AMI__
129 Region: __COMPUTE_AWS_REGION__
131 AdminUsername: __COMPUTE_USER__
132 ### This SG should allow SSH from the dispatcher to the compute nodes
133 SecurityGroupIDs: ['__COMPUTE_SG__']
134 SubnetID: __COMPUTE_SUBNET__
135 IAMInstanceProfile: __CLUSTER__-compute-node-00-iam-role
136 DispatchPrivateKey: {{ dispatcher_ssh_privkey|yaml_dquote }}
139 ## This should usually match all your `keepstore` instances
141 # the volume name will be composed with
142 # <cluster>-nyw5e-<volume>
143 __CLUSTER__-nyw5e-000000000000000:
147 Bucket: __CLUSTER__-nyw5e-000000000000000-volume
148 IAMRole: __CLUSTER__-keepstore-00-iam-role
149 Region: __KEEP_AWS_REGION__
152 NewUsersAreActive: true
153 AutoAdminFirstUser: true
154 AutoSetupNewUsers: true
155 AutoSetupNewUsersWithRepository: true
159 ExternalURL: 'https://__DOMAIN__:__CONTROLLER_EXT_SSL_PORT__'
161 'http://localhost:8003': {}
164 'http://__DISPATCHER_INT_IP__:9006': {}
167 'http://__KEEPBALANCE_INT_IP__:9005': {}
169 ExternalURL: 'https://keep.__DOMAIN__:__KEEP_EXT_SSL_PORT__'
171 'http://localhost:25107': {}
174 'http://__KEEPSTORE0_INT_IP__:25107': {}
177 'http://localhost:8004': {}
179 ExternalURL: 'https://*.collections.__DOMAIN__:__KEEPWEB_EXT_SSL_PORT__/'
181 'http://__KEEPWEB_INT_IP__:9002': {}
183 ExternalURL: 'https://download.__DOMAIN__:__KEEPWEB_EXT_SSL_PORT__'
185 ExternalURL: 'https://webshell.__DOMAIN__:__KEEPWEB_EXT_SSL_PORT__'
187 ExternalURL: 'wss://ws.__DOMAIN__/websocket'
189 'http://localhost:8005': {}
191 ExternalURL: 'https://workbench.__DOMAIN__:__WORKBENCH1_EXT_SSL_PORT__'
193 ExternalURL: 'https://workbench2.__DOMAIN__:__WORKBENCH2_EXT_SSL_PORT__'
197 ProviderType: t3.small
203 ProviderType: c5.large
209 ProviderType: m5.large
215 ProviderType: c5.xlarge
221 ProviderType: m5.xlarge
227 ProviderType: m5.xlarge
233 ProviderType: c5.2xlarge
239 ProviderType: m5.2xlarge
245 ProviderType: c5.4xlarge
251 ProviderType: m5.4xlarge