Best for: Production applications with high availability
- ✅ Application Load Balancer (high availability)
- ✅ ECS Fargate (always-on, no cold starts)
- ✅ RDS PostgreSQL (db.t3.micro)
- ✅ S3 + CloudFront (global CDN)
- ✅ Auto-scaling and health checks
- RDS PostgreSQL: ~$13-15/month
- ECS Fargate: ~$7-10/month
- Application Load Balancer: ~$16/month
- S3 + CloudFront: ~$1-3/month
- Total: $37-44/month
./deploy-complete.shBest for: Small applications, personal projects
- ✅ Direct Fargate access (no ALB)
- ✅ RDS PostgreSQL (db.t3.micro)
- ✅ S3 + CloudFront
- ❌ No load balancer (single point of failure)
- RDS PostgreSQL: ~$13-15/month
- ECS Fargate: ~$7-10/month
- S3 + CloudFront: ~$1-3/month
- Total: $21-28/month
# Remove ALB from aws-infrastructure.yml
# Deploy without load balancer
aws cloudformation deploy --template-file aws-infrastructure-budget.ymlBest for: Development, low-traffic applications
- ✅ AWS Lambda (serverless backend)
- ✅ API Gateway
- ✅ RDS PostgreSQL (db.t3.micro)
- ✅ S3 + CloudFront
- ❌ Cold starts (1-2 second delays)
- RDS PostgreSQL: ~$13-15/month
- Lambda + API Gateway: ~$1-3/month (1M requests)
- S3 + CloudFront: ~$1-3/month
- Total: $15-21/month
# Install serverless framework
npm install -g serverless
# Deploy serverless backend
serverless deploy
# Deploy frontend normally
cd frontend && npm run build
aws s3 sync build/ s3://your-bucketBest for: Testing, development environments
- ✅ RDS PostgreSQL (db.t3.micro)
- ✅ S3 static hosting (no CloudFront)
- ✅ Lambda or single Fargate task
- ❌ No high availability
- ❌ No CDN
- RDS PostgreSQL: ~$13-15/month (can stop/start)
- Lambda: ~$0-1/month
- S3: ~$1-2/month
- Total: $14-18/month (or $1-3/month if you stop RDS when not using)
- High availability with load balancer
- No cold starts
- Auto-scaling capabilities
- Production-ready monitoring
- Serverless architecture
- Pay only for what you use
- Easy to scale automatically
- Cold starts are acceptable for most use cases
- Stop database when not using
- Simple architecture
- Easy to tear down and rebuild
# Option 1: Full production
./deploy-complete.sh
# Option 3: Serverless ultra-budget
serverless deploy
./deploy-frontend.sh
# Any option: Frontend only
cd frontend && npm run build
aws s3 sync build/ s3://your-bucket-name- Use Spot Instances for development (50-90% savings)
- Stop RDS overnight for development ($5-10 savings/month)
- Use Reserved Instances for production (30-50% savings)
- Set up billing alerts to avoid surprises
- Use CloudWatch to monitor and optimize resource usage
Based on your Yelp dataset:
- 150K+ businesses → ~500MB database
- 6.9M+ reviews → ~2-3GB database
- API response times: 100-500ms average
- Frontend load time: 1-3 seconds (with CloudFront)
Your application will handle 1000+ concurrent users easily with the standard setup!