Service Coverage Analysis: Minimum AWS Deployment
This document analyzes the service coverage of the Minimum AWS Deployment (aws-minimum) for the AlphaSwarm hosted platform. This deployment is optimized for a single-account, lowest-cost footprint (~$140/mo fixed) and serves as the baseline for individual operators and early-stage deployments.
1. Executive Summary
The Minimum AWS Deployment provides the essential compute, data, and identity services required to run the AlphaSwarm Admin dashboard, Core API, and Platform UI. It trades off high-availability, advanced streaming, and managed Kubernetes for a lean, ECS Fargate-based architecture using Amazon Bedrock as the primary LLM provider.
2. Service Coverage Matrix
| Category | Service | Minimum AWS | Full AWS (Live) | Role in Platform |
|---|---|---|---|---|
| Compute | ECS Fargate | ✅ | ✅ | Runs Admin BFF, Frontends, and Core API. |
| EKS (Kubernetes) | ❌ | ✅ | High-performance quant runtime and Celery workers. | |
| Ingress | ALB | ✅ | ✅ | Public HTTPS entry point and Cognito-gated routing. |
| CloudFront | ❌ | ✅ | Global edge delivery and Admin/AgentCore fronting. | |
| Identity | AWS Cognito | ✅ | ✅ | End-user authentication and identity brokerage. |
| Database | RDS PostgreSQL | ✅ | ✅ | Canonical ledger, state, and vector storage. |
| Cache | ElastiCache Redis | ✅ | ✅ | Task brokerage (Celery) and WebSocket pub/sub. |
| Streaming | MSK Kafka | ❌ | ✅ | High-throughput real-time market data streaming. |
| AI/LLM | Bedrock (Direct) | ✅ | ✅ | LLM provider (Claude Haiku 4.5 baseline). |
| Bedrock AgentCore | ❌ | ✅ | Managed 8-hour sessions and agentic memory. | |
| Bedrock KB | ❌ | ✅ | Managed RAG and knowledge base indexing. | |
| Vector | OpenSearch Sls | ❌ | ✅ | Production-grade managed vector database. |
| Storage | ECR | ✅ | ✅ | Container image registry. |
| S3 | ✅ | ✅ | Terraform state, artifacts, and lakehouse storage. | |
| Obs | CloudWatch | ✅ | ✅ | Logging, metrics, and basic infrastructure alarms. |
| Prom/Grafana | ❌ | ✅ | Advanced metrics visualization and tracing. |
3. Detailed Component Analysis
3.1 Compute & Orchestration
- Minimum Architecture: Relies exclusively on ECS Fargate. All core services (Admin, Core API, UI, IDE) run as Fargate tasks.
- Coverage Gap: Skips EKS and Karpenter. This means the environment lacks the auto-scaling worker tier used for heavy backtests, RL training, or high-frequency strategy execution.
- Rationale: Simplifies the stack and eliminates the ~$72/mo base cost of an EKS cluster.
3.2 Data & Streaming
- Minimum Architecture: Uses a single-AZ RDS PostgreSQL (
db.t4g.medium) and a single-node ElastiCache Redis (cache.t4g.small). - Coverage Gap: Skips MSK Kafka. Real-time streaming is handled via Redis pub/sub or ignored for the minimum tier.
- Rationale: MSK Kafka is a high-cost component (starts at ~$150-200/mo). Redis provides sufficient performance for single-operator workloads.
3.3 AI & Knowledge Management
- Minimum Architecture: Direct integration with Amazon Bedrock (specifically Anthropic Claude Haiku 4.5).
- Coverage Gap: Deliberately excludes Bedrock AgentCore, Knowledge Bases (RAG), and OpenSearch Serverless.
- Rationale: These services add significant monthly overhead. The minimum tier assumes agents operate with short-term context or local vector storage (pgvector).
3.4 Networking & Security
- Minimum Architecture: Standard VPC with interface endpoints for AWS services to reduce NAT Gateway bandwidth costs. Public entry via ALB with Cognito authentication.
- Coverage Gap: No CloudFront distribution. The ALB DNS is used directly.
- Rationale: Reduces DNS/CDN management overhead and eliminates CloudFront's base costs and WAF requirements for the initial launch.
4. Operational Readiness
The Minimum AWS Deployment is considered Ready for Deployment as of June 2026. It includes the necessary terraform modules in alphaswarm_platform and is recognized as a valid aws-minimum target in the platform topology.yaml.
5. Promotion Path
The architecture is designed to be additive. An operator can promote from the Minimum to the Full deployment by:
- Enabling CloudFront for the Admin and AgentCore edge.
- Adding the Bedrock Knowledge Base and OpenSearch Serverless modules.
- Provisioning the EKS cluster for the quant runtime tier.
- Retargeting the environment in
topology.yamlfromaws-minimumtoaws.