-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTI30.txt
More file actions
29 lines (28 loc) · 2.06 KB
/
TI30.txt
File metadata and controls
29 lines (28 loc) · 2.06 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
┌────────────────────────────┐
│ EventBridge │
│ (Scheduled Trigger @ 9AM) │
└─────────────┬──────────────┘
│
▼
┌────────────────────────────┐
│ ECS Fargate Task │
│ (Upstox Node.js Container) │
│----------------------------│
│ • Connects to Upstox WS API│
│ • Streams selected stocks │
│ • Pushes to MongoDB │
│ • Exits after 30 minutes │
└──────┬──────────┬──────────┘
│ │
┌────────────────┘ └────────────────┐
▼ ▼
┌───────────────────────┐ ┌────────────────────┐
│ AWS Secrets Manager │ │ Amazon CloudWatch │
│ (Upstox token, DB URI)│ │ Logs & Monitoring │
└───────────────────────┘ └────────────────────┘
│
▼
┌───────────────────────┐
│ MongoDB Atlas DB │
│(Data stored for 30min)│
└───────────────────────┘