-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
621 lines (569 loc) · 29.5 KB
/
index.html
File metadata and controls
621 lines (569 loc) · 29.5 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
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Edge Compute KV Roadmap</title>
<style>
:root {
--telnyx-green: #00C26D;
--telnyx-dark: #1A1A2E;
--gray-100: #f7f7f8;
--gray-200: #e5e5e7;
--gray-600: #6b6b76;
--gray-800: #2d2d35;
--red: #e53935;
--yellow: #f9a825;
--green: #43a047;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
line-height: 1.6;
color: var(--gray-800);
max-width: 900px;
margin: 0 auto;
padding: 40px 20px;
background: #fff;
}
header {
border-bottom: 3px solid var(--telnyx-green);
padding-bottom: 20px;
margin-bottom: 40px;
}
h1 {
font-size: 2rem;
font-weight: 600;
color: var(--telnyx-dark);
}
.meta {
color: var(--gray-600);
font-size: 0.9rem;
margin-top: 8px;
}
h2 {
font-size: 1.25rem;
font-weight: 600;
color: var(--telnyx-dark);
margin-top: 40px;
margin-bottom: 16px;
padding-bottom: 8px;
border-bottom: 1px solid var(--gray-200);
}
h3 {
font-size: 1rem;
font-weight: 600;
color: var(--gray-800);
margin-top: 24px;
margin-bottom: 12px;
}
p {
margin-bottom: 16px;
}
.objective {
background: var(--gray-100);
padding: 20px;
border-radius: 8px;
border-left: 4px solid var(--telnyx-green);
}
table {
width: 100%;
border-collapse: collapse;
margin: 16px 0;
font-size: 0.95rem;
}
th, td {
padding: 12px;
text-align: left;
border-bottom: 1px solid var(--gray-200);
}
th {
background: var(--gray-100);
font-weight: 600;
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--gray-600);
}
.status {
display: inline-flex;
align-items: center;
gap: 6px;
font-weight: 500;
font-size: 0.85rem;
}
.status-done { color: var(--green); }
.status-blocked { color: var(--red); }
.status-pending { color: var(--gray-600); }
.status::before {
content: '';
width: 8px;
height: 8px;
border-radius: 50%;
}
.status-done::before { background: var(--green); }
.status-blocked::before { background: var(--red); }
.status-pending::before { background: var(--gray-600); }
.phase {
background: var(--gray-100);
padding: 20px;
border-radius: 8px;
margin-bottom: 16px;
}
.phase-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}
.phase-title {
font-weight: 600;
color: var(--telnyx-dark);
}
.phase-owner {
font-size: 0.85rem;
color: var(--gray-600);
background: white;
padding: 4px 10px;
border-radius: 4px;
}
.phase ul {
margin-left: 20px;
}
.phase li {
margin-bottom: 6px;
}
.next-actions {
background: #e8f5e9;
padding: 20px;
border-radius: 8px;
border-left: 4px solid var(--green);
}
.next-actions h3 {
margin-top: 0;
color: var(--green);
}
.next-actions ul {
margin-left: 20px;
}
.next-actions li {
margin-bottom: 8px;
}
.owner {
font-weight: 600;
}
.questions {
background: #fff3e0;
padding: 20px;
border-radius: 8px;
border-left: 4px solid #ff9800;
}
.questions h3 {
margin-top: 0;
color: #e65100;
}
.questions ol {
margin-left: 20px;
}
.questions li {
margin-bottom: 8px;
}
.dependencies {
margin-top: 8px;
font-size: 0.85rem;
color: var(--gray-600);
}
.dependencies strong {
color: var(--gray-800);
}
</style>
</head>
<body>
<header>
<h1>Edge Compute KV Roadmap</h1>
<div class="meta">
Last Updated: March 18, 2026 · Owner: Viktoriia Zakharova
</div>
</header>
<section>
<h2>Objective</h2>
<div class="objective">
<h3 style="margin-top: 0; margin-bottom: 16px;">End State</h3>
<ul style="margin-left: 20px;">
<li>User can create, list, and delete KV namespaces via API</li>
<li>User can put, get, delete, and list KV entries via API</li>
<li>User can bind a KV namespace to a function</li>
<li>Function can access KV via injected environment variables / SDK</li>
<li>KV works across all regions (writes to AT1, reads from local replicas)</li>
<li>Multi-tenant isolation via NATS accounts and JWT authentication</li>
<li>Usage is metered and billed</li>
<li>User can manage KV from Portal and CLI</li>
</ul>
</div>
</section>
<section>
<h2>End State Architecture</h2>
<div style="background: var(--gray-100); padding: 24px; border-radius: 8px; font-family: monospace; font-size: 13px; line-height: 1.4; overflow-x: auto;">
<pre style="margin: 0;">
┌─────────────────────────────────────────────────────────────────────────────────┐
│ USER LAYER │
├─────────────────────────────────────────────────────────────────────────────────┤
│ │
│ Portal ─────────── API ─────────── CLI │
│ │ │
└─────────────────────────┼────────────────────────────────────────────────────────┘
│
┌─────────────────────────┼────────────────────────────────────────────────────────┐
│ │ TELNYX INTERNAL │
├─────────────────────────┼────────────────────────────────────────────────────────┤
│ ▼ │
│ ┌─────────────────────────┐ │
│ │ ECG │ ◄── KV namespace CRUD │
│ │ (Edge Compute Gateway) │ ◄── KV entry CRUD │
│ │ │ ◄── Bindings management │
│ └───────────┬─────────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────────────┐ ┌─────────────────────────┐ │
│ │ VyOS Router │────▶│ Centralized Writers │ │
│ │ (WireGuard hub) │ │ ┌───────────────────┐ │ │
│ └───────────┬─────────────┘ │ │ NATS Hub │ │ │
│ │ │ │ + JWT Resolver │ │ │
│ │ │ │ + JetStream │ │ │
│ │ │ └───────────────────┘ │ │
│ │ │ (DO Droplet, AT1) │ │
│ │ └───────────┬─────────────┘ │
│ │ │ │
│ └───────────────────────────────┘ │
│ │ │
│ ┌─────────────┼─────────────┐ │
│ │ WireGuard │ Tunnels │ │
│ ▼ ▼ ▼ │
└─────────┬─────────────┬─────────────┬────────────────────────────────────────────┘
│ │ │
┌─────────┼─────────────┼─────────────┼────────────────────────────────────────────┐
│ │ │ │ EDGE COMPUTE CLUSTERS │
├─────────┼─────────────┼─────────────┼────────────────────────────────────────────┤
│ ▼ ▼ ▼ │
│ ┌───────────┐ ┌───────────┐ ┌───────────┐ │
│ │ ATL1 │ │ NYC3 │ │ LA │ (+ EU, Sydney later) │
│ │ ┌─────┐ │ │ ┌─────┐ │ │ ┌─────┐ │ │
│ │ │NATS │ │ │ │NATS │ │ │ │NATS │ │ ◄── Leaf nodes │
│ │ │Leaf │ │ │ │Leaf │ │ │ │Leaf │ │ ◄── Cached JWT resolver │
│ │ └──┬──┘ │ │ └──┬──┘ │ │ └──┬──┘ │ ◄── Read replicas │
│ │ │ │ │ │ │ │ │ │ │
│ │ ┌──┴──┐ │ │ ┌──┴──┐ │ │ ┌──┴──┐ │ │
│ │ │Func │ │ │ │Func │ │ │ │Func │ │ ◄── Functions read from local │
│ │ │ │ │ │ │ │ │ │ │ │ │ ◄── Functions write to hub │
│ │ └─────┘ │ │ └─────┘ │ │ └─────┘ │ │
│ └───────────┘ └───────────┘ └───────────┘ │
│ │
└──────────────────────────────────────────────────────────────────────────────────┘
DATA FLOW:
──────────
Write: Function → Local NATS Leaf → WireGuard → NATS Hub (AT1) → Replicate to leaves
Read: Function → Local NATS Leaf (fast, local)
</pre>
</div>
</section>
<section>
<h2>Release Plan</h2>
<div style="display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px;">
<div style="background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%); padding: 20px; border-radius: 8px; border-left: 4px solid #1976d2;">
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;">
<span style="font-weight: 600; color: #1976d2; font-size: 1.1rem;">🔧 Milestone 1: Internal Dev</span>
<span style="background: #1976d2; color: white; padding: 4px 12px; border-radius: 12px; font-size: 0.8rem;">In Progress</span>
</div>
<p style="margin: 0 0 12px 0; color: #0d47a1;">Infrastructure ready, KV working in dev environment for internal testing</p>
<ul style="margin: 0; padding-left: 20px; color: #1565c0;">
<li>VyOS hub-and-spoke connectivity ✓</li>
<li>NATS KV deployed on ATL1</li>
<li>Basic CRUD endpoints working (stubs)</li>
<li>Team can test end-to-end flow</li>
</ul>
</div>
<div style="background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%); padding: 20px; border-radius: 8px; border-left: 4px solid #f57c00;">
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;">
<span style="font-weight: 600; color: #e65100; font-size: 1.1rem;">🧪 Milestone 2: User-Facing Side Functional</span>
<span style="background: #9e9e9e; color: white; padding: 4px 12px; border-radius: 12px; font-size: 0.8rem;">Upcoming</span>
</div>
<p style="margin: 0 0 12px 0; color: #bf360c;">API, CLI, and bindings working — user can interact with KV through all interfaces</p>
<ul style="margin: 0; padding-left: 20px; color: #e65100;">
<li>Full CRUD API hooked to NATS backend</li>
<li>Cross-region replication working (ATL, NYC, LA)</li>
<li>Function bindings functional</li>
<li>CLI commands available</li>
<li>Basic docs for beta users</li>
</ul>
</div>
<div style="background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%); padding: 20px; border-radius: 8px; border-left: 4px solid #43a047;">
<div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px;">
<span style="font-weight: 600; color: #2e7d32; font-size: 1.1rem;">🚀 Milestone 3: General Availability</span>
<span style="background: #9e9e9e; color: white; padding: 4px 12px; border-radius: 12px; font-size: 0.8rem;">Upcoming</span>
</div>
<p style="margin: 0 0 12px 0; color: #1b5e20;">Full public release with billing and monitoring</p>
<ul style="margin: 0; padding-left: 20px; color: #2e7d32;">
<li>Billing integration (metering + TDA)</li>
<li>Production monitoring & alerting</li>
<li>Full documentation</li>
<li>Marketing announcement</li>
</ul>
</div>
</div>
</section>
<section>
<h2>Execution Plan</h2>
<p style="margin-bottom: 24px; color: var(--gray-600);">Tasks are numbered sequentially. Dependencies shown in parentheses. Status reflects current state.</p>
<table>
<thead>
<tr>
<th style="width: 50px;">#</th>
<th>Task</th>
<th>Owner</th>
<th>Depends On</th>
<th>Status</th>
<th>Jira</th>
</tr>
</thead>
<tbody>
<tr style="background: #e8f5e9;">
<td colspan="6" style="font-weight: 600; color: var(--green);">Phase 1: Infrastructure Foundation</td>
</tr>
<tr>
<td>1</td>
<td>Deploy block storage on all sites + Add storage class to K8s configs</td>
<td>Fausto</td>
<td>—</td>
<td><span class="status status-done">Complete</span></td>
<td><a href="https://telnyx.atlassian.net/browse/FILE-2054" target="_blank">FILE-2054</a></td>
</tr>
<tr>
<td>2</td>
<td>Stand up VyOS box on Digital Ocean</td>
<td>Ming</td>
<td>—</td>
<td><span class="status status-done">Complete</span></td>
<td><a href="https://telnyx.atlassian.net/browse/FILE-2075" target="_blank">FILE-2075</a></td>
</tr>
<tr>
<td>3</td>
<td>Establish VyOS spoke connectivity (custom image built, continuing)</td>
<td>Ming</td>
<td>#2</td>
<td><span class="status status-blocked">In progress</span></td>
<td><a href="https://telnyx.atlassian.net/browse/FILE-2075" target="_blank">FILE-2075</a></td>
</tr>
<tr>
<td>4</td>
<td>Configure WireGuard tunnels (VyOS ↔ EC clusters)</td>
<td>Ming</td>
<td>#3</td>
<td><span class="status status-blocked">In progress</span></td>
<td><a href="https://telnyx.atlassian.net/browse/FILE-2076" target="_blank">FILE-2076</a></td>
</tr>
<tr>
<td>5</td>
<td>Validate secure communication paths</td>
<td>Ming</td>
<td>#4</td>
<td><span class="status status-pending">Not started</span></td>
<td></td>
</tr>
<tr style="background: #e3f2fd;">
<td colspan="6" style="font-weight: 600; color: #1976d2;">Phase 2: NATS Infrastructure</td>
</tr>
<tr>
<td>6</td>
<td>Deploy NATS hub on DO droplet (via VyOS) + Configure JetStream</td>
<td>Ming</td>
<td>#5</td>
<td><span class="status status-pending">Not started</span></td>
<td><a href="https://telnyx.atlassian.net/browse/FILE-2085" target="_blank">FILE-2085</a></td>
</tr>
<tr>
<td>7</td>
<td>Implement JWT resolver (full) on hub</td>
<td>Ming</td>
<td>#6</td>
<td><span class="status status-pending">Not started</span></td>
<td><a href="https://telnyx.atlassian.net/browse/FILE-2086" target="_blank">FILE-2086</a></td>
</tr>
<tr>
<td>8</td>
<td>Deploy NATS leaf nodes on EC clusters (ATL, NYC, LA)</td>
<td>Ming</td>
<td>#6, #1</td>
<td><span class="status status-pending">Not started</span></td>
<td><a href="https://telnyx.atlassian.net/browse/FILE-2087" target="_blank">FILE-2087</a></td>
</tr>
<tr>
<td>9</td>
<td>Implement cached JWT resolver on leaves</td>
<td>Ming</td>
<td>#8</td>
<td><span class="status status-pending">Not started</span></td>
<td><a href="https://telnyx.atlassian.net/browse/FILE-2088" target="_blank">FILE-2088</a></td>
</tr>
<tr>
<td>10</td>
<td>Configure replication (AT1 writer → replicas)</td>
<td>Ming</td>
<td>#8</td>
<td><span class="status status-pending">Not started</span></td>
<td><a href="https://telnyx.atlassian.net/browse/FILE-2052" target="_blank">FILE-2052</a></td>
</tr>
<tr>
<td>11</td>
<td>Test cross-region write/read</td>
<td>Ming</td>
<td>#10</td>
<td><span class="status status-pending">Not started</span></td>
<td></td>
</tr>
<tr style="background: #fff3e0;">
<td colspan="6" style="font-weight: 600; color: #e65100;">Phase 3: ECG Integration</td>
</tr>
<tr>
<td>12</td>
<td>Integration contract from Ming to Alex (URLs, creds, provisioning flow)</td>
<td>Ming</td>
<td>#11</td>
<td><span class="status status-pending">Not started</span></td>
<td><em>Reminder when Alex ready</em></td>
</tr>
<tr>
<td>13</td>
<td>Complete bindings table migration (part 2)</td>
<td>Alex</td>
<td>—</td>
<td><span class="status status-blocked">In progress</span></td>
<td><em>Ask Alex for updates</em></td>
</tr>
<tr>
<td>14</td>
<td>KV CRUD API (namespace + entry endpoints) — user-facing side</td>
<td>Alex</td>
<td>#13</td>
<td><span class="status status-blocked">In progress</span></td>
<td><a href="https://telnyx.atlassian.net/browse/FILE-2081" target="_blank">FILE-2081</a></td>
</tr>
<tr>
<td>15</td>
<td>KV CRUD CLI interface</td>
<td>Alex</td>
<td>#14</td>
<td><span class="status status-pending">Not started</span></td>
<td><a href="https://telnyx.atlassian.net/browse/FILE-2084" target="_blank">FILE-2084</a></td>
</tr>
<tr>
<td>16</td>
<td>Customer provisioning flow (ECG creates NATS account + bucket)</td>
<td>Alex</td>
<td>#12, #14</td>
<td><span class="status status-pending">Not started</span></td>
<td><a href="https://telnyx.atlassian.net/browse/FILE-2049" target="_blank">FILE-2049</a></td>
</tr>
<tr style="background: #f3e5f5;">
<td colspan="6" style="font-weight: 600; color: #7b1fa2;">Phase 4: Bindings & User Experience</td>
</tr>
<tr>
<td>17</td>
<td>KV bindings — connect function to namespace</td>
<td>Alex</td>
<td>#16</td>
<td><span class="status status-pending">Not started</span></td>
<td><a href="https://telnyx.atlassian.net/browse/FILE-2043" target="_blank">FILE-2043</a></td>
</tr>
<tr>
<td>18</td>
<td>Environment variable injection for SDK access</td>
<td>Alex</td>
<td>#17</td>
<td><span class="status status-pending">Not started</span></td>
<td><a href="https://telnyx.atlassian.net/browse/FILE-2043" target="_blank">FILE-2043</a></td>
</tr>
<tr style="background: #fce4ec;">
<td colspan="6" style="font-weight: 600; color: #c2185b;">Phase 5: Billing & GA</td>
</tr>
<tr>
<td>19</td>
<td>Prometheus metrics (reads, writes, storage)</td>
<td>Ming</td>
<td>#11</td>
<td><span class="status status-pending">Not started</span></td>
<td></td>
</tr>
<tr>
<td>20</td>
<td>Meter reader integration</td>
<td>Alex</td>
<td>#19</td>
<td><span class="status status-pending">Not started</span></td>
<td></td>
</tr>
<tr>
<td>21</td>
<td>TDA billing hookup</td>
<td>Alex</td>
<td>#20</td>
<td><span class="status status-pending">Not started</span></td>
<td></td>
</tr>
<tr>
<td>22</td>
<td>Documentation</td>
<td>Vika</td>
<td>#18, #15</td>
<td><span class="status status-pending">Not started</span></td>
<td></td>
</tr>
</tbody>
</table>
</section>
<section>
<h2>Progress Summary</h2>
<div style="display: flex; gap: 20px; flex-wrap: wrap;">
<div style="background: #e8f5e9; padding: 16px 24px; border-radius: 8px; text-align: center;">
<div style="font-size: 2rem; font-weight: 600; color: var(--green);">2</div>
<div style="font-size: 0.85rem; color: var(--gray-600);">Complete</div>
</div>
<div style="background: #fff3e0; padding: 16px 24px; border-radius: 8px; text-align: center;">
<div style="font-size: 2rem; font-weight: 600; color: #e65100;">4</div>
<div style="font-size: 0.85rem; color: var(--gray-600);">In Progress</div>
</div>
<div style="background: var(--gray-100); padding: 16px 24px; border-radius: 8px; text-align: center;">
<div style="font-size: 2rem; font-weight: 600; color: var(--gray-600);">16</div>
<div style="font-size: 0.85rem; color: var(--gray-600);">Not Started</div>
</div>
</div>
</section>
<section>
<h2>Immediate Actions</h2>
<div class="next-actions">
<h3>This Week (Mar 17–21)</h3>
<ul>
<li><span class="owner">Ming:</span> Continue VyOS hub work (custom image built, unblocked)</li>
<li><span class="owner">Ming + Nikita:</span> Sync on VyOS/WireGuard — Nikita needs EC connect access</li>
<li><span class="owner">Nikita:</span> Fix WireGuard tunnel to K8s cluster (issues in thread)</li>
<li><span class="owner">Fausto:</span> Edge network understanding + NS1 work</li>
<li><span class="owner">Alex:</span> Continue KV CRUD (user-facing) + bindings table migration</li>
</ul>
</div>
</section>
<section>
<h2>Open Questions</h2>
<div class="questions">
<h3>Needs Resolution</h3>
<ol>
<li>Nikita needs EC connect access to access edge boxes — thread ongoing</li>
<li>WireGuard tunnel to K8s cluster not working — Nikita investigating</li>
<li>Ming had to build custom VyOS image (couldn't find build instructions) — now unblocked</li>
</ol>
</div>
</section>
</body>
</html>