-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdta-aws-cloud-config.yml
155 lines (115 loc) · 3.67 KB
/
dta-aws-cloud-config.yml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
---
# Update Network name, persistent volumes and instance types for basic prometheus deployment
# Deploy to the Support Network in AWS
- type: replace
path: /instance_groups/name=alertmanager/networks/name=default/name?
value: Support
- type: replace
path: /instance_groups/name=prometheus2/networks/name=default/name?
value: Support
- type: replace
path: /instance_groups/name=database/networks/name=default/name?
value: Support
- type: replace
path: /instance_groups/name=grafana/networks/name=default/name?
value: Support
- type: replace
path: /instance_groups/name=nginx/networks/name=default/name?
value: Support
- type: replace
path: /instance_groups/name=d-cld/networks/name=default/name?
value: Support
- type: replace
path: /instance_groups/name=y-cld/networks/name=default/name?
value: Support
- type: replace
path: /instance_groups/name=b-cld/networks/name=default/name?
value: Support
# Update storage volume sizes for persistent services
# prometheus-boshrelease sets volume size using persistent_disk, so we remove
# these defaults and then set using persistent_disk_type to match our cloud-config.
- type: remove
path: /instance_groups/name=alertmanager/persistent_disk?
- type: remove
path: /instance_groups/name=prometheus2/persistent_disk?
- type: remove
path: /instance_groups/name=database/persistent_disk?
- type: remove
path: /instance_groups/name=grafana/persistent_disk?
- type: remove
path: /instance_groups/name=d-cld/persistent_disk?
- type: remove
path: /instance_groups/name=y-cld/persistent_disk?
- type: remove
path: /instance_groups/name=b-cld/persistent_disk?
- type: replace
path: /instance_groups/name=alertmanager/persistent_disk_type?
value: 10GB
- type: replace
path: /instance_groups/name=prometheus2/persistent_disk_type?
value: 30GB
- type: replace
path: /instance_groups/name=database/persistent_disk_type?
value: 10GB
- type: replace
path: /instance_groups/name=grafana/persistent_disk_type?
value: 10GB
- type: replace
path: /instance_groups/name=d-cld/persistent_disk_type?
value: 10GB
- type: replace
path: /instance_groups/name=y-cld/persistent_disk_type?
value: 10GB
- type: replace
path: /instance_groups/name=b-cld/persistent_disk_type?
value: 10GB
# add monitoring vm_extension to instances (for security groups)
- type: replace
path: /instance_groups/name=alertmanager/vm_extensions?/-
value: monitoring
- type: replace
path: /instance_groups/name=prometheus2/vm_extensions?/-
value: monitoring
- type: replace
path: /instance_groups/name=database/vm_extensions?/-
value: monitoring
- type: replace
path: /instance_groups/name=grafana/vm_extensions?/-
value: monitoring
- type: replace
path: /instance_groups/name=nginx/vm_extensions?/-
value: monitoring
- type: replace
path: /instance_groups/name=d-cld/vm_extensions?/-
value: monitoring
- type: replace
path: /instance_groups/name=y-cld/vm_extensions?/-
value: monitoring
- type: replace
path: /instance_groups/name=b-cld/vm_extensions?/-
value: monitoring
# deploy small instances
- type: replace
path: /instance_groups/name=alertmanager/vm_type?
value: small
- type: replace
path: /instance_groups/name=prometheus2/vm_type?
value: c4.large
- type: replace
path: /instance_groups/name=database/vm_type?
value: small
- type: replace
path: /instance_groups/name=grafana/vm_type?
value: small
- type: replace
path: /instance_groups/name=nginx/vm_type?
value: small
- type: replace
path: /instance_groups/name=d-cld/vm_type?
value: small
- type: replace
path: /instance_groups/name=y-cld/vm_type?
value: small
- type: replace
path: /instance_groups/name=b-cld/vm_type?
value: small