Skip to content

Instantly share code, notes, and snippets.

@AtmegaBuzz
Last active September 24, 2026 00:10
Show Gist options
  • Select an option

  • Save AtmegaBuzz/0ce876d0198289befa079e92ecc431d8 to your computer and use it in GitHub Desktop.

Select an option

Save AtmegaBuzz/0ce876d0198289befa079e92ecc431d8 to your computer and use it in GitHub Desktop.
AWS_Cost_Audit_Report

AWS Infrastructure & Server Audit Report

Account ID: 211125780262 (arn:aws:iam::211125780262:user/Swapnil) Report date: 2026-09-24 Regions scanned: All 17 enabled regions Status: Post-cleanup — 8 instances terminated, 2 EIPs released, 1 ECS cluster deleted, 2 RDS databases deleted


Currently Running Infrastructure

1. zynd-deployer — Main Platform Orchestrator

Attribute Value
Region us-east-1
Instance r7g.4xlarge (ARM64) — 16 vCPU / 128 GB RAM
Public IP 13.219.55.137
CPU Cores 16
RAM 123 GB total — 18 GB used (15%) — 96 GB available
Disk 97 GB total — 46 GB used (48%) — 51 GB free
Reverse Proxy Caddy (terminates HTTPS for api.zynd.ai)
Local Database PostgreSQL 14 (DB: zynd_deployer)
Est. Monthly Cost ~$463

Containers Running (154 total)

Container(s) Image Count Source Repo Purpose
zynd-* (agent UUIDs) zynd-deployer/agent-base:latest 7 zyndai/deployer Deployed AI agent instances
zynd-* (service UUIDs) zynd-deployer/service-base:latest 144 zyndai/deployer Deployed service instances
memory-layer-postgres-1 pgvector/pgvector:pg16 1 zyndai/memory-layer Vector-enabled PostgreSQL (port 5433)
memory-layer-redis-1 redis:7-alpine 1 zyndai/memory-layer Cache/queue for memory layer (port 6380)
docs-rag-pipeline-qdrant-1 qdrant/qdrant:latest 1 zyndai/docs-rag-pipeline Vector DB for RAG pipeline (ports 6333-6334) ⚠️ unhealthy

Host Processes (non-Docker)

Process Source Repo Details
node worker/main.ts zyndai/deployer Deployer worker — manages container lifecycle, running since Aug 07
caddy system HTTPS reverse proxy for api.zynd.ai
postgresql@14 system Local DB for deployer state (zynd_deployer)

GitHub Repos Cloned

Repo Path Branch Role
zyndai/deployer /home/ubuntu/deployer main Core deployer app — spawns agent/service containers
zyndai/memory-layer /home/ubuntu/memory-layer twitter-source-tags Memory/embedding layer — runs Redis + pgvector via docker-compose
zyndai/docs-rag-pipeline /home/ubuntu/docs-rag-pipeline main RAG pipeline — runs Qdrant via docker-compose
zyndai/zyndai-ts-sdk /home/ubuntu/zyndai-ts-sdk main TypeScript SDK (dev/build reference)
zyndai/zyndai-python-sdk /home/ubuntu/zyndai-python-sdk main Python SDK (dev/build reference)
zyndai/agent-persona /home/ubuntu/agent-persona dev Agent persona service
zyndai/agent-persona /home/ubuntu/agent-persona-dev dev Agent persona (duplicate clone)

2. zynd-api — Public API Server

Attribute Value
Region us-east-1
Instance t3.medium (x86_64) — 2 vCPU / 4 GB RAM
Public IP 54.147.91.20
CPU Cores 2
RAM 3.7 GB total — 1.2 GB used (32%) — 2.5 GB available
Disk 19 GB total — 15 GB used (79%) ⚠️ — 4.1 GB free
Reverse Proxy Docker proxy (ports 80/443)
Est. Monthly Cost ~$30

Running Processes

Process Port Source Repo Purpose
uvicorn main:app 8000 zyndai/zynd-cards Zynd Cards API (Python 3.12)
uvicorn app.mcp_http:app 8090 zyndai/memory-layer MCP HTTP server
arq app.worker.WorkerSettings — zyndai/memory-layer Background task worker (ARQ)
uvicorn app.main:app 8000 zyndai/memory-layer Memory layer API

GitHub Repos Cloned

Repo Path Branch Role
zyndai/zynd-cards /home/ubuntu/zynd-cards main Cards API — serves on port 8000
zyndai/zynd-cards /home/ubuntu/zynd-cards.old main Old copy (unused)
zyndai/memory-layer /home/ubuntu/memory-layer main MCP HTTP + worker + API
zyndai/memory-layer /home/ubuntu/zynd-src main Duplicate clone (unused)

