-
Notifications
You must be signed in to change notification settings - Fork 0
/
Architecture.drawio
163 lines (163 loc) · 17.9 KB
/
Architecture.drawio
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
<mxfile host="app.diagrams.net" modified="2022-02-16T12:44:10.155Z" agent="5.0 (Windows)" etag="5l-zlY8ZBge9UsfZrpCU" version="16.5.2" type="github">
<diagram id="XCLce30jDVELi2v0sUmn" name="Page-1">
<mxGraphModel dx="2204" dy="1949" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="qu5kURPprMAC1T6judIJ-1" value="" style="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#232F3D;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;shape=mxgraph.aws4.user;" parent="1" vertex="1">
<mxGeometry x="-190" y="-440" width="78" height="78" as="geometry" />
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-8" value="AWS Cloud" style="points=[[0,0],[0.25,0],[0.5,0],[0.75,0],[1,0],[1,0.25],[1,0.5],[1,0.75],[1,1],[0.75,1],[0.5,1],[0.25,1],[0,1],[0,0.75],[0,0.5],[0,0.25]];outlineConnect=0;gradientColor=none;html=1;whiteSpace=wrap;fontSize=12;fontStyle=0;container=1;pointerEvents=0;collapsible=0;recursiveResize=0;shape=mxgraph.aws4.group;grIcon=mxgraph.aws4.group_aws_cloud;strokeColor=#232F3E;fillColor=none;verticalAlign=top;align=left;spacingLeft=30;fontColor=#232F3E;dashed=0;" parent="1" vertex="1">
<mxGeometry x="180" y="-681" width="818" height="560" as="geometry" />
</mxCell>
<mxCell id="S-61TPWKiPV3TIi4Ry_e-20" value="Target Group 2" style="fillColor=none;strokeColor=#5A6C86;dashed=1;verticalAlign=top;fontStyle=1;fontColor=#5A6C86;rounded=0;sketch=0;" parent="qu5kURPprMAC1T6judIJ-8" vertex="1">
<mxGeometry x="180" y="332.5" width="240" height="139" as="geometry" />
</mxCell>
<mxCell id="S-61TPWKiPV3TIi4Ry_e-1" value="Target Group 1" style="fillColor=none;strokeColor=#5A6C86;dashed=1;verticalAlign=top;fontStyle=1;fontColor=#5A6C86;rounded=0;sketch=0;" parent="qu5kURPprMAC1T6judIJ-8" vertex="1">
<mxGeometry x="180" y="171" width="240" height="139" as="geometry" />
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-3" value="" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda;" parent="qu5kURPprMAC1T6judIJ-8" vertex="1">
<mxGeometry x="221" y="51.5" width="59" height="59" as="geometry" />
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-15" value="Application Load Balancer" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=default;strokeColor=none;rounded=0;sketch=0;fontStyle=1" parent="qu5kURPprMAC1T6judIJ-8" vertex="1">
<mxGeometry x="-80" y="321" width="160" height="20" as="geometry" />
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-17" value="" style="endArrow=classic;html=1;rounded=1;sketch=0;curved=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;startArrow=none;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" parent="qu5kURPprMAC1T6judIJ-8" source="S-61TPWKiPV3TIi4Ry_e-1" target="qu5kURPprMAC1T6judIJ-21" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="40" y="281" as="sourcePoint" />
<mxPoint x="160" y="211" as="targetPoint" />
<Array as="points" />
</mxGeometry>
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-4" value="" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.fargate;" parent="qu5kURPprMAC1T6judIJ-8" vertex="1">
<mxGeometry x="219" y="371" width="61" height="61" as="geometry" />
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-21" value="" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.fargate;" parent="qu5kURPprMAC1T6judIJ-8" vertex="1">
<mxGeometry x="220" y="211" width="59" height="59" as="geometry" />
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-26" value="<div align="left">- Create Fargate</div><div align="left">- Create Target Group</div><div align="left">- Add Fargate to Target Group<br></div><div align="left">- Create Load Balancer rule</div><div align="left">- Return ID to user<br></div>" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=default;strokeColor=none;rounded=0;sketch=0;" parent="qu5kURPprMAC1T6judIJ-8" vertex="1">
<mxGeometry x="280" y="40.5" width="180" height="80" as="geometry" />
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-27" value="Fargate 1" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=default;strokeColor=none;rounded=0;sketch=0;fontStyle=1" parent="qu5kURPprMAC1T6judIJ-8" vertex="1">
<mxGeometry x="214.5" y="280" width="70" height="20" as="geometry" />
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-28" value="Fargate 2" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=default;strokeColor=none;rounded=0;sketch=0;fontStyle=1" parent="qu5kURPprMAC1T6judIJ-8" vertex="1">
<mxGeometry x="214.5" y="441" width="70" height="20" as="geometry" />
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-33" value="" style="shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image=https://upload.wikimedia.org/wikipedia/commons/thumb/3/3c/Flask_logo.svg/1200px-Flask_logo.svg.png;" parent="qu5kURPprMAC1T6judIJ-8" vertex="1">
<mxGeometry x="320" y="211" width="81.57" height="32" as="geometry" />
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-34" value="" style="shape=image;verticalLabelPosition=bottom;labelBackgroundColor=default;verticalAlign=top;aspect=fixed;imageAspect=0;image=https://upload.wikimedia.org/wikipedia/commons/thumb/3/3c/Flask_logo.svg/1200px-Flask_logo.svg.png;" parent="qu5kURPprMAC1T6judIJ-8" vertex="1">
<mxGeometry x="320" y="371" width="81.57" height="32" as="geometry" />
</mxCell>
<mxCell id="S-61TPWKiPV3TIi4Ry_e-23" value="" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.lambda;" parent="qu5kURPprMAC1T6judIJ-8" vertex="1">
<mxGeometry x="580" y="50.5" width="60" height="60" as="geometry" />
</mxCell>
<mxCell id="S-61TPWKiPV3TIi4Ry_e-25" value="<div align="left">- Delete Load Balancer Rule</div><div align="left">- Delete Target Group<br></div>" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=default;strokeColor=none;rounded=0;sketch=0;" parent="qu5kURPprMAC1T6judIJ-8" vertex="1">
<mxGeometry x="640" y="50.5" width="170" height="30" as="geometry" />
</mxCell>
<mxCell id="S-61TPWKiPV3TIi4Ry_e-28" value="" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#FF4F8B;gradientDirection=north;fillColor=#BC1356;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.eventbridge;rounded=0;" parent="qu5kURPprMAC1T6judIJ-8" vertex="1">
<mxGeometry x="581" y="280" width="58" height="58" as="geometry" />
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-25" value="Lambda : LaunchTask" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=default;strokeColor=none;rounded=0;sketch=0;fontStyle=1" parent="qu5kURPprMAC1T6judIJ-8" vertex="1">
<mxGeometry x="180.5" y="120.5" width="140" height="20" as="geometry" />
</mxCell>
<mxCell id="S-61TPWKiPV3TIi4Ry_e-30" value="EventBridge" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=default;strokeColor=none;rounded=0;sketch=0;fontStyle=1" parent="qu5kURPprMAC1T6judIJ-8" vertex="1">
<mxGeometry x="570" y="341" width="80" height="20" as="geometry" />
</mxCell>
<mxCell id="S-61TPWKiPV3TIi4Ry_e-47" value="" style="endArrow=classic;html=1;rounded=1;sketch=0;curved=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.25;entryDx=0;entryDy=0;entryPerimeter=0;" parent="qu5kURPprMAC1T6judIJ-8" source="S-61TPWKiPV3TIi4Ry_e-1" target="S-61TPWKiPV3TIi4Ry_e-28" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="530" y="201" as="sourcePoint" />
<mxPoint x="630" y="201" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="S-61TPWKiPV3TIi4Ry_e-48" value="<u><b>Event :</b></u> Fargate stopping" style="edgeLabel;resizable=0;html=1;align=center;verticalAlign=middle;rounded=0;sketch=0;fillColor=none;gradientColor=#ffffff;" parent="S-61TPWKiPV3TIi4Ry_e-47" connectable="0" vertex="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-5" y="-8" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="S-61TPWKiPV3TIi4Ry_e-44" value="" style="endArrow=classic;html=1;rounded=1;sketch=0;curved=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.75;entryDx=0;entryDy=0;entryPerimeter=0;" parent="qu5kURPprMAC1T6judIJ-8" source="S-61TPWKiPV3TIi4Ry_e-20" target="S-61TPWKiPV3TIi4Ry_e-28" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="540" y="421" as="sourcePoint" />
<mxPoint x="640" y="421" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="S-61TPWKiPV3TIi4Ry_e-45" value="<u><b>Event :</b></u> Fargate stopping" style="edgeLabel;resizable=0;html=1;align=center;verticalAlign=middle;rounded=0;sketch=0;fillColor=none;gradientColor=#ffffff;" parent="S-61TPWKiPV3TIi4Ry_e-44" connectable="0" vertex="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-5" y="8" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="S-61TPWKiPV3TIi4Ry_e-49" value="" style="endArrow=classic;html=1;rounded=1;sketch=0;curved=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;entryPerimeter=0;exitPerimeter=0;" parent="qu5kURPprMAC1T6judIJ-8" source="S-61TPWKiPV3TIi4Ry_e-28" target="S-61TPWKiPV3TIi4Ry_e-23" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="581" y="181" as="sourcePoint" />
<mxPoint x="742" y="235" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="S-61TPWKiPV3TIi4Ry_e-50" value="<div><u><b>EventBridge Rule :</b></u><br></div><div>Call KillTask Lambda</div>" style="edgeLabel;resizable=0;html=1;align=center;verticalAlign=middle;rounded=0;sketch=0;fillColor=none;gradientColor=#ffffff;" parent="S-61TPWKiPV3TIi4Ry_e-49" connectable="0" vertex="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="-5" y="-8" as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="S-61TPWKiPV3TIi4Ry_e-24" value="Lambda : KillTask" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=default;strokeColor=none;rounded=0;sketch=0;fontStyle=1" parent="qu5kURPprMAC1T6judIJ-8" vertex="1">
<mxGeometry x="555" y="120.5" width="110" height="20" as="geometry" />
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-2" value="" style="sketch=0;outlineConnect=0;gradientColor=none;fontColor=#545B64;strokeColor=none;fillColor=#070708;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.illustration_devices;pointerEvents=1" parent="1" vertex="1">
<mxGeometry x="-112" y="-435" width="100" height="73" as="geometry" />
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-7" value="" style="sketch=0;points=[[0,0,0],[0.25,0,0],[0.5,0,0],[0.75,0,0],[1,0,0],[0,1,0],[0.25,1,0],[0.5,1,0],[0.75,1,0],[1,1,0],[0,0.25,0],[0,0.5,0],[0,0.75,0],[1,0.25,0],[1,0.5,0],[1,0.75,0]];outlineConnect=0;fontColor=#232F3E;gradientColor=#F78E04;gradientDirection=north;fillColor=#D05C17;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.elastic_load_balancing;" parent="1" vertex="1">
<mxGeometry x="150" y="-430" width="58" height="58" as="geometry" />
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-9" value="" style="edgeStyle=orthogonalEdgeStyle;html=1;endArrow=block;elbow=vertical;startArrow=none;endFill=1;strokeColor=#545B64;rounded=0;" parent="1" edge="1">
<mxGeometry width="100" relative="1" as="geometry">
<mxPoint x="20" y="-399" as="sourcePoint" />
<mxPoint x="110" y="-399" as="targetPoint" />
<Array as="points">
<mxPoint x="80" y="-399" />
<mxPoint x="80" y="-399" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-19" value="" style="endArrow=classic;html=1;rounded=1;sketch=0;curved=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="qu5kURPprMAC1T6judIJ-7" target="qu5kURPprMAC1T6judIJ-4" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="230" y="-330" as="sourcePoint" />
<mxPoint x="360" y="-285" as="targetPoint" />
<Array as="points">
<mxPoint x="280" y="-370" />
<mxPoint x="360" y="-279" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-20" value="<b><u>ALB Rule :</u></b> /ID_2" style="edgeLabel;resizable=0;html=1;align=center;verticalAlign=middle;rounded=0;sketch=0;" parent="qu5kURPprMAC1T6judIJ-19" connectable="0" vertex="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-13" value="" style="endArrow=classic;html=1;rounded=1;sketch=0;curved=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="qu5kURPprMAC1T6judIJ-7" target="qu5kURPprMAC1T6judIJ-3" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="220" y="-440" as="sourcePoint" />
<mxPoint x="320" y="-530" as="targetPoint" />
<Array as="points">
<mxPoint x="290" y="-540" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-14" value="<u><b>ALB Rule :</b></u> /tools/createbackend" style="edgeLabel;resizable=0;html=1;align=center;verticalAlign=middle;rounded=0;sketch=0;" parent="qu5kURPprMAC1T6judIJ-13" connectable="0" vertex="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="qu5kURPprMAC1T6judIJ-36" value="User" style="text;html=1;resizable=0;autosize=1;align=center;verticalAlign=middle;points=[];fillColor=default;strokeColor=none;rounded=0;sketch=0;fontStyle=1" parent="1" vertex="1">
<mxGeometry x="-120" y="-350" width="40" height="20" as="geometry" />
</mxCell>
<mxCell id="S-61TPWKiPV3TIi4Ry_e-3" value="" style="endArrow=none;html=1;rounded=1;sketch=0;curved=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;" parent="1" source="qu5kURPprMAC1T6judIJ-7" target="S-61TPWKiPV3TIi4Ry_e-1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="400" y="-1081" as="sourcePoint" />
<mxPoint x="876" y="-1082" as="targetPoint" />
<Array as="points" />
</mxGeometry>
</mxCell>
<mxCell id="S-61TPWKiPV3TIi4Ry_e-4" value="<div><u><b>ALB Rule :</b></u> /ID_1</div>" style="edgeLabel;resizable=0;html=1;align=center;verticalAlign=middle;rounded=0;sketch=0;" parent="S-61TPWKiPV3TIi4Ry_e-3" connectable="0" vertex="1">
<mxGeometry relative="1" as="geometry">
<mxPoint y="-1" as="offset" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>