@@ -13,30 +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 5min │ │ │
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- └───────────────┘
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 5min | | |
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+ +----------------+
4040```
4141
4242## Cost
0 commit comments