Deployment
Current Architecture
EC2 + PM2 + Nginx deployment architecture.
Current Architecture
Steadybase currently runs on a single AWS EC2 instance with PM2 process management and Nginx reverse proxy.
Infrastructure
Domain & DNS
| Record | Value |
|---|---|
| Domain | durableminds.steadybase.io |
| Type | A Record |
| Target | 34.210.217.25 (Elastic IP) |
| TLS | Let's Encrypt (auto-renewal via certbot) |
PM2 Configuration
PM2 manages the application process:
Common PM2 Commands
Nginx Configuration
Key nginx settings:
Deployment Process
Currently manual:
:::warning Manual deployment is a known limitation. A CI/CD pipeline (GitHub Actions) is planned for Phase 2. :::
Limitations
| Limitation | Impact | Resolution |
|---|---|---|
| Single instance | No redundancy | ECS with multi-AZ (Phase 2) |
| Manual deployment | Error-prone, slow | CI/CD pipeline (Phase 2) |
| No health checks | Silent failures | Health monitoring (Phase 1) |
| No auto-scaling | Can't handle spikes | ECS Fargate auto-scaling (Phase 2) |
| Secrets in .env | Not enterprise-grade | AWS Secrets Manager (Phase 2) |