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 %}
9 {%- set max_tunnels = ("__CONTROLLER_MAX_GATEWAY_TUNNELS__" or 1000)|int %}
10 {%- set database_host = ("__DATABASE_EXTERNAL_SERVICE_HOST_OR_IP__" or "__DATABASE_INT_IP__") %}
11 {%- set database_name = "__DATABASE_NAME__" %}
12 {%- set database_user = "__DATABASE_USER__" %}
13 {%- set database_password = "__DATABASE_PASSWORD__" %}
15 # The variables commented out are the default values that the formula uses.
16 # The uncommented values are REQUIRED values. If you don't set them, running
17 # this formula will fail.
20 version: '__VERSION__'
21 ## It makes little sense to disable this flag, but you can, if you want :)
22 # use_upstream_repo: true
24 ## Repo URL is built with grains values. If desired, it can be completely
25 ## overwritten with the pillar parameter 'repo_url'
27 # humanname: Arvados Official Repository
32 ## api, workbench and shell require some gems, so you need to make sure ruby
33 ## and deps are installed in order to install and compile the gems.
34 ## We default to `false` in these two variables as it's expected you already
35 ## manage OS packages with some other tool and you don't want us messing up
38 ## We set these to `true` here for testing purposes.
39 ## They both default to `false`.
41 manage_gems_deps: true
48 # - libcurl4-gnutls-dev
58 check_command: /usr/bin/arvados-server config-check -strict=false -config
59 # file: /etc/arvados/config.yml
62 ## If you're intalling any of the rails apps (api, workbench), the group
63 ## should be set to that of the web server, usually `www-data`
68 name: arvados-dispatch-cloud
70 name: arvados-dispatch-cloud
72 ### ARVADOS CLUSTER CONFIG
78 # max concurrent connections per arvados server daemon
79 # connection_pool_max: 32
80 name: {{ database_name }}
81 host: {{ database_host }}
82 password: {{ database_password }}
83 user: {{ database_user }}
90 # required to test with arvados-snakeoil certs
96 name: shell.__DOMAIN__
97 backend: __SHELL_INT_IP__
102 system_root: __SYSTEM_ROOT_TOKEN__
103 management: __MANAGEMENT_TOKEN__
104 anonymous_user: __ANONYMOUS_USER_TOKEN__
108 blob_signing_key: __BLOB_SIGNING_KEY__
109 workbench_secret_key: "deprecated"
116 Email: __INITIAL_USER_EMAIL__
117 Password: __INITIAL_USER_PASSWORD__
121 MaxConcurrentRailsRequests: {{ max_workers * 2 }}
122 MaxConcurrentRequests: {{ max_reqs }}
123 MaxQueuedRequests: {{ max_reqs }}
124 MaxGatewayTunnels: {{ max_tunnels }}
127 {%- set dispatcher_ssh_privkey = "__DISPATCHER_SSH_PRIVKEY__" %}
132 Name: __CLUSTER__-compute-node
133 BootProbeCommand: 'systemctl is-system-running'
134 ImageID: __COMPUTE_AMI__
137 Region: __COMPUTE_AWS_REGION__
139 AdminUsername: __COMPUTE_USER__
140 ### This SG should allow SSH from the dispatcher to the compute nodes
141 SecurityGroupIDs: ['__COMPUTE_SG__']
142 SubnetID: __COMPUTE_SUBNET__
143 IAMInstanceProfile: __CLUSTER__-compute-node-00-iam-role
144 DispatchPrivateKey: {{ dispatcher_ssh_privkey|yaml_dquote }}
147 ## This should usually match all your `keepstore` instances
149 # the volume name will be composed with
150 # <cluster>-nyw5e-<volume>
151 __CLUSTER__-nyw5e-000000000000000:
155 Bucket: __KEEP_AWS_S3_BUCKET__
156 IAMRole: __KEEP_AWS_IAM_ROLE__
157 Region: __KEEP_AWS_REGION__
158 # IMPORTANT: The default value for PrefixLength is 0, and should not
159 # be changed once the volume is in use. For new installations it's
160 # recommended to set it to 3 for better performance.
161 # See: https://doc.arvados.org/install/configure-s3-object-storage.html
165 NewUsersAreActive: true
166 AutoAdminFirstUser: true
167 AutoSetupNewUsers: true
171 ExternalURL: 'https://__DOMAIN__:__CONTROLLER_EXT_SSL_PORT__'
173 'http://localhost:8003': {}
176 'http://__DISPATCHER_INT_IP__:9006': {}
179 'http://__KEEPBALANCE_INT_IP__:9005': {}
181 ExternalURL: 'https://keep.__DOMAIN__:__KEEP_EXT_SSL_PORT__'
183 'http://localhost:25107': {}
186 'http://__KEEPSTORE0_INT_IP__:25107': {}
189 'http://localhost:8004': {}
191 ExternalURL: 'https://*.collections.__DOMAIN__:__KEEPWEB_EXT_SSL_PORT__/'
193 'http://__KEEPWEB_INT_IP__:9002': {}
195 ExternalURL: 'https://download.__DOMAIN__:__KEEPWEB_EXT_SSL_PORT__'
197 ExternalURL: 'https://webshell.__DOMAIN__:__KEEPWEB_EXT_SSL_PORT__'
199 ExternalURL: 'wss://ws.__DOMAIN__/websocket'
201 'http://localhost:8005': {}
203 ExternalURL: 'https://workbench.__DOMAIN__:__WORKBENCH1_EXT_SSL_PORT__'
205 ExternalURL: 'https://workbench2.__DOMAIN__:__WORKBENCH2_EXT_SSL_PORT__'
209 ProviderType: t3.small
215 ProviderType: c5.large
221 ProviderType: m5.large
227 ProviderType: c5.xlarge
233 ProviderType: m5.xlarge
239 ProviderType: m5.xlarge
245 ProviderType: c5.2xlarge
251 ProviderType: m5.2xlarge
257 ProviderType: c5.4xlarge
263 ProviderType: m5.4xlarge