3. zns01 — Agent DNS Node 1

Attribute Value
Region us-east-1
Instance t3.large (x86_64) — 2 vCPU / 8 GB RAM
Public IP 100.25.142.124
CPU Cores 2
RAM 7.6 GB total — 508 MB used (7%) — 6.8 GB available
Disk 29 GB total — 9.6 GB used (33%) — 20 GB free
Est. Monthly Cost ~$60

Running Services

Service Source Repo Details
agentdns.service zyndai/AgentDNS Agent DNS Registry Node — binary at /home/ubuntu/AgentDNS/agentdns, data at /home/ubuntu/.zynd/data
redis-server system Local Redis for AgentDNS
nginx system Reverse proxy

GitHub Repos Cloned

Repo Path Branch
zyndai/AgentDNS /home/ubuntu/AgentDNS main

4. zns-boot — Agent DNS Bootstrap Node

Attribute Value
Region us-east-1
Instance t3.large (x86_64) — 2 vCPU / 8 GB RAM
Public IP 35.174.141.188
CPU Cores 2
RAM 7.6 GB total — 483 MB used (6%) — 6.8 GB available
Disk 29 GB total — 8.5 GB used (30%) — 21 GB free
Est. Monthly Cost ~$60

Running Services

Service Source Repo Details
agentdns.service zyndai/AgentDNS Bootstrap/seed node for the Agent DNS network
redis-server system Local Redis for AgentDNS
nginx system Reverse proxy

GitHub Repos Cloned

Repo Path Branch
zyndai/AgentDNS /home/ubuntu/AgentDNS main

5. mattermost — Team Chat Server

Attribute Value
Region us-east-1
Instance t4g.medium (ARM64) — 2 vCPU / 4 GB RAM
Public IP 23.22.40.233
CPU Cores 2
RAM 3.7 GB total — 965 MB used (26%) — 2.8 GB available
Disk 30 GB total — 15 GB used (49%) — 16 GB free
Est. Monthly Cost ~$24

Running Services

Service Details
mattermost.service Self-hosted Mattermost team chat (/opt/mattermost/bin/mattermost) with AI plugin + Calls plugin
skate-mcp.service Skate MCP via Supergateway — exposes MCP endpoint on port 8001 for Mattermost AI agents
nginx Reverse proxy
postgresql@18 Local PostgreSQL 18 (DB: mattermost)

No zyndai GitHub repos on this server — runs only Mattermost + plugins.


Other Billable Resources (Still Active)

RDS Databases

Name Region Type Engine Est. Monthly Cost
zns01 us-east-1 db.t4g.small PostgreSQL ~$25
zns-boot us-east-1 db.t4g.small PostgreSQL ~$25
zynd-registry-db ap-south-1 db.t4g.micro PostgreSQL ~$12

Other

Resource Region Est. Monthly Cost
AWS WAF us-east-1 ~$7
AWS Secrets Manager us-east-1 ~$1.50
Route 53 (hosted zones) global ~$2.70
S3 (multiple buckets) us-east-1/ap-south-1 ~$0.40
EBS volumes (attached to running instances) us-east-1 ~$15
3 Lambda functions (ap-south-1) ap-south-1 ~$0 (pay per invoke)
apis.upandup.life (stopped, termination-protected) ap-south-1 ~$0.64 (EBS only)

Repo → Server Map (github.com/zyndai)

Repo Server(s) What It Runs
zyndai/deployer zynd-deployer Deployer worker + spawns 151 containers (7 agents + 144 services)
zyndai/memory-layer zynd-deployer, zynd-api Redis + pgvector (deployer); MCP HTTP API + worker + API (zynd-api)
zyndai/docs-rag-pipeline zynd-deployer Qdrant vector DB for RAG
zyndai/agent-persona zynd-deployer Agent persona service (on dev branch)
zyndai/zynd-cards zynd-api Cards API (uvicorn on port 8000)
zyndai/AgentDNS zns01, zns-boot Agent DNS registry nodes (systemd service + Redis)
zyndai/zyndai-ts-sdk zynd-deployer TypeScript SDK (cloned, not running as a service)
zyndai/zyndai-python-sdk zynd-deployer Python SDK (cloned, not running as a service)

Resource Utilization Summary

Server CPU RAM Total RAM Used RAM % Disk Total Disk Used Disk % Health
zynd-deployer 16 cores 123 GB 18 GB 15% 97 GB 46 GB 48% OK — heavily over-provisioned
zynd-api 2 cores 3.7 GB 1.2 GB 32% 19 GB 15 GB 79% ⚠️ Disk filling up
zns01 2 cores 7.6 GB 508 MB 7% 29 GB 9.6 GB 33% OK — over-provisioned
zns-boot 2 cores 7.6 GB 483 MB 6% 29 GB 8.5 GB 30% OK — over-provisioned
mattermost 2 cores 3.7 GB 965 MB 26% 30 GB 15 GB 49% OK

What Was Deleted (2026-09-24)

Terminated EC2 Instances

Name Type Region Was Monthly Savings
hermes-deployer-worker t3a.xlarge us-east-1 Running ~$122/mo
Unnamed (i-0db2267e0b35fc832) t2.xlarge us-east-1 Running — personal dev box, all ports open to internet ~$135/mo
swiggy t3.micro us-east-1 Running — practice/demo project ~$8/mo
prod-n8n t4g.medium ap-south-1 Running — n8n workflow server (disk was 100% full) ~$24/mo
zynd-n8n t4g.xlarge ap-south-1 Stopped ~$2.40/mo (EBS)
zynd-agent-registry t4g.large ap-south-1 Stopped ~$0.64/mo (EBS)
zynd-issuer t2.large ap-south-1 Stopped ~$0.64/mo (EBS)

Released Elastic IPs

IP Region Monthly Savings
34.237.88.126 us-east-1 ~$3.65/mo
3.111.241.24 ap-south-1 ~$3.65/mo

Deleted ECS

Resource Region Monthly Savings
hermes-cluster (+ hermes-gateway Fargate service) us-east-1 ~$5/mo

Deleted RDS Databases

Name Type Region Monthly Savings
hermes-deployer db.t4g.micro us-east-1 ~$12/mo
hermes-deployer-rishit-restore db.t4g.micro us-east-1 ~$12/mo

Cost Impact Summary

Before Cleanup After Cleanup Savings
EC2 Compute ~$866/mo ~$637/mo ~$229/mo
RDS ~$109/mo ~$62/mo ~$47/mo
ECS ~$5/mo $0 ~$5/mo
Elastic IPs (unattached) ~$14.60/mo ~$3.65/mo ~$11/mo
EBS (stopped instances) ~$4.32/mo ~$0.64/mo ~$3.68/mo
Other (VPC, WAF, S3, Route53, Secrets) ~$47/mo ~$27/mo ~$20/mo
Total ~$1,200/mo ~$730/mo ~$329/mo saved

Remaining Monthly Cost Breakdown

Resource Est. Cost/mo
zynd-deployer (r7g.4xlarge) $463
zns01 (t3.large) $60
zns-boot (t3.large) $60
zynd-api (t3.medium) $30
mattermost (t4g.medium) $24
RDS: zns01 (db.t4g.small) $25
RDS: zns-boot (db.t4g.small) $25
RDS: zynd-registry-db (db.t4g.micro) $12
EBS volumes (attached) $15
AWS WAF $7
Route 53 $2.70
Secrets Manager $1.50
Remaining EIPs (attached) $3.65
S3 $0.40
Lambdas (ap-south-1) $0
apis.upandup.life stopped EBS $0.64
Total current monthly cost ~$730/mo

Still Recommended

  1. Right-size zynd-deployer — using 15% of RAM. Dropping to r7g.xlarge (4 vCPU / 32 GB) would save ~$350/mo and still have 14 GB headroom.
  2. Right-size zns01 + zns-boot — both using 6-7% RAM. t3.small (2 GB) would suffice, saving ~$80/mo combined.
  3. Expand zynd-api disk — 79% full with only 4.1 GB free. Increase EBS to 30 GB before it runs out.
  4. Fix Qdrant health on zynd-deployer — marked unhealthy for 3+ months.
  5. Delete zynd-registry-db RDS in ap-south-1 — its EC2 instance (zynd-agent-registry) was just terminated, so this DB is orphaned (~$12/mo).
  6. Terminate apis.upandup.life — has termination protection; disable in EC2 Console → Actions → Instance Settings → Change Termination Protection.
  7. Clean up duplicate repo clones on zynd-api (zynd-cards.old, zynd-src) and zynd-deployer (agent-persona-dev).
  8. Check memory-layer branch on zynd-deployer — running twitter-source-tags instead of main.

If all recommendations are applied, monthly cost could drop to ~$300/mo (from the original ~$1,200/mo — a 75% reduction).


Generated 2026-09-24 via AWS API + SSH into all 5 running production servers. All 15 other AWS regions scanned — no billable resources found outside us-east-1 and ap-south-1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment