Deployment Architecture
AWS Infrastructure
Environments
| Environment | Purpose | URL |
|---|---|---|
| Production | Live customer traffic | api.surestage.com |
| Staging | Pre-release validation | api.staging.surestage.com |
| Development | Active development | localhost:300x |
Deployment Process
Services are deployed independently via CI/CD:
- Push to
mainbranch triggers build - Docker image built and pushed to ECR
- ECS service updated with new task definition
- Rolling deployment with health checks
- Automatic rollback on failure