-
Notifications
You must be signed in to change notification settings - Fork 6
/
config.aws.sh-template
58 lines (44 loc) · 1.83 KB
/
config.aws.sh-template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/env bash
# Cloud
export TF_VAR_cluster_prefix="your-cluster-prefix"
export TF_VAR_aws_access_key_id="your-acces-key-id"
export TF_VAR_aws_secret_access_key="your-secret-access-key"
export TF_VAR_aws_region="eu-west-1" # Some region
export TF_VAR_availability_zone="eu-west-1a" # Some availability zone
# Master configuration
# obs: too small instance-type might cause diffuse errors on your installation
# https://aws.amazon.com/ec2/instance-types/
export TF_VAR_master_as_edge="true"
export TF_VAR_master_instance_type="t2.medium"
# Node configuration
export TF_VAR_node_count="2"
export TF_VAR_node_instance_type="t2.medium"
# Gluster configuration
export TF_VAR_glusternode_count="1" # 1 - 3 depending on preferred replication factor
export TF_VAR_glusternode_instance_type="t2.medium"
export TF_VAR_glusternode_extra_disk_size="100" # Size in GB
# Edge configuration (optional)
# export TF_VAR_edge_count="2"
# export TF_VAR_edge_instance_type="t2.medium"
# Cloudflare configuration (optional)
# export TF_VAR_use_cloudflare="true"
# export TF_VAR_cloudflare_email="your-cloudflare-email"
# export TF_VAR_cloudflare_token="your-cloudflare-token"
# export TF_VAR_cloudflare_domain="your-domain-name"
# Storage configuration
export TF_VAR_phenomenal_pvc_size="90Gi"
# Galaxy
export TF_VAR_galaxy_admin_email="[email protected]"
export TF_VAR_galaxy_admin_password="password"
# export TF_VAR_galaxy_chart_version="0.3.2"
# export TF_VAR_galaxy_image_tag=":rc_v17.05-pheno_cv1.1.93"
# Jupyter
export TF_VAR_jupyter_password="password"
# export TF_VAR_jupyter_resource_req_cpu="200m"
# export TF_VAR_jupyter_resource_req_memory="1G"
# Luigi
# export TF_VAR_luigi_resource_req_cpu="200m"
# export TF_VAR_luigi_resource_req_memory="1G"
# Kubernetes dashboard
export TF_VAR_dashboard_username="admin"
export TF_VAR_dashboard_password="password"