Repository navigation
Expand file tree
/
Copy patheks-platform-reference.drawio
More file actions
546 lines (546 loc) · 64.1 KB
/
Copy patheks-platform-reference.drawio
File metadata and controls
546 lines (546 loc) · 64.1 KB
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
<mxfile host="Electron" version="31.4.5">
<diagram id="aws-topology" name="AWS topology">
<mxGraphModel dx="2380" dy="1340" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="2380" pageHeight="1340" math="0" shadow="0" adaptiveColors="auto">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="title" value="EKS platform reference" style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=30;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="40" y="25" width="1590" height="45" />
</mxCell>
<mxCell id="subtitle" value="One environment per workspace · public Grafana, private nodes · logical tiers across availability zones" style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=16;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="40" y="75" width="1590" height="30" />
</mxCell>
<mxCell id="title-rule" value="" style="fontFamily=Helvetica;html=1;shape=line;strokeColor=#FF9900;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry as="geometry" x="40" y="115" width="1590" height="2" />
</mxCell>
<mxCell id="aws-cloud" value="AWS account" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.group;grIcon=mxgraph.aws4.group_aws_cloud;container=1;pointerEvents=0;collapsible=0;recursiveResize=0;fillColor=light-dark(#232F3E0D,#232F3E0D);fillStyle=auto;strokeColor=#232F3E;fontColor=#232F3E;fontSize=14;fontStyle=1;whiteSpace=wrap;verticalAlign=top;align=left;spacingLeft=32;spacingTop=6;dashed=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="250" y="150" width="1390" height="1150" />
</mxCell>
<mxCell id="region-caption" value="Configured AWS region · logical subnet tiers" style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=16;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="900" y="370" width="690" height="28" />
</mxCell>
<mxCell id="vpc" value="VPC · public/private subnet pair in each availability zone" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.group;grIcon=mxgraph.aws4.group_vpc2;container=1;pointerEvents=0;collapsible=0;recursiveResize=0;fillColor=light-dark(#8C4FFF0D,#8C4FFF0D);fillStyle=auto;strokeColor=#8C4FFF;fontColor=#8C4FFF;fontSize=14;fontStyle=1;whiteSpace=wrap;verticalAlign=top;align=left;spacingLeft=32;spacingTop=6;dashed=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="330" y="410" width="990" height="810" />
</mxCell>
<mxCell id="public" value="Public subnets · load balancer and outbound NAT" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.group;grIcon=mxgraph.aws4.group_public_subnet;container=1;pointerEvents=0;collapsible=0;recursiveResize=0;fillColor=light-dark(#2488140D,#2488140D);fillStyle=auto;strokeColor=#248814;fontColor=#248814;fontSize=14;fontStyle=1;whiteSpace=wrap;verticalAlign=top;align=left;spacingLeft=32;spacingTop=6;dashed=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="360" y="450" width="920" height="220" />
</mxCell>
<mxCell id="private" value="Private subnets · managed node group spans all configured zones" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.group;grIcon=mxgraph.aws4.group_private_subnet;container=1;pointerEvents=0;collapsible=0;recursiveResize=0;fillColor=light-dark(#147EBA0D,#147EBA0D);fillStyle=auto;strokeColor=#147EBA;fontColor=#147EBA;fontSize=14;fontStyle=1;whiteSpace=wrap;verticalAlign=top;align=left;spacingLeft=32;spacingTop=6;dashed=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="360" y="790" width="920" height="390" />
</mxCell>
<mxCell id="browser" value="Internet clients" style="fontFamily=Helvetica;html=1;rounded=1;whiteSpace=wrap;fillColor=light-dark(#F5F5F5,#243140);fillStyle=auto;strokeColor=light-dark(#666666,#D4D4D4);container=1;collapsible=0;verticalAlign=top;spacingTop=8;fontSize=12;fontStyle=1;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="1">
<mxGeometry as="geometry" x="40" y="210" width="130" height="120" />
</mxCell>
<mxCell id="browser-icon" value="" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.users;fillColor=#545B64;strokeColor=#FFFFFF;aspect=fixed;" vertex="1" parent="browser">
<mxGeometry as="geometry" x="41" y="35" width="48" height="48" />
</mxCell>
<mxCell id="internet" value="Internet / AWS APIs" style="fontFamily=Helvetica;html=1;rounded=1;whiteSpace=wrap;fillColor=light-dark(#F5F5F5,#243140);fillStyle=auto;strokeColor=light-dark(#666666,#D4D4D4);container=1;collapsible=0;verticalAlign=top;spacingTop=8;fontSize=12;fontStyle=1;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="1">
<mxGeometry as="geometry" x="40" y="650" width="130" height="120" />
</mxCell>
<mxCell id="internet-icon" value="" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.internet;fillColor=#545B64;strokeColor=#FFFFFF;aspect=fixed;" vertex="1" parent="internet">
<mxGeometry as="geometry" x="41" y="35" width="48" height="48" />
</mxCell>
<mxCell id="dns-card" value="DNS" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;container=1;collapsible=0;fillColor=light-dark(#EDE7F6,#202A36);fillStyle=auto;strokeColor=#8C4FFF;strokeWidth=1.3;verticalAlign=top;spacingTop=7;fontColor=#8C4FFF;fontSize=12;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="370" y="200" width="120" height="120" />
</mxCell>
<mxCell id="dns" value="Route 53<div><i>Existing hudson.tf zone</i></div>" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.route_53;fillColor=#8C4FFF;strokeColor=#FFFFFF;aspect=fixed;sketch=0;outlineConnect=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;fontSize=10;labelWidth=140;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="dns-card">
<mxGeometry as="geometry" x="36" y="30" width="48" height="48" />
</mxCell>
<mxCell id="acm-card" value="TLS" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;container=1;collapsible=0;fillColor=light-dark(#FFEBEE,#202A36);fillStyle=auto;strokeColor=#DD344C;strokeWidth=1.3;verticalAlign=top;spacingTop=7;fontColor=#DD344C;fontSize=12;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="670" y="200" width="120" height="120" />
</mxCell>
<mxCell id="acm" value="ACM<div><i>DNS-validated certificate</i></div>" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.certificate_manager_3;fillColor=#DD344C;strokeColor=#FFFFFF;aspect=fixed;sketch=0;outlineConnect=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;fontSize=10;labelWidth=140;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="acm-card">
<mxGeometry as="geometry" x="36" y="30" width="48" height="48" />
</mxCell>
<mxCell id="alb-card" value="Ingress" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;container=1;collapsible=0;fillColor=light-dark(#EDE7F6,#202A36);fillStyle=auto;strokeColor=#8C4FFF;strokeWidth=1.3;verticalAlign=top;spacingTop=7;fontColor=#8C4FFF;fontSize=12;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="640" y="500" width="120" height="120" />
</mxCell>
<mxCell id="alb" value="Application LB<div><i>TLS 443 → HTTP 80</i></div>" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.application_load_balancer;fillColor=#8C4FFF;strokeColor=#FFFFFF;aspect=fixed;sketch=0;outlineConnect=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;fontSize=10;labelWidth=140;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="alb-card">
<mxGeometry as="geometry" x="36" y="30" width="48" height="48" />
</mxCell>
<mxCell id="nat-card" value="Egress" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;container=1;collapsible=0;fillColor=light-dark(#EDE7F6,#202A36);fillStyle=auto;strokeColor=#8C4FFF;strokeWidth=1.3;verticalAlign=top;spacingTop=7;fontColor=#8C4FFF;fontSize=12;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1080" y="500" width="120" height="120" />
</mxCell>
<mxCell id="nat" value="NAT gateway(s)<div><i>Elastic IP per gateway</i></div>" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.nat_gateway;fillColor=#8C4FFF;strokeColor=#FFFFFF;aspect=fixed;sketch=0;outlineConnect=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;fontSize=10;labelWidth=140;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="nat-card">
<mxGeometry as="geometry" x="36" y="30" width="48" height="48" />
</mxCell>
<mxCell id="eks-card" value="Control plane" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;container=1;collapsible=0;fillColor=light-dark(#FFF2E8,#202A36);fillStyle=auto;strokeColor=#ED7100;strokeWidth=1.3;verticalAlign=top;spacingTop=7;fontColor=#ED7100;fontSize=12;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1430" y="440" width="120" height="120" />
</mxCell>
<mxCell id="eks" value="Amazon EKS<div><i>AWS-managed Kubernetes</i></div>" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.eks;fillColor=#ED7100;strokeColor=#FFFFFF;aspect=fixed;sketch=0;outlineConnect=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;fontSize=10;labelWidth=140;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="eks-card">
<mxGeometry as="geometry" x="36" y="30" width="48" height="48" />
</mxCell>
<mxCell id="nodes-card" value="Compute" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;container=1;collapsible=0;fillColor=light-dark(#FFF2E8,#202A36);fillStyle=auto;strokeColor=#ED7100;strokeWidth=1.3;verticalAlign=top;spacingTop=7;fontColor=#ED7100;fontSize=12;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="410" y="840" width="120" height="120" />
</mxCell>
<mxCell id="nodes" value="Managed nodes<div><i>Private IPs · on-demand</i></div>" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.ec2;fillColor=#ED7100;strokeColor=#FFFFFF;aspect=fixed;sketch=0;outlineConnect=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;fontSize=10;labelWidth=140;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="nodes-card">
<mxGeometry as="geometry" x="36" y="30" width="48" height="48" />
</mxCell>
<mxCell id="grafana-card" value="Dashboard" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;container=1;collapsible=0;fillColor=light-dark(#FCE4EC,#202A36);fillStyle=auto;strokeColor=#E7157B;strokeWidth=1.3;verticalAlign=top;spacingTop=7;fontColor=#E7157B;fontSize=12;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="680" y="840" width="120" height="120" />
</mxCell>
<mxCell id="grafana" value="Grafana<div><i>Password login</i></div>" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.generic_application;fillColor=#E7157B;strokeColor=#FFFFFF;aspect=fixed;sketch=0;outlineConnect=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;fontSize=10;labelWidth=140;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="grafana-card">
<mxGeometry as="geometry" x="36" y="30" width="48" height="48" />
</mxCell>
<mxCell id="prometheus-card" value="Metrics" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;container=1;collapsible=0;fillColor=light-dark(#FCE4EC,#202A36);fillStyle=auto;strokeColor=#E7157B;strokeWidth=1.3;verticalAlign=top;spacingTop=7;fontColor=#E7157B;fontSize=12;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1010" y="840" width="120" height="120" />
</mxCell>
<mxCell id="prometheus" value="Prometheus<div><i>Internal ClusterIP only</i></div>" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.generic_application;fillColor=#E7157B;strokeColor=#FFFFFF;aspect=fixed;sketch=0;outlineConnect=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;fontSize=10;labelWidth=140;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="prometheus-card">
<mxGeometry as="geometry" x="36" y="30" width="48" height="48" />
</mxCell>
<mxCell id="ebs-card" value="Storage" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;container=1;collapsible=0;fillColor=light-dark(#E8F5E9,#202A36);fillStyle=auto;strokeColor=#3F8624;strokeWidth=1.3;verticalAlign=top;spacingTop=7;fontColor=#3F8624;fontSize=12;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="680" y="1040" width="120" height="120" />
</mxCell>
<mxCell id="ebs" value="Amazon EBS<div><i>Two encrypted gp3 PVCs</i></div>" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.elastic_block_store;fillColor=#3F8624;strokeColor=#FFFFFF;aspect=fixed;sketch=0;outlineConnect=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;fontSize=10;labelWidth=140;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="ebs-card">
<mxGeometry as="geometry" x="36" y="30" width="48" height="48" />
</mxCell>
<mxCell id="auxiliary" value="Control-plane logs" style="fontFamily=Helvetica;html=1;rounded=0;fillColor=none;strokeColor=#E7157B;dashed=1;verticalAlign=top;align=left;spacingLeft=15;spacingTop=10;fontSize=14;fontStyle=1;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="1">
<mxGeometry as="geometry" x="1210" y="180" width="350" height="160" />
</mxCell>
<mxCell id="cloudwatch-card" value="Logs" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;container=1;collapsible=0;fillColor=light-dark(#FCE4EC,#202A36);fillStyle=auto;strokeColor=#E7157B;strokeWidth=1.3;verticalAlign=top;spacingTop=7;fontColor=#E7157B;fontSize=12;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1410" y="210" width="120" height="120" />
</mxCell>
<mxCell id="cloudwatch" value="CloudWatch<div><i>Retention set in tfvars</i></div>" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.cloudwatch_2;fillColor=#E7157B;strokeColor=#FFFFFF;aspect=fixed;sketch=0;outlineConnect=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;fontSize=10;labelWidth=140;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="cloudwatch-card">
<mxGeometry as="geometry" x="36" y="30" width="48" height="48" />
</mxCell>
<mxCell id="irsa-note" value="<b>IRSA</b><br>Separate CNI, EBS CSI and<br>Load Balancer Controller roles" style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=14;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="980" y="1050" width="280" height="100" />
</mxCell>
<mxCell id="controller-note" value="Load Balancer Controller<br>reconciles Ingress → ALB" style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=13;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="395" y="1050" width="230" height="80" />
</mxCell>
<mxCell id="zone-note" value="Dev: 2 zones · 2 nodes · 1 shared NAT &nbsp; | &nbsp; Prod: 3 zones · 3 nodes · NAT per zone" style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=16;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="360" y="1235" width="1200" height="30" />
</mxCell>
<mxCell id="dns-lookup" source="browser" target="dns" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#507080;exitX=1;exitY=0.4;entryX=0;entryY=0.5;">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="dns-lookup-label" value="DNS lookup" vertex="1" connectable="0" parent="dns-lookup" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0" y="-14" relative="1" />
</mxCell>
<mxCell id="dns-alias" source="dns" target="alb" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#507080;exitX=1;exitY=0.5;entryX=0;entryY=0.25;">
<mxGeometry as="geometry" relative="1">
<Array as="points">
<mxPoint x="540" y="254" />
<mxPoint x="540" y="350" />
<mxPoint x="600" y="350" />
<mxPoint x="600" y="542" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="dns-alias-label" value="Alias → ALB" vertex="1" connectable="0" parent="dns-alias" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0" y="-14" relative="1" />
</mxCell>
<mxCell id="https" source="browser" target="alb" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#007CBD;exitX=1;exitY=0.9;entryX=0;entryY=0.7;">
<mxGeometry as="geometry" relative="1">
<Array as="points">
<mxPoint x="210" y="380" />
<mxPoint x="620" y="380" />
<mxPoint x="620" y="564" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="https-label" value="HTTPS 443" vertex="1" connectable="0" parent="https" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0.35" y="-14" relative="1" />
</mxCell>
<mxCell id="tls-cert" source="acm" target="alb" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#DD344C;exitX=1;exitY=0.5;entryX=1;entryY=0.25;">
<mxGeometry as="geometry" relative="1">
<Array as="points">
<mxPoint x="850" y="254" />
<mxPoint x="850" y="420" />
<mxPoint x="790" y="420" />
<mxPoint x="790" y="542" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="tls-cert-label" value="Certificate" vertex="1" connectable="0" parent="tls-cert" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0.5" y="18" relative="1" />
</mxCell>
<mxCell id="grafana-traffic" source="alb" target="grafana" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#007CBD;exitX=1;exitY=0.75;entryX=1;entryY=0.75;">
<mxGeometry as="geometry" relative="1">
<Array as="points">
<mxPoint x="820" y="566" />
<mxPoint x="820" y="906" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="grafana-traffic-label" value="HTTP 80" vertex="1" connectable="0" parent="grafana-traffic" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0" y="-14" relative="1" />
</mxCell>
<mxCell id="promql" source="grafana" target="prometheus" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#E7157B;exitX=1;exitY=0.4;entryX=0;entryY=0.4;">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="promql-label" value="PromQL" vertex="1" connectable="0" parent="promql" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0" y="-14" relative="1" />
</mxCell>
<mxCell id="scrape" source="prometheus" target="nodes" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#E7157B;exitX=0;exitY=0.7;entryX=1;entryY=0.75;">
<mxGeometry as="geometry" relative="1">
<Array as="points">
<mxPoint x="970" y="904" />
<mxPoint x="970" y="1000" />
<mxPoint x="570" y="1000" />
<mxPoint x="570" y="906" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="scrape-label" value="Cluster metrics" vertex="1" connectable="0" parent="scrape" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0.4" y="-14" relative="1" />
</mxCell>
<mxCell id="grafana-volume" source="grafana" target="ebs" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#3F8624;exitX=0;exitY=0.8;entryX=0;entryY=0.5;">
<mxGeometry as="geometry" relative="1">
<Array as="points">
<mxPoint x="650" y="908" />
<mxPoint x="650" y="1094" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="grafana-volume-label" value="PVC" vertex="1" connectable="0" parent="grafana-volume" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0" y="-14" relative="1" />
</mxCell>
<mxCell id="prometheus-volume" source="prometheus" target="ebs" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#3F8624;exitX=1;exitY=0.7;entryX=1;entryY=0.4;">
<mxGeometry as="geometry" relative="1">
<Array as="points">
<mxPoint x="1150" y="1020" />
<mxPoint x="850" y="1020" />
<mxPoint x="850" y="1090" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="prometheus-volume-label" value="PVC" vertex="1" connectable="0" parent="prometheus-volume" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0.3" y="-14" relative="1" />
</mxCell>
<mxCell id="node-egress" source="nodes" target="nat" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#507080;exitX=0;exitY=0.7;entryX=1;entryY=0.5;">
<mxGeometry as="geometry" relative="1">
<Array as="points">
<mxPoint x="390" y="880" />
<mxPoint x="390" y="740" />
<mxPoint x="1350" y="740" />
<mxPoint x="1350" y="560" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="node-egress-label" value="Outbound only" vertex="1" connectable="0" parent="node-egress" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0.05" y="-14" relative="1" />
</mxCell>
<mxCell id="nat-internet" source="nat" target="internet" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#507080;exitX=0;exitY=0.5;entryX=1;entryY=0.45;">
<mxGeometry as="geometry" relative="1">
<Array as="points">
<mxPoint x="1020" y="554" />
<mxPoint x="1020" y="705" />
<mxPoint x="210" y="705" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="nat-internet-label" value="Via internet gateway" vertex="1" connectable="0" parent="nat-internet" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0.2" y="-14" relative="1" />
</mxCell>
<mxCell id="control-plane" source="eks" target="nodes" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#ED7100;exitX=0;exitY=0.5;entryX=1;entryY=0.5;startArrow=block;startFill=1;">
<mxGeometry as="geometry" relative="1">
<Array as="points">
<mxPoint x="1390" y="494" />
<mxPoint x="1390" y="770" />
<mxPoint x="570" y="770" />
<mxPoint x="570" y="894" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="control-plane-label" value="Kubernetes API / node registration" vertex="1" connectable="0" parent="control-plane" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0.05" y="16" relative="1" />
</mxCell>
<mxCell id="step-1" value="1" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontStyle=1;fontSize=16;align=center;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry as="geometry" x="200" y="205" width="28" height="28" />
</mxCell>
<mxCell id="step-2" value="2" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontStyle=1;fontSize=16;align=center;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry as="geometry" x="205" y="335" width="28" height="28" />
</mxCell>
<mxCell id="step-3" value="3" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontStyle=1;fontSize=16;align=center;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry as="geometry" x="730" y="650" width="28" height="28" />
</mxCell>
<mxCell id="step-4" value="4" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontStyle=1;fontSize=16;align=center;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry as="geometry" x="805" y="835" width="28" height="28" />
</mxCell>
<mxCell id="step-5" value="5" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontStyle=1;fontSize=16;align=center;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry as="geometry" x="760" y="1000" width="28" height="28" />
</mxCell>
<mxCell id="step-6" value="6" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontStyle=1;fontSize=16;align=center;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1210" y="690" width="28" height="28" />
</mxCell>
<mxCell id="step-7" value="7" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontStyle=1;fontSize=16;align=center;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1510" y="625" width="28" height="28" />
</mxCell>
<mxCell id="legend" value="" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=2;fillColor=light-dark(#EDF3FF,#20394A);fillStyle=auto;strokeColor=#A4B9D5;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1690" y="25" width="650" height="1275" />
</mxCell>
<mxCell id="legend-title" value="How to read this page" style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=22;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1720" y="55" width="580" height="35" />
</mxCell>
<mxCell id="legend-1-badge" value="1" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontSize=22;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1720" y="120" width="40" height="38" />
</mxCell>
<mxCell id="legend-1-text" value="<b>Resolve Grafana</b><br>The existing hudson.tf zone gets Grafana alias records and ACM validation records. Terraform does not create the hosted zone." style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=15;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1775" y="120" width="525" height="100" />
</mxCell>
<mxCell id="legend-2-badge" value="2" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontSize=22;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1720" y="240" width="40" height="38" />
</mxCell>
<mxCell id="legend-2-text" value="<b>Terminate public TLS</b><br>Internet clients reach the ALB on HTTPS. HTTP redirects to HTTPS; ACM supplies the certificate." style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=15;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1775" y="240" width="525" height="100" />
</mxCell>
<mxCell id="legend-3-badge" value="3" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontSize=22;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1720" y="360" width="40" height="38" />
</mxCell>
<mxCell id="legend-3-text" value="<b>Forward only Grafana</b><br>The controller creates the ALB from Ingress. IP targets forward HTTP to Grafana pods in private subnets." style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=15;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1775" y="360" width="525" height="100" />
</mxCell>
<mxCell id="legend-4-badge" value="4" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontSize=22;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1720" y="480" width="40" height="38" />
</mxCell>
<mxCell id="legend-4-text" value="<b>Query internal metrics</b><br>Grafana queries Prometheus. Prometheus scrapes cluster metrics and has no public ingress." style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=15;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1775" y="480" width="525" height="100" />
</mxCell>
<mxCell id="legend-5-badge" value="5" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontSize=22;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1720" y="600" width="40" height="38" />
</mxCell>
<mxCell id="legend-5-text" value="<b>Persist monitoring data</b><br>Grafana and Prometheus each have a zonal, encrypted gp3 volume. Monitoring is not replicated." style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=15;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1775" y="600" width="525" height="100" />
</mxCell>
<mxCell id="legend-6-badge" value="6" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontSize=22;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1720" y="720" width="40" height="38" />
</mxCell>
<mxCell id="legend-6-text" value="<b>Reach images and APIs</b><br>Private nodes use NAT and the VPC internet gateway. Dev shares one NAT; prod has one per zone." style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=15;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1775" y="720" width="525" height="100" />
</mxCell>
<mxCell id="legend-7-badge" value="7" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontSize=22;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1720" y="840" width="40" height="38" />
</mxCell>
<mxCell id="legend-7-text" value="<b>Run managed Kubernetes</b><br>EKS manages the control plane; one managed node group spans private subnets. API access uses configured public CIDRs and a private endpoint." style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=15;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1775" y="840" width="525" height="100" />
</mxCell>
<mxCell id="legend-notes" value="<b>Additional details</b><br>Control-plane logs go to CloudWatch. CNI, EBS CSI and the ALB controller use separate IRSA roles.<br><br>One logical deployment is shown. Dev and prod have separate states and VPCs in the same account.<br><br><b>Page 2</b><br>Deployment roles, Terraform root order and S3 state paths." style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=15;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1720" y="980" width="580" height="285" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="deployment-state" name="Deployment and state">
<mxGraphModel dx="2310" dy="1280" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="2310" pageHeight="1280" math="0" shadow="0" adaptiveColors="auto">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="title" value="Deployment and state" style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=30;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="40" y="25" width="1550" height="45" />
</mxCell>
<mxCell id="subtitle" value="GitHub OIDC · selected Terraform workspace · platform before monitoring" style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=16;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="40" y="75" width="1550" height="30" />
</mxCell>
<mxCell id="title-rule" value="" style="fontFamily=Helvetica;html=1;shape=line;strokeColor=#FF9900;strokeWidth=2;" vertex="1" parent="1">
<mxGeometry as="geometry" x="40" y="115" width="1550" height="2" />
</mxCell>
<mxCell id="github" value="GitHub Actions" style="fontFamily=Helvetica;html=1;rounded=1;whiteSpace=wrap;fillColor=light-dark(#F5F5F5,#243140);fillStyle=auto;strokeColor=light-dark(#666666,#D4D4D4);container=1;collapsible=0;verticalAlign=top;spacingTop=8;fontSize=12;fontStyle=1;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="1">
<mxGeometry as="geometry" x="40" y="200" width="130" height="120" />
</mxCell>
<mxCell id="github-icon" value="" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.internet;fillColor=#545B64;strokeColor=#FFFFFF;aspect=fixed;" vertex="1" parent="github">
<mxGeometry as="geometry" x="41" y="35" width="48" height="48" />
</mxCell>
<mxCell id="aws-cloud" value="AWS account · bootstrap owns the OIDC provider, roles and state bucket" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.group;grIcon=mxgraph.aws4.group_aws_cloud;container=1;pointerEvents=0;collapsible=0;recursiveResize=0;fillColor=light-dark(#232F3E0D,#232F3E0D);fillStyle=auto;strokeColor=#232F3E;fontColor=#232F3E;fontSize=14;fontStyle=1;whiteSpace=wrap;verticalAlign=top;align=left;spacingLeft=32;spacingTop=6;dashed=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="260" y="150" width="1310" height="1090" />
</mxCell>
<mxCell id="oidc-card" value="Federation" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;container=1;collapsible=0;fillColor=light-dark(#FFEBEE,#202A36);fillStyle=auto;strokeColor=#DD344C;strokeWidth=1.3;verticalAlign=top;spacingTop=7;fontColor=#DD344C;fontSize=12;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="340" y="210" width="120" height="120" />
</mxCell>
<mxCell id="oidc" value="GitHub OIDC<div><i>sts.amazonaws.com</i></div>" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.identity_and_access_management;fillColor=#DD344C;strokeColor=#FFFFFF;aspect=fixed;sketch=0;outlineConnect=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;fontSize=10;labelWidth=140;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="oidc-card">
<mxGeometry as="geometry" x="36" y="30" width="48" height="48" />
</mxCell>
<mxCell id="plan-role" value="<b>Plan IAM role</b><br>dev-plan / prod-plan<br>Read-only AWS + state" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;whiteSpace=wrap;fillColor=light-dark(#EDF3FF,#20394A);fillStyle=auto;strokeColor=#DD344C;strokeWidth=1.5;align=center;verticalAlign=middle;fontSize=14;spacing=12;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="1">
<mxGeometry as="geometry" x="620" y="200" width="240" height="100" />
</mxCell>
<mxCell id="apply-role" value="<b>Apply IAM role</b><br>dev / prod<br>Manual run on main" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;whiteSpace=wrap;fillColor=light-dark(#EDF3FF,#20394A);fillStyle=auto;strokeColor=#DD344C;strokeWidth=1.5;align=center;verticalAlign=middle;fontSize=14;spacing=12;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="1">
<mxGeometry as="geometry" x="1010" y="200" width="240" height="100" />
</mxCell>
<mxCell id="platform" value="<b>Platform root</b><br>environments/<br>Network, EKS and IRSA" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;whiteSpace=wrap;fillColor=light-dark(#EDF3FF,#20394A);fillStyle=auto;strokeColor=#007CBD;strokeWidth=1.5;align=center;verticalAlign=middle;fontSize=14;spacing=12;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="1">
<mxGeometry as="geometry" x="620" y="460" width="240" height="110" />
</mxCell>
<mxCell id="monitoring" value="<b>Monitoring root</b><br>environments/observability/<br>Helm, ingress, ACM and DNS" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;whiteSpace=wrap;fillColor=light-dark(#EDF3FF,#20394A);fillStyle=auto;strokeColor=#007CBD;strokeWidth=1.5;align=center;verticalAlign=middle;fontSize=14;spacing=12;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="1">
<mxGeometry as="geometry" x="1010" y="460" width="280" height="110" />
</mxCell>
<mxCell id="state-card" value="Remote state" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;container=1;collapsible=0;fillColor=light-dark(#E8F5E9,#202A36);fillStyle=auto;strokeColor=#3F8624;strokeWidth=1.3;verticalAlign=top;spacingTop=7;fontColor=#3F8624;fontSize=12;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="340" y="730" width="120" height="120" />
</mxCell>
<mxCell id="state" value="Amazon S3<div><i>Versioning + native lockfiles</i></div>" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.s3;fillColor=#3F8624;strokeColor=#FFFFFF;aspect=fixed;sketch=0;outlineConnect=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;fontSize=10;labelWidth=140;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="state-card">
<mxGeometry as="geometry" x="36" y="30" width="48" height="48" />
</mxCell>
<mxCell id="state-platform" value="<b>Platform workspace state</b><br>environments/dev/platform.tfstate<br>environments/prod/platform.tfstate" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;whiteSpace=wrap;fillColor=light-dark(#EDF3FF,#20394A);fillStyle=auto;strokeColor=#3F8624;strokeWidth=1.5;align=center;verticalAlign=middle;fontSize=14;spacing=12;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="1">
<mxGeometry as="geometry" x="610" y="710" width="310" height="110" />
</mxCell>
<mxCell id="state-monitoring" value="<b>Monitoring workspace state</b><br>environments/dev/observability.tfstate<br>environments/prod/observability.tfstate" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;whiteSpace=wrap;fillColor=light-dark(#EDF3FF,#20394A);fillStyle=auto;strokeColor=#3F8624;strokeWidth=1.5;align=center;verticalAlign=middle;fontSize=14;spacing=12;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="1">
<mxGeometry as="geometry" x="1030" y="710" width="370" height="110" />
</mxCell>
<mxCell id="deployed-card" value="Infrastructure" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;container=1;collapsible=0;fillColor=light-dark(#FFF2E8,#202A36);fillStyle=auto;strokeColor=#ED7100;strokeWidth=1.3;verticalAlign=top;spacingTop=7;fontColor=#ED7100;fontSize=12;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="640" y="1000" width="120" height="120" />
</mxCell>
<mxCell id="deployed" value="EKS + VPC<div><i>AWS API resources</i></div>" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.eks;fillColor=#ED7100;strokeColor=#FFFFFF;aspect=fixed;sketch=0;outlineConnect=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;fontSize=10;labelWidth=140;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="deployed-card">
<mxGeometry as="geometry" x="36" y="30" width="48" height="48" />
</mxCell>
<mxCell id="releases-card" value="Releases" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=8;container=1;collapsible=0;fillColor=light-dark(#FFF2E8,#202A36);fillStyle=auto;strokeColor=#ED7100;strokeWidth=1.3;verticalAlign=top;spacingTop=7;fontColor=#ED7100;fontSize=12;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1070" y="1000" width="120" height="120" />
</mxCell>
<mxCell id="releases" value="Helm / Kubernetes<div><i>Monitoring on existing EKS</i></div>" style="fontFamily=Helvetica;html=1;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.container_1;fillColor=#ED7100;strokeColor=#FFFFFF;aspect=fixed;sketch=0;outlineConnect=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;fontSize=10;labelWidth=140;fontColor=light-dark(#172B3A,#F2F5F7);" vertex="1" parent="releases-card">
<mxGeometry as="geometry" x="36" y="30" width="48" height="48" />
</mxCell>
<mxCell id="tfvars-note" value="<b>Settings</b> &nbsp; terraform.tfvars maps select dev/prod by terraform.workspace. No -var-file." style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=16;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="610" y="880" width="800" height="60" />
</mxCell>
<mxCell id="bootstrap-note" value="Bootstrap state is separate: bootstrap/terraform.tfstate.<br>Environment roles cannot read it. No DynamoDB table." style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=15;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="300" y="1150" width="1050" height="55" />
</mxCell>
<mxCell id="federate" source="github" target="oidc" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#507080;exitX=1;exitY=0.5;entryX=0;entryY=0.5;">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="federate-label" value="OIDC token" vertex="1" connectable="0" parent="federate" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0" y="-14" relative="1" />
</mxCell>
<mxCell id="assume-plan" source="oidc" target="plan-role" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#DD344C;exitX=1;exitY=0.3;entryX=0;entryY=0.5;">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="assume-plan-label" value="Exact environment subject" vertex="1" connectable="0" parent="assume-plan" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0" y="-14" relative="1" />
</mxCell>
<mxCell id="assume-apply" source="oidc" target="apply-role" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#DD344C;exitX=0.5;exitY=1;entryX=0.5;entryY=1;">
<mxGeometry as="geometry" relative="1">
<Array as="points">
<mxPoint x="490" y="365" />
<mxPoint x="1130" y="365" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="readonly-plan" source="plan-role" target="platform" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#007CBD;exitX=0.5;exitY=1;entryX=0.5;entryY=0;">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="readonly-plan-label" value="Plan only · no lock writes" vertex="1" connectable="0" parent="readonly-plan" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0" y="-14" relative="1" />
</mxCell>
<mxCell id="manual-apply" source="apply-role" target="platform" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#DD344C;exitX=1;exitY=0.5;entryX=0.75;entryY=0;">
<mxGeometry as="geometry" relative="1">
<Array as="points">
<mxPoint x="1330" y="250" />
<mxPoint x="1330" y="410" />
<mxPoint x="795" y="410" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="manual-apply-label" value="Plan + apply" vertex="1" connectable="0" parent="manual-apply" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0.1" y="-14" relative="1" />
</mxCell>
<mxCell id="deploy-order" source="platform" target="monitoring" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#007CBD;exitX=1;exitY=0.5;entryX=0;entryY=0.5;">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="deploy-order-label" value="Then, once EKS is ACTIVE" vertex="1" connectable="0" parent="deploy-order" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0" y="-14" relative="1" />
</mxCell>
<mxCell id="platform-state" source="platform" target="state-platform" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#3F8624;exitX=0.3;exitY=1;entryX=0.5;entryY=0;">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="platform-state-label" value="Read/write via selected role" vertex="1" connectable="0" parent="platform-state" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0" y="18" relative="1" />
</mxCell>
<mxCell id="monitoring-state" source="monitoring" target="state-monitoring" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#3F8624;exitX=0.7;exitY=1;entryX=0.5;entryY=0;">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="monitoring-state-label" value="Separate state" vertex="1" connectable="0" parent="monitoring-state" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0" y="-14" relative="1" />
</mxCell>
<mxCell id="bucket-platform" source="state" target="state-platform" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#3F8624;exitX=1;exitY=0.3;entryX=0;entryY=0.5;">
<mxGeometry as="geometry" relative="1" />
</mxCell>
<mxCell id="bucket-platform-label" value="Objects in one bucket" vertex="1" connectable="0" parent="bucket-platform" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0" y="-14" relative="1" />
</mxCell>
<mxCell id="bucket-monitoring" source="state" target="state-monitoring" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#3F8624;exitX=1;exitY=0.8;entryX=1;entryY=0.5;">
<mxGeometry as="geometry" relative="1">
<Array as="points">
<mxPoint x="500" y="850" />
<mxPoint x="1450" y="850" />
<mxPoint x="1450" y="765" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="platform-aws" source="platform" target="deployed" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#ED7100;exitX=0;exitY=0.5;entryX=0;entryY=0.5;">
<mxGeometry as="geometry" relative="1">
<Array as="points">
<mxPoint x="560" y="515" />
<mxPoint x="560" y="1055" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="platform-aws-label" value="AWS provider" vertex="1" connectable="0" parent="platform-aws" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0" y="-14" relative="1" />
</mxCell>
<mxCell id="monitoring-eks" source="monitoring" target="releases" edge="1" parent="1" style="fontFamily=Helvetica;html=1;edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;endArrow=block;endFill=1;strokeWidth=1.6;strokeColor=#ED7100;exitX=1;exitY=0.5;entryX=1;entryY=0.5;">
<mxGeometry as="geometry" relative="1">
<Array as="points">
<mxPoint x="1490" y="515" />
<mxPoint x="1490" y="1055" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="monitoring-eks-label" value="Helm / Kubernetes providers" vertex="1" connectable="0" parent="monitoring-eks" style="fontFamily=Helvetica;html=1;edgeLabel;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=11;labelBackgroundColor=none;fontColor=light-dark(#172B3A,#F2F5F7);">
<mxGeometry as="geometry" x="0.25" y="-14" relative="1" />
</mxCell>
<mxCell id="step-1" value="1" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontStyle=1;fontSize=16;align=center;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry as="geometry" x="200" y="195" width="28" height="28" />
</mxCell>
<mxCell id="step-2" value="2" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontStyle=1;fontSize=16;align=center;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry as="geometry" x="540" y="200" width="28" height="28" />
</mxCell>
<mxCell id="step-3" value="3" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontStyle=1;fontSize=16;align=center;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry as="geometry" x="875" y="450" width="28" height="28" />
</mxCell>
<mxCell id="step-4" value="4" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontStyle=1;fontSize=16;align=center;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry as="geometry" x="875" y="620" width="28" height="28" />
</mxCell>
<mxCell id="step-5" value="5" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontStyle=1;fontSize=16;align=center;verticalAlign=middle;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1430" y="930" width="28" height="28" />
</mxCell>
<mxCell id="legend" value="" style="fontFamily=Helvetica;html=1;rounded=1;arcSize=2;fillColor=light-dark(#EDF3FF,#20394A);fillStyle=auto;strokeColor=#A4B9D5;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1620" y="25" width="650" height="1215" />
</mxCell>
<mxCell id="legend-title" value="How to read this page" style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=22;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1650" y="55" width="580" height="35" />
</mxCell>
<mxCell id="legend-1-badge" value="1" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontSize=22;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1650" y="120" width="40" height="38" />
</mxCell>
<mxCell id="legend-1-text" value="<b>Run checks first</b><br>Every PR and main push validates and runs offline tests. Fork PRs receive no AWS session. Merging does not apply." style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=15;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1705" y="120" width="525" height="100" />
</mxCell>
<mxCell id="legend-2-badge" value="2" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontSize=22;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1650" y="240" width="40" height="38" />
</mxCell>
<mxCell id="legend-2-text" value="<b>Exchange an OIDC token</b><br>Approved same-repository PR plans use dev-plan/prod-plan. Manual applies use dev/prod, with environment protection." style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=15;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1705" y="240" width="525" height="100" />
</mxCell>
<mxCell id="legend-3-badge" value="3" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontSize=22;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1650" y="360" width="40" height="38" />
</mxCell>
<mxCell id="legend-3-text" value="<b>Deploy in dependency order</b><br>The selected workspace plans the platform before monitoring. A manual apply creates EKS first. A missing cluster defers the read-only monitoring plan." style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=15;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1705" y="360" width="525" height="100" />
</mxCell>
<mxCell id="legend-4-badge" value="4" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontSize=22;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1650" y="480" width="40" height="38" />
</mxCell>
<mxCell id="legend-4-text" value="<b>Keep states separate</b><br>Each workspace has separate platform and monitoring objects in a shared S3 bucket. Applies use native .tflock objects; read-only plans are unlocked." style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=15;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1705" y="480" width="525" height="100" />
</mxCell>
<mxCell id="legend-5-badge" value="5" style="fontFamily=Helvetica;html=1;rounded=1;fillColor=light-dark(#007CBD,#007CBD);fillStyle=auto;strokeColor=default;strokeWidth=2;fontColor=#FFFFFF;fontSize=22;fontStyle=1;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1650" y="600" width="40" height="38" />
</mxCell>
<mxCell id="legend-5-text" value="<b>Connect after EKS exists</b><br>The monitoring root discovers EKS through AWS and authenticates with aws eks get-token. It does not read the platform state." style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=15;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1705" y="600" width="525" height="100" />
</mxCell>
<mxCell id="legend-notes" value="<b>Plan feedback</b><br>One PR comment per environment is updated with counts, status, commit and workflow link. Raw plan values are not published.<br><br><b>Cleanup reverses the order</b><br>Destroy monitoring while controllers can remove the ALB and volumes, then destroy the platform and run the AWS audit.<br><br><b>Scope</b><br>IAM apply roles are privileged. Workspaces separate state; they do not isolate AWS accounts." style="fontFamily=Helvetica;html=1;text;whiteSpace=wrap;align=left;verticalAlign=top;spacing=0;strokeColor=none;fillColor=none;fontColor=light-dark(#172B3A,#F2F5F7);fontSize=15;fontStyle=0;" vertex="1" parent="1">
<mxGeometry as="geometry" x="1650" y="740" width="580" height="465" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>