Skip to content

Commit c064cbb

Browse files
committed
docs: fix diagram border alignment
1 parent bf19afe commit c064cbb

1 file changed

Lines changed: 24 additions & 23 deletions

File tree

docs/refarch/aws-ecs-fargate-spot.md

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,30 @@ Deploy a single OpenAB bot on ECS Fargate Spot for ~$2.7/month with persistent a
1313
## Architecture
1414
1515
```
16-
┌─ AWS ─────────────────────────────────────────────────────────────────┐
17-
│ │
18-
│ ┌─ ECS Fargate Spot Task ─────────────────────────────────────────┐ │
19-
│ │ │ │
20-
│ │ ┌─────────────┐ ┌──────────────────┐ ┌──────────────┐ │ │
21-
│ │ │ s3-restore │→ │ openab │ │ s3-sync │ │ │
22-
│ │ │ (init) │ │ (main container) │ │ (sidecar) │ │ │
23-
│ │ │ pull auth │ │ kiro-cli acp │ │ push auth │ │ │
24-
│ │ │ from S3 │ │ Discord bot │ │ every 5 min │ │ │
25-
│ │ └─────────────┘ └──────────────────┘ └──────────────┘ │ │
26-
│ │ ↑ ↑ ↑ ↑ │ │
27-
│ │ └──────────────┴── /data volume ───────┘ │ │
28-
│ └────────────────────────────────────────────────────────────────┘ │
29-
│ ↕ ↕ │
30-
│ S3 Bucket Secrets Manager │
31-
│ (auth state) (bot token) │
32-
│ │
33-
└───────────────────────────────────────────────────────────────────────┘
34-
↕ ↕
35-
Discord API ┌─ GitHub ────────┐
36-
(bot gateway) │ Gist │
37-
│ (config.toml) │
38-
└─────────────────┘
16+
┌─ AWS ────────────────────────────────────────────────────────┐
17+
│ │
18+
│ ┌─ ECS Fargate Spot Task ────────────────────────────────┐ │
19+
│ │ │ │
20+
│ │ ┌────────────┐ ┌─────────────────┐ ┌─────────────┐ │ │
21+
│ │ │ s3-restore │→│ openab │ │ s3-sync │ │ │
22+
│ │ │ (init) │ │(main container) │ │ (sidecar) │ │ │
23+
│ │ │ pull auth │ │ kiro-cli acp │ │ push auth │ │ │
24+
│ │ │ from S3 │ │ Discord bot │ │ every 5 min │ │ │
25+
│ │ └────────────┘ └─────────────────┘ └─────────────┘ │ │
26+
│ │ ↑ ↑ ↑ ↑ │ │
27+
│ │ └─────────────┴─ /data volume ──────┘ │ │
28+
│ └────────────────────────────────────────────────────────┘ │
29+
│ │
30+
│ ↕ ↕ │
31+
│ S3 Bucket Secrets Manager │
32+
│ (auth state) (bot token) │
33+
│ │
34+
└──────────────────────────────────────────────────────────────┘
35+
↕ ↕
36+
Discord API ┌─ GitHub ───────┐
37+
(bot gateway) │ Gist │
38+
│ (config.toml) │
39+
└────────────────┘
3940
```
4041
4142
## Cost

0 commit comments

Comments
 (0